protected unsetLastVisitedNodeAndRedirect ( string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = null, integer $delay, integer $statusCode = 303, string $format = null ) : void | ||
$actionName | string | Name of the action to forward to |
$controllerName | string | Unqualified object name of the controller to forward to. If not specified, the current controller is used. |
$packageKey | string | Key of the package containing the controller to forward to. If not specified, the current package is assumed. |
$arguments | array | Array of arguments for the target action |
$delay | integer | (optional) The delay in seconds. Default is no delay. |
$statusCode | integer | (optional) The HTTP status code for the redirect. Default is "303 See Other" |
$format | string | The format to use for the redirect URI |
리턴 | void |
protected function unsetLastVisitedNodeAndRedirect($actionName, $controllerName = null, $packageKey = null, array $arguments = null, $delay = 0, $statusCode = 303, $format = null)
{
$this->session->putData('lastVisitedNode', null);
parent::redirect($actionName, $controllerName, $packageKey, $arguments, $delay, $statusCode, $format);
}