[Zend_Controller] element index

Package indexes

All elements
a b d e f g i p r s t u z _
_
top
Variable $_action
Name of the action to dispatch. The action is usually a method of the controller. This is the raw name, such as it would be extracted from the URI. It is the responsibility of the dispatcher to format it.
Variable $_action
Zend_Controller_Dispatcher_Token object wrapping this controller/action call.
Variable $_controller
Name of the controller to dispatch. This is the raw name, such as it would be extracted from the URI. It is the responsibility of the dispatcher to format it.
Variable $_params
Array of key/value pairs to pass as parameters to the controller.
Method _forward
Forward to another controller/action.
Method _getAllParams
Return all parameters that were passed to the controller as an associative array.
Method _getParam
Gets a parameter that was passed to this controller. If the parameter does not exist, FALSE will be return.
Method _redirect
Redirect to another URL
Method __call
Proxy for undefined methods. Default behavior is to throw an exception on undefined methods, however this function can be overrided to implement magic (dynamic) actions.
Method __construct
Class constructor. A Zend_Controller_Dispatcher_Token object must be built with a controller name and an action, but parameters are optional.
Method __construct
Class constructor
Variable $_directory
Directory where Zend_Controller_Action files are stored.
Method _dispatch
If $performDispatch is FALSE, this method will check if a controller file exists. This still doesn't necessarily mean that it can be dispatched in the stricted sense, as file may not contain the controller class or the controller may reject the action.
Method _formatName
Formats a string from a URI into a PHP-friendly name. Replaces words separated by "-", "_", or "." with camelCaps and removes any characters that are not alphanumeric.
Variable $_plugins
Array of instance of objects implementing Zend_Controller_Plugin_Interface
a
top
Page Action.php
Action.php in Action.php
Page Abstract.php
Abstract.php in Abstract.php
b
top
Page Broker.php
Broker.php in Broker.php
d
top
Method dispatch
Dispatch an HTTP request to a controller/action.
Method dispatch
Dispatches a Zend_Controller_Dispatcher_Token object to a controller/action. If the action requests a forward to another action, a new Zend_Controller_Dispatcher_Token will be returned.
Method dispatch
Dispatch to a controller/action
Page Dispatcher.php
Dispatcher.php in Dispatcher.php
Method dispatchLoopShutdown
Called before Zend_Controller_Front exists its dispatch loop.
Method dispatchLoopShutdown
Called before Zend_Controller_Front exists its dispatch loop.
Method dispatchLoopShutdown
Called before Zend_Controller_Front exists its dispatch loop.
Method dispatchLoopStartup
Called before Zend_Controller_Front enters its dispatch loop.
Method dispatchLoopStartup
Called before Zend_Controller_Front enters its dispatch loop.
Method dispatchLoopStartup
Called before Zend_Controller_Front enters its dispatch loop.
e
top
Page Exception.php
Exception.php in Exception.php
Page Exception.php
Exception.php in Exception.php
Page Exception.php
Exception.php in Exception.php
Page Exception.php
Exception.php in Exception.php
Page Exception.php
Exception.php in Exception.php
f
top
Page Front.php
Front.php in Front.php
Method formatActionName
Formats a string into an action name. This is used to take a raw action name, such as one that would be packaged inside a Zend_Controller_Dispatcher_Token object, and reformat into a proper method name that would be found inside a class extending Zend_Controller_Action.
Method formatControllerName
Formats a string into a controller name. This is used to take a raw controller name, such as one that would be packaged inside a Zend_Controller_Dispatcher_Token object, and reformat it to a proper class name that a class extending Zend_Controller_Action would use.
g
top
Method getActionName
Returns the action name, in the raw form.
Method getControllerName
Returns the controller name, in the raw form.
Method getDispatcher
Return the dispatcher object.
Method getInstance
Return one and only one instance of the Zend_Controller_Front object
Method getParams
Get the parameters array.
Method getRouter
Return the router object.
i
top
Method indexAction
Any controller extending Zend_Controller_Action must provide an index() method. The index() method is the default action for the controller when no action is specified.
Method isDispatchable
Returns TRUE if the Zend_Controller_Dispatcher_Token object can be dispatched to a controller.
Method isDispatchable
Returns TRUE if an action can be dispatched, or FALSE otherwise.
Page Interface.php
Interface.php in Interface.php
Page Interface.php
Interface.php in Interface.php
Page Interface.php
Interface.php in Interface.php
p
top
Method postDispatch
Called after an action is dispatched by Zend_Controller_Dispatcher.
Method postDispatch
Called after an action is dispatched by Zend_Controller_Dispatcher.
Method postDispatch
Called after an action is dispatched by Zend_Controller_Dispatcher.
Method preDispatch
Called before an action is dispatched by Zend_Controller_Dispatcher.
Method preDispatch
Called before an action is dispatched by Zend_Controller_Dispatcher.
Method preDispatch
Called before an action is dispatched by Zend_Controller_Dispatcher.
r
top
Method registerPlugin
Register a plugin.
Method run
Initialize the class instance variables and then call the action.
Method registerPlugin
Register a plugin.
Method routeShutdown
Called after Zend_Controller_Front exits from the router.
Method routeShutdown
Called before Zend_Controller_Front exists its iterations over the route set.
Method routeShutdown
Called after Zend_Controller_Router exits.
Method routeStartup
Called before Zend_Controller_Front begins evaluating the request against its routes.
Method routeStartup
Called before Zend_Controller_Front begins evaluating the request against its routes.
Method routeStartup
Called before Zend_Controller_Front begins evaluating the request against its routes.
Page Router.php
Router.php in Router.php
Method route
Method route
Processes an HTTP request and routes to a Zend_Controller_Dispatcher_Token object. If no route was possible, an exception is thrown.
s
top
Method setActionName
Sets the action name. This is the raw name, such as it would be extracted from the URI. It is the responsibility of the dispatcher to format it.
Method setControllerDirectory
Convenience method, passthru to Zend_Controller_Dispatcher::setControllerDirectory()
Method setControllerName
Sets the controller name. This is the raw name, such as it would be extracted from the URI. It is the responsibility of the dispatcher to format it.
Method setDispatcher
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.
Method setParams
Sets the parameters array.
Method setRouter
Set the router object. The router is responsible for mapping the request to a Zend_Controller_Dispatcher_Token object for dispatch.
Method setControllerDirectory
Sets the directory where the Zend_Controller_Action class files are stored.
t
top
Page Token.php
Token.php in Token.php
u
top
Method unregisterPlugin
Unregister a plugin.
Method unregisterPlugin
Unregister a plugin.
z
top
Class Zend_Controller_Action
Class Zend_Controller_Action_Exception
Class Zend_Controller_Dispatcher_Token
Class Zend_Controller_Exception
Zend_Controller_Exception in Exception.php
Class Zend_Controller_Front
Class Zend_Controller_Front_Exception
Class Zend_Controller_Dispatcher
Zend_Controller_Dispatcher in Dispatcher.php
Class Zend_Controller_Dispatcher_Exception
Class Zend_Controller_Dispatcher_Interface
Class Zend_Controller_Plugin_Abstract
Class Zend_Controller_Plugin_Broker
Class Zend_Controller_Plugin_Interface
Class Zend_Controller_Router
Simple first implementation of a router, to be replaced with rules-based URI processor.
Class Zend_Controller_Router_Exception
Class Zend_Controller_Router_Interface
a b d e f g i p r s t u z _