/** * Autogenerated Proxy Method * @param mixed $uri Either a string representation of a URI or a \TYPO3\Flow\Http\Uri object * @param integer $delay (optional) The delay in seconds. Default is no delay. * @param integer $statusCode (optional) The HTTP status code for the redirect. Default is "303 See Other * @throws \TYPO3\Flow\Mvc\Exception\UnsupportedRequestTypeException If the request is not a web request * @throws \TYPO3\Flow\Mvc\Exception\StopActionException */ protected function redirectToUri($uri, $delay = 0, $statusCode = 303) { // FIXME this can be removed again once Doctrine is fixed (see fixMethodsAndAdvicesArrayForDoctrineProxiesCode()) $this->Flow_Aop_Proxy_fixMethodsAndAdvicesArrayForDoctrineProxies(); if (isset($this->Flow_Aop_Proxy_methodIsInAdviceMode['redirectToUri'])) { $result = parent::redirectToUri($uri, $delay, $statusCode); } else { $this->Flow_Aop_Proxy_methodIsInAdviceMode['redirectToUri'] = TRUE; try { $methodArguments = array(); $methodArguments['uri'] = $uri; $methodArguments['delay'] = $delay; $methodArguments['statusCode'] = $statusCode; $adviceChains = $this->Flow_Aop_Proxy_getAdviceChains('redirectToUri'); $adviceChain = $adviceChains['TYPO3\\Flow\\Aop\\Advice\\AroundAdvice']; $adviceChain->rewind(); $joinPoint = new \TYPO3\Flow\Aop\JoinPoint($this, 'SKL\\Post\\Controller\\CategoryController', 'redirectToUri', $methodArguments, $adviceChain); $result = $adviceChain->proceed($joinPoint); $methodArguments = $joinPoint->getMethodArguments(); } catch (\Exception $e) { unset($this->Flow_Aop_Proxy_methodIsInAdviceMode['redirectToUri']); throw $e; } unset($this->Flow_Aop_Proxy_methodIsInAdviceMode['redirectToUri']); } return $result; }