Zend Framework
1.12
|
Public Member Functions | |
getModuleName () | |
Retrieve the module name. | |
setModuleName ($value) | |
Set the module name to use. | |
getControllerName () | |
Retrieve the controller name. | |
setControllerName ($value) | |
Set the controller name to use. | |
getActionName () | |
Retrieve the action name. | |
setActionName ($value) | |
Set the action name. | |
getModuleKey () | |
Retrieve the module key. | |
setModuleKey ($key) | |
Set the module key. | |
getControllerKey () | |
Retrieve the controller key. | |
setControllerKey ($key) | |
Set the controller key. | |
getActionKey () | |
Retrieve the action key. | |
setActionKey ($key) | |
Set the action key. | |
getParam ($key, $default=null) | |
Get an action parameter. | |
getUserParams () | |
Retrieve only user params (i.e, any param specific to the object and not the environment) | |
getUserParam ($key, $default=null) | |
Retrieve a single user param (i.e, a param specific to the object and not the environment) | |
setParam ($key, $value) | |
Set an action parameter. | |
getParams () | |
Get all action parameters. | |
setParams (array $array) | |
Set action parameters en masse; does not overwrite. | |
clearParams () | |
Unset all user parameters. | |
setDispatched ($flag=true) | |
Set flag indicating whether or not request has been dispatched. | |
isDispatched () | |
Determine if the request has been dispatched. | |
Protected Attributes | |
$_dispatched = false | |
$_module | |
$_moduleKey = 'module' | |
$_controller | |
$_controllerKey = 'controller' | |
$_action | |
$_actionKey = 'action' | |
$_params = array() | |
clearParams | ( | ) |
Unset all user parameters.
getActionKey | ( | ) |
Retrieve the action key.
getActionName | ( | ) |
Retrieve the action name.
getControllerKey | ( | ) |
Retrieve the controller key.
getControllerName | ( | ) |
Retrieve the controller name.
getModuleKey | ( | ) |
Retrieve the module key.
getModuleName | ( | ) |
Retrieve the module name.
getParam | ( | $key, | |
$default = null |
|||
) |
Get an action parameter.
string | $key | |
mixed | $default | Default value to use if key not found |
getParams | ( | ) |
Get all action parameters.
getUserParam | ( | $key, | |
$default = null |
|||
) |
Retrieve a single user param (i.e, a param specific to the object and not the environment)
string | $key | |
string | $default | Default value to use if key not found |
getUserParams | ( | ) |
Retrieve only user params (i.e, any param specific to the object and not the environment)
isDispatched | ( | ) |
Determine if the request has been dispatched.
setActionKey | ( | $key | ) |
setActionName | ( | $value | ) |
Set the action name.
string | $value |
setControllerKey | ( | $key | ) |
setControllerName | ( | $value | ) |
setDispatched | ( | $flag = true | ) |
Set flag indicating whether or not request has been dispatched.
boolean | $flag |
setModuleKey | ( | $key | ) |
setModuleName | ( | $value | ) |
setParam | ( | $key, | |
$value | |||
) |
Set an action parameter.
A $value of null will unset the $key if it exists
string | $key | |
mixed | $value |
setParams | ( | array | $array | ) |
Set action parameters en masse; does not overwrite.
Null values will unset the associated key.
array | $array |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |