Class Zend_Controller_Router

Description

Implements interfaces:

Simple first implementation of a router, to be replaced with rules-based URI processor.

  • license: New BSD License
  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Controller/Router.php (line 46)


	
			
Variable Summary
Method Summary
void __construct ()
void addParam (mixed $param)
array getParams ()
void setParams ( $params)
Variables
array $_invokeParams = array() (line 53)

Array of invocation parameters to use when instantiating action

controllers

  • access: protected
Methods
Constructor __construct (line 60)

Constructor

  • access: public
void __construct ()
addParam (line 74)

Add a parameter to use when instantiating an action controller

  • access: public
void addParam (mixed $param)
  • mixed $param

Implementation of:
Zend_Controller_Router_Interface::addParam()
Add a parameter with which to instantiate any helper objects
getParams (line 95)

Retrieve action controller instantiation parameters

  • access: public
array getParams ()

Implementation of:
Zend_Controller_Router_Interface::getParams()
Retrieve the parameters to pass to helper object constructors
route (line 106)

Route a request

  • access: public
void route (Zend_Controller_Request_Abstract $request)

Implementation of:
Zend_Controller_Router_Interface::route()
Processes a request and sets its controller and action. If no route was possible, an exception is thrown.
setParams (line 85)

Set parameters to pass to action controller constructors

  • access: public
void setParams ( $params)
  • array $params

Implementation of:
Zend_Controller_Router_Interface::setParams()
Set an array of a parameters to pass to helper object constructors

Documentation generated on Sun, 29 Oct 2006 21:28:02 -0600 by phpDocumentor 1.3.0RC6