Class Zend_Controller_Front

Description

Located in /Zend/Controller/Front.php (line 36)


	
			
Variable Summary
 Zend_Controller_DispatcherInterface $_dispatcher
 Zend_Controller_RouterInterface $_router
Method Summary
 Zend_Controller_Front __construct ()
 void dispatch ()
 Zend_Controller_DispatcherInteface getDispatcher ()
 Zend_Controller_RouterInterface getRouter ()
 Zend_Controller_Front registerPlugin (Zend_Controller_Plugin_Interface $plugin)
 void run (string $controllerDirectory)
 void setControllerDirectory (string $directory)
 Zend_Controller_Front setDispatcher (Zend_Controller_Dispatcher_Interface $dispatcher)
 void setRouter (Zend_Controller_Router_Interface $router)
 Zend_Controller_Front unregisterPlugin (Zend_Controller_Plugin_Interface $plugin)
 void __clone ()
Variables
Zend_Controller_DispatcherInterface $_dispatcher = null (line 54)

Instance of Zend_Controller_DispatcherInterface

  • access: private
Zend_Controller_Front $_instance = null (line 42)

Instance of Zend_Controller_Front

  • access: private
  • static:
Zend_Controller_Plugin_Broker $_plugins = null (line 60)

Instance of Zend_Controller_Plugin_Broker

  • access: private
Zend_Controller_RouterInterface $_router = null (line 48)

Instance of Zend_Controller_RouterInterface

  • access: private
Methods
Constructor __construct (line 68)

Singleton pattern

Instantiate the plugin broker.

  • access: private
Zend_Controller_Front __construct ()
dispatch (line 215)

Dispatch an HTTP request to a controller/action.

  • access: public
void dispatch ()
getDispatcher (line 174)

Return the dispatcher object.

  • access: public
Zend_Controller_DispatcherInteface getDispatcher ()
getInstance (line 85)

Return one and only one instance of the Zend_Controller_Front object

  • access: public
  • static:
Zend_Controller_Front getInstance ()
getRouter (line 141)

Return the router object.

  • access: public
Zend_Controller_RouterInterface getRouter ()
registerPlugin (line 193)

Register a plugin.

  • access: public
Zend_Controller_Front registerPlugin (Zend_Controller_Plugin_Interface $plugin)
run (line 100)

Convenience feature, calls getInstance()->setControllerDirectory()->dispatch()

  • access: public
  • static:
void run (string $controllerDirectory)
  • string $controllerDirectory
setControllerDirectory (line 113)

Convenience method, passthru to Zend_Controller_Dispatcher::setControllerDirectory()

  • access: public
void setControllerDirectory (string $directory)
  • string $directory
setDispatcher (line 162)

Set the dispatcher object. The dispatcher is responsible for taking a Zend_Controller_Dispatcher_Token object, instantiating the controller, and call the action method of the controller.

  • access: public
Zend_Controller_Front setDispatcher (Zend_Controller_Dispatcher_Interface $dispatcher)
  • Zend_Controller_DispatcherInterface $dispatcher
setRouter (line 130)

Set the router object. The router is responsible for mapping the request to a Zend_Controller_Dispatcher_Token object for dispatch.

  • access: public
void setRouter (Zend_Controller_Router_Interface $router)
  • Zend_Controller_RouterInterface $router
unregisterPlugin (line 205)

Unregister a plugin.

  • access: public
Zend_Controller_Front unregisterPlugin (Zend_Controller_Plugin_Interface $plugin)
__clone (line 76)

Singleton pattern

  • access: private
void __clone ()

Documentation generated on Tue, 18 Apr 2006 11:55:08 -0700 by phpDocumentor 1.3.0RC3