Solar_Controller_Page::_forward()
protected
void
Solar_Controller_Page::_forward
( string $action
, array $params = NULL
)
Forwards internally to another action, using pre- and post- action hooks, and resets $this->_view to the requested action.
Parameters
(string)
$action
: The action name.(array)
$params
: Parameters to pass to the action method.
Returns
(void)
Description
Forwards internally to another action, using pre- and post- action hooks, and resets $this->_view to the requested action.
You should generally use "return $this->_forward(...)" instead of just $this->_forward; otherwise, script execution will come back to where you called the forwarding.