Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
string $_defaultAction = 'index'Default action
Detailsstring $_defaultController = 'index'Default controller
Detailsstring $_defaultModule = 'default'Default module
DetailsZend_Controller_Front $_frontController = ''Front Controller instance
Detailsarray $_invokeParams = 'array'Array of invocation parameters to use when instantiating action controllers
Detailsstring $_pathDelimiter = '_'Path delimiter character
DetailsZend_Controller_Response_Abstract|null $_response = 'null'Response object to pass to action controllers, if any
Detailsarray $_wordDelimiter = 'array'Word delimiter characters
Details__construct(
$params
=
array
)
:
voidConstructor
Details_formatName(
string $unformatted, boolean $isAction
=
false
)
:
stringFormats a string from a URI into a PHP-friendly name.
By default, replaces words separated by the word separator character(s) with camelCaps. If $isAction is false, it also preserves replaces words separated by the path separation character with an underscore, making the following word Title cased. All non-alphanumeric characters are removed.
Details_verifyDelimiter(
string|array $spec
)
:
arrayVerify delimiter
Verify a delimiter to use in controllers or actions. May be a single string or an array of strings.
DetailsclearParams(
null|string|array $name
=
null
)
:
Zend_Controller_Dispatcher_AbstractClear 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.
DetailsformatActionName(
string $unformatted
)
:
stringFormats a string into an action name. This is used to take a raw action name, such as one that would be stored inside a Zend_Controller_Request_Abstract object, and reformat into a proper method name that would be found inside a class extending Zend_Controller_Action.
DetailsformatControllerName(
string $unformatted
)
:
stringFormats a string into a controller name. This is used to take a raw controller name, such as one stored inside a Zend_Controller_Request_Abstract object, and reformat it to a proper class name that a class extending Zend_Controller_Action would use.
DetailsgetDefaultAction(
)
:
stringRetrieve the default action name (minus formatting)
DetailsgetDefaultControllerName(
)
:
stringRetrieve the default controller name (minus formatting)
DetailsgetDefaultModule(
)
:
stringRetrieve the default module
DetailsgetFrontController(
)
:
Zend_Controller_FrontRetrieve front controller instance
DetailsgetParam(
string $name
)
:
mixedRetrieve a single parameter from the controller parameter stack
DetailsgetParams(
)
:
arrayRetrieve action controller instantiation parameters
DetailsgetPathDelimiter(
)
:
arrayRetrieve the path delimiter character(s) used in controller names
DetailsgetResponse(
)
:
Zend_Controller_Response_Abstract|nullReturn the registered response object
DetailsgetWordDelimiter(
)
:
arrayRetrieve the word delimiter character(s) used in controller or action names
DetailssetDefaultAction(
string $action
)
:
Zend_Controller_Dispatcher_AbstractSet the default action (minus any formatting)
DetailssetDefaultControllerName(
string $controller
)
:
Zend_Controller_Dispatcher_AbstractSet the default controller (minus any formatting)
DetailssetDefaultModule(
string $module
)
:
Zend_Controller_Dispatcher_AbstractSet the default module
DetailssetFrontController(
Zend_Controller_Front $controller
)
:
Zend_Controller_Dispatcher_AbstractSet front controller instance
DetailssetParam(
string $name, mixed $value
)
:
Zend_Controller_Dispatcher_AbstractAdd or modify a parameter to use when instantiating an action controller
DetailssetParams(
array $params
)
:
Zend_Controller_Dispatcher_AbstractSet parameters to pass to action controller constructors
DetailssetPathDelimiter(
string $spec
)
:
Zend_Controller_Dispatcher_AbstractSet path delimiter
Set the path delimiter to use in controllers. May be a single string or an array of strings.
DetailssetResponse(
Zend_Controller_Response_Abstract|null $response
=
null
)
:
Zend_Controller_Dispatcher_AbstractSet response object to pass to action controllers
DetailssetWordDelimiter(
string|array $spec
)
:
Zend_Controller_Dispatcher_AbstractSet word delimiter
Set the word delimiter to use in controllers and actions. May be a single string or an array of strings.
Details