/** * @param string $actionName * @param string $controllerName * @param string $extensionName * @param array $arguments * @param int $pageUid * @param int $delay * @param int $statusCode */ protected function redirect($actionName, $controllerName = NULL, $extensionName = NULL, array $arguments = NULL, $pageUid = NULL, $delay = 0, $statusCode = 303) { if ($this->context === self::CONTEXT_WEB && $this->request->getFormat() === 'html') { parent::redirect($actionName, $controllerName, $extensionName, $arguments, $pageUid, $delay, $statusCode); } }