Abstract Class Zend_Controller_Router_Abstract

Description

Implements interfaces:

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

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

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


	
			
Direct descendents
Class Description
 class Zend_Controller_Router_Rewrite Ruby routing based Router.
Variable Summary
Method Summary
 void __construct ([ $params = array()])
 Zend_Controller_Router clearParams ([null|string|array $name = null])
 mixed getParam (string $name)
 array getParams ()
 Zend_Controller_Router setParam (string $name, mixed $value)
 Zend_Controller_Router setParams ( $params)
Variables
Zend_Controller_Front $_frontController (line 52)

Front controller instance

  • access: protected
array $_invokeParams = array() (line 59)

Array of invocation parameters to use when instantiating action

controllers

  • access: protected
Methods
Constructor __construct (line 67)

Constructor

  • access: public
void __construct ([ $params = array()])
  • array $params
clearParams (line 133)

Clear 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.

  • access: public
Zend_Controller_Router clearParams ([null|string|array $name = null])
  • null|string|array $name: single key or array of keys for params to clear

Implementation of:
Zend_Controller_Router_Interface::clearParams()
Clear the controller parameter stack
getFrontController (line 155)

Retrieve Front Controller

  • access: public
Zend_Controller_Front getFrontController ()
getParam (line 104)

Retrieve a single parameter from the controller parameter stack

  • access: public
mixed getParam (string $name)
  • string $name

Implementation of:
Zend_Controller_Router_Interface::getParam()
Retrieve a single parameter from the controller parameter stack
getParams (line 118)

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
setFrontController (line 179)

Set Front Controller

  • access: public
Zend_Controller_Router_Abstract setFrontController (Zend_Controller_Front $controller)
setParam (line 79)

Add or modify a parameter to use when instantiating an action controller

  • access: public
Zend_Controller_Router setParam (string $name, mixed $value)
  • string $name
  • mixed $value

Implementation of:
Zend_Controller_Router_Interface::setParam()
Add or modify a parameter with which to instantiate any helper objects
setParams (line 92)

Set parameters to pass to action controller constructors

  • access: public
Zend_Controller_Router 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 Wed, 21 Feb 2007 11:45:15 -0800 by phpDocumentor 1.3.1