Docs For Class Zend_Controller_Front

## Class Zend_Controller_Front

Description

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

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

Method Summary
static Zend_Controller_Front getInstance ()
static void run (string $controllerDirectory)
void dispatch ()
Zend_Controller_DispatcherInteface getDispatcher ()
Zend_Controller_RouterInterface getRouter ()
Zend_Controller_Front registerPlugin (Zend_Controller_Plugin_Interface $plugin)
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)
Methods
static method getInstance (line 87)

Return one and only one instance of the Zend_Controller_Front object

- access: public

static Zend_Controller_Front getInstance ()
static method run (line 102)

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

- access: public

static void run (string $controllerDirectory)

- string $controllerDirectory

dispatch (line 217)

Dispatch an HTTP request to a controller/action.

- access: public

void dispatch ()
getDispatcher (line 176)

Return the dispatcher object.

- access: public

Zend_Controller_DispatcherInteface getDispatcher ()
getRouter (line 143)

Return the router object.

- access: public

Zend_Controller_RouterInterface getRouter ()
registerPlugin (line 195)

Register a plugin.

- access: public

Zend_Controller_Front registerPlugin (Zend_Controller_Plugin_Interface $plugin)

- Zend_Controller_Plugin_Interface $plugin

setControllerDirectory (line 115)

Convenience method, passthru to Zend_Controller_Dispatcher::setControllerDirectory()

- access: public

void setControllerDirectory (string $directory)

- string $directory

setDispatcher (line 164)

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 132)

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 207)

Unregister a plugin.

- access: public

Zend_Controller_Front unregisterPlugin (Zend_Controller_Plugin_Interface $plugin)

- Zend_Controller_Plugin_Interface $plugin

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