Located in /Controller/Front.php (line 58)
Singleton instance
Marked only as protected to allow extension of the class. To extend, simply override getInstance().
Base URL
Directory|ies where controllers are stored
Instance of Zend_Controller_Dispatcher_Interface
Array of invocation parameters to use when instantiating action
controllers
Subdirectory within a module containing controllers; defaults to 'controllers'
Instance of Zend_Controller_Plugin_Broker
Instance of Zend_Controller_Request_Abstract
Instance of Zend_Controller_Response_Abstract
Whether or not to return the response prior to rendering output while in dispatch(); default is to send headers and render output.
Instance of Zend_Controller_Router_Interface
Whether or not exceptions encountered in dispatch() should be
thrown or trapped in the response object
Convenience feature, calls setControllerDirectory()->setRouter()->dispatch()
In PHP 5.1.x, a call to a static method never populates $this -- so run() may actually be called after setting up your front controller.
Add a controller directory to the controller directory stack
If $args is presented and is a string, uses it for the array key mapping to the directory specified.
Specify a directory as containing modules
Iterates through the directory, adding any subdirectories as modules; the subdirectory within each module named after $_moduleControllerDirectoryName will be used as the controller directory path.
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.
Dispatch an HTTP request to a controller/action.
Retrieve the currently set base URL
Retrieve controller directory
Retrieves:
Retrieve the default action (unformatted string)
Retrieve the default controller (unformatted string)
Retrieve the default module
Return the dispatcher object.
Return the directory name within a module containing controllers
Retrieve a single parameter from the controller parameter stack
Retrieve action controller instantiation parameters
Retrieve a plugin or plugins by class
Retrieve all plugins
Return the request object.
Return the response object.
Return the router object.
Instantiates a Zend_Controller_Router_Rewrite object if no router currently set.
Resets all object properties of the singleton instance
Primarily used for testing; could be used to chain front controllers.
Set whether dispatch() should return the response without first rendering output. By default, output is rendered and dispatch() returns nothing.
Set the base URL used for requests
Use to set the base URL segment of the REQUEST_URI to use when determining PATH_INFO, etc. Examples:
Set controller directory
Stores controller directory to pass to dispatcher. May be an array of directories or a string containing a single directory.
Set the default action (unformatted string)
Set the default controller (unformatted string)
Set the default module name
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.
Set the directory name within a module containing controllers
Add or modify a parameter to use when instantiating an action controller
Set parameters to pass to action controller constructors
Set request class/object
Set the request object. The request holds the request environment.
If a class name is provided, it will instantiate it
Set response class/object
Set the response object. The response is a container for action responses and headers. Usage is optional.
If a class name is provided, instantiates a response object.
Set router class/object
Set the router object. The router is responsible for mapping the request to a controller and action.
If a class name is provided, instantiates router with any parameters registered via setParam() or setParams().
Set whether exceptions encounted in the dispatch loop should be thrown or caught and trapped in the response object
Default behaviour is to trap them in the response object; call this method to have them thrown.
Unregister a plugin.
Documentation generated on Sun, 27 May 2007 23:24:19 -0700 by phpDocumentor 1.3.2