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'
$_controllerKey = 'controller'
array $_defaults = ''
Default values for the route (ie. module, controller, action, params)
Zend_Controller_Dispatcher_Interface $_dispatcher = ''
$_keysSet = 'false'
$_moduleKey = 'module'
$_moduleValid = 'false'
Zend_Controller_Request_Abstract $_request = ''
$_values = 'array'
__construct(
array $defaults
=
array, Zend_Controller_Dispatcher_Interface $dispatcher
=
null, Zend_Controller_Request_Abstract $request
=
null
)
:
Constructor
_setRequestKeys(
)
:
void
Set request keys based on values in request object
assemble(
array $data
=
array, bool $reset
=
false, $encode
=
true, $partial
=
false
)
:
string
Assembles user submitted parameters forming a URL path defined by this route
getDefault(
string $name
)
:
string
Return a single parameter of route's defaults
getDefaults(
)
:
array
Return an array of defaults
getInstance(
$config
)
:
Instantiates route based on passed Zend_Config structure
getVersion(
)
:
match(
string $path, $partial
=
false
)
:
array
Matches 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.