Zend Framework
1.12
|
Public Member Functions | |
simple ($action, $controller=null, $module=null, array $params=null) | |
Create URL based on default route. | |
url ($urlOptions=array(), $name=null, $reset=false, $encode=true) | |
Assembles a URL based on a given route. | |
direct ($action, $controller=null, $module=null, array $params=null) | |
Perform helper when called as $this->_helper->url() from an action controller. | |
![]() | |
setActionController (Zend_Controller_Action $actionController=null) | |
setActionController() | |
getActionController () | |
Retrieve current action controller. | |
getFrontController () | |
Retrieve front controller instance. | |
init () | |
Hook into action controller initialization. | |
preDispatch () | |
Hook into action controller preDispatch() workflow. | |
postDispatch () | |
Hook into action controller postDispatch() workflow. | |
getRequest () | |
getRequest() - | |
getResponse () | |
getResponse() - | |
getName () | |
getName() | |
Additional Inherited Members | |
![]() | |
$_actionController = null | |
$_actionController | |
$_frontController = null | |
direct | ( | $action, | |
$controller = null , |
|||
$module = null , |
|||
array | $params = null |
||
) |
simple | ( | $action, | |
$controller = null , |
|||
$module = null , |
|||
array | $params = null |
||
) |
Create URL based on default route.
string | $action | |
string | $controller | |
string | $module | |
array | $params |
url | ( | $urlOptions = array() , |
|
$name = null , |
|||
$reset = false , |
|||
$encode = true |
|||
) |
Assembles a URL based on a given route.
This method will typically be used for more complex operations, as it ties into the route objects registered with the router.
array | $urlOptions | Options passed to the assemble method of the Route object. |
mixed | $name | The name of a Route to use. If null it will use the current Route |
boolean | $reset | |
boolean | $encode |