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.
Module Route
Default route for module functionality
$_actionKey = 'action'
Details $_controllerKey = 'controller'
Detailsarray $_defaults = ''Default values for the route (ie. module, controller, action, params)
DetailsZend_Controller_Dispatcher_Interface $_dispatcher = ''
Details $_keysSet = 'false'
Details $_moduleKey = 'module'
Details $_moduleValid = 'false'
DetailsZend_Controller_Request_Abstract $_request = ''
Details $_values = 'array'
Details__construct(
array $defaults
=
array, Zend_Controller_Dispatcher_Interface $dispatcher
=
null, Zend_Controller_Request_Abstract $request
=
null
)
:
Constructor
Details_setRequestKeys(
)
:
voidSet request keys based on values in request object
Detailsassemble(
array $data
=
array, bool $reset
=
false, $encode
=
true, $partial
=
false
)
:
stringAssembles user submitted parameters forming a URL path defined by this route
DetailsgetDefault(
string $name
)
:
stringReturn a single parameter of route's defaults
DetailsgetDefaults(
)
:
arrayReturn an array of defaults
DetailsgetInstance(
$config
)
:
Instantiates route based on passed Zend_Config structure
DetailsgetVersion(
)
:
Detailsmatch(
string $path, $partial
=
false
)
:
arrayMatches a user submitted path. Assigns and returns an array of variables on a successful match.
If a request object is registered, it uses its setModuleName(), setControllerName(), and setActionName() accessors to set those values. Always returns the values as an array.
Details