Solar_App_Hello::_forward()
protected
void
Solar_App_Hello::_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.
Inherited from Solar_Controller_Page.
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.