Zend Framework
1.12
|
Public Member Functions | |
__construct (array $params=array()) | |
Constructor. | |
setParam ($name, $value) | |
Add or modify a parameter to use when instantiating an action controller. | |
setParams (array $params) | |
Set parameters to pass to action controller constructors. | |
getParam ($name) | |
Retrieve a single parameter from the controller parameter stack. | |
getParams () | |
Retrieve action controller instantiation parameters. | |
clearParams ($name=null) | |
Clear the controller parameter stack. | |
getFrontController () | |
Retrieve Front Controller. | |
setFrontController (Zend_Controller_Front $controller) | |
Set Front Controller. | |
![]() | |
route (Zend_Controller_Request_Abstract $dispatcher) | |
Processes a request and sets its controller and action. | |
assemble ($userParams, $name=null, $reset=false, $encode=true) | |
Generates a URL path that can be used in URL creation, redirection, etc. | |
Public Attributes | |
const | URI_DELIMITER = '/' |
URI delimiter. | |
Protected Attributes | |
$_frontController | |
$_invokeParams = array() | |
__construct | ( | array | $params = array() | ) |
Constructor.
array | $params |
clearParams | ( | $name = null | ) |
Clear the controller parameter stack.
By default, clears all parameters. If a parameter name is given, clears only that parameter; if an array of parameter names is provided, clears each.
null|string|array | single key or array of keys for params to clear |
Implements Zend_Controller_Router_Interface.
getFrontController | ( | ) |
Retrieve Front Controller.
Implements Zend_Controller_Router_Interface.
getParam | ( | $name | ) |
Retrieve a single parameter from the controller parameter stack.
string | $name |
Implements Zend_Controller_Router_Interface.
getParams | ( | ) |
Retrieve action controller instantiation parameters.
Implements Zend_Controller_Router_Interface.
setFrontController | ( | Zend_Controller_Front | $controller | ) |
Set Front Controller.
Zend_Controller_Front | $controller |
Implements Zend_Controller_Router_Interface.
setParam | ( | $name, | |
$value | |||
) |
Add or modify a parameter to use when instantiating an action controller.
string | $name | |
mixed | $value |
Implements Zend_Controller_Router_Interface.
setParams | ( | array | $params | ) |
Set parameters to pass to action controller constructors.
array | $params |
Implements Zend_Controller_Router_Interface.
|
protected |
|
protected |
const URI_DELIMITER = '/' |
URI delimiter.