[Zend_Controller] element index

Package indexes

All elements
a b d e f g i m p r s t u z _
_
top
$_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.
$_action
Zend_Controller_Dispatcher_Token object wrapping this controller/action call.
$_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.
$_params
Array of key/value pairs to pass as parameters to the controller.
_forward
Forward to another controller/action.
_getAllParams
Return all parameters that were passed to the controller as an associative array.
_getParam
Gets a parameter that was passed to this controller. If the parameter does not exist, FALSE will be return.
_redirect
Redirect to another URL
__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.
__construct
Class constructor. A Zend_Controller_Dispatcher_Token object must be built with a controller name and an action, but parameters are optional.
__construct
Class constructor
$_directory
Directory where Zend_Controller_Action files are stored.
_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.
_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.
$_plugins
Array of instance of objects implementing Zend_Controller_Plugin_Interface
$_currentRoute
$_defaults
$_params
$_parts
$_requirements
$_rewriteBase
$_routes
$_staticCount
$_values
$_vars
__construct
Prepares the route for mapping by splitting (exploding) it to a corresponding atomic parts. These parts are assigned a position which is later used for matching and preparing values.
__construct
__construct
a
top
Action.php
Action.php in Action.php
Abstract.php
Abstract.php in Abstract.php
addConfig
addRoute
addRoutes
assemble
Assembles user submitted parameters forming a URL path defined by this route
assemble
b
top
Broker.php
Broker.php in Broker.php
d
top
dispatch
Dispatch an HTTP request to a controller/action.
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.
dispatch
Dispatch to a controller/action
Dispatcher.php
Dispatcher.php in Dispatcher.php
dispatchLoopShutdown
Called before Zend_Controller_Front exists its dispatch loop.
dispatchLoopShutdown
Called before Zend_Controller_Front exists its dispatch loop.
dispatchLoopShutdown
Called before Zend_Controller_Front exists its dispatch loop.
dispatchLoopStartup
Called before Zend_Controller_Front enters its dispatch loop.
dispatchLoopStartup
Called before Zend_Controller_Front enters its dispatch loop.
dispatchLoopStartup
Called before Zend_Controller_Front enters its dispatch loop.
detectRewriteBase
e
top
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
DEFAULT_REGEX
REGEX_DELIMITER
Exception.php
Exception.php in Exception.php
f
top
Front.php
Front.php in Front.php
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.
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.
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.
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
getActionName
Returns the action name, in the raw form.
getControllerName
Returns the controller name, in the raw form.
getDispatcher
Return the dispatcher object.
getInstance
Return one and only one instance of the Zend_Controller_Front object
getParams
Get the parameters array.
getRouter
Return the router object.
getCurrentRoute
getRewriteBase
getRoute
getRoutes
i
top
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.
isDispatchable
Returns TRUE if the Zend_Controller_Dispatcher_Token object can be dispatched to a controller.
isDispatchable
Returns TRUE if an action can be dispatched, or FALSE otherwise.
Interface.php
Interface.php in Interface.php
Interface.php
Interface.php in Interface.php
Interface.php
Interface.php in Interface.php
Interface.php
Interface.php in Interface.php
m
top
match
Matches a user submitted path with parts defined by a map. Assigns and returns an array of variables on a succesfull match.
match
p
top
postDispatch
Called after an action is dispatched by Zend_Controller_Dispatcher.
postDispatch
Called after an action is dispatched by Zend_Controller_Dispatcher.
postDispatch
Called after an action is dispatched by Zend_Controller_Dispatcher.
preDispatch
Called before an action is dispatched by Zend_Controller_Dispatcher.
preDispatch
Called before an action is dispatched by Zend_Controller_Dispatcher.
preDispatch
Called before an action is dispatched by Zend_Controller_Dispatcher.
r
top
registerPlugin
Register a plugin.
run
Convenience feature, calls getInstance()->setControllerDirectory()->dispatch()
run
Initialize the class instance variables and then call the action.
registerPlugin
Register a plugin.
routeShutdown
Called after Zend_Controller_Front exits from the router.
routeShutdown
Called before Zend_Controller_Front exists its iterations over the route set.
routeShutdown
Called after Zend_Controller_Router exits.
routeStartup
Called before Zend_Controller_Front begins evaluating the request against its routes.
routeStartup
Called before Zend_Controller_Front begins evaluating the request against its routes.
routeStartup
Called before Zend_Controller_Front begins evaluating the request against its routes.
route
route
route
Processes an HTTP request and routes to a Zend_Controller_Dispatcher_Token object. If no route was possible, an exception is thrown.
URI_DELIMITER
URL_VARIABLE
RewriteRouter.php
RewriteRouter.php in RewriteRouter.php
Route.php
Route.php in Route.php
Router.php
Router.php in Router.php
s
top
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.
setControllerDirectory
Convenience method, passthru to Zend_Controller_Dispatcher::setControllerDirectory()
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.
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.
setParams
Sets the parameters array.
setRouter
Set the router object. The router is responsible for mapping the request to a Zend_Controller_Dispatcher_Token object for dispatch.
setControllerDirectory
Sets the directory where the Zend_Controller_Action class files are stored.
setRewriteBase
t
top
Token.php
Token.php in Token.php
u
top
unregisterPlugin
Unregister a plugin.
unregisterPlugin
Unregister a plugin.
z
top
Zend_Controller_Action
Zend_Controller_Action_Exception
Zend_Controller_Dispatcher_Token
Zend_Controller_Exception
Zend_Controller_Exception in Exception.php
Zend_Controller_Front
Zend_Controller_Front_Exception
Zend_Controller_Dispatcher
Zend_Controller_Dispatcher in Dispatcher.php
Zend_Controller_Dispatcher_Exception
Zend_Controller_Dispatcher_Interface
Zend_Controller_Plugin_Abstract
Zend_Controller_Plugin_Broker
Zend_Controller_Plugin_Interface
Zend_Controller_RewriteRouter
Zend_Controller_RewriteRouter in RewriteRouter.php
Ruby routing based Router.
Zend_Controller_Router
Simple first implementation of a router, to be replaced with rules-based URI processor.
Zend_Controller_Router_Exception
Zend_Controller_Router_Interface
Zend_Controller_Router_Route
Route
Zend_Controller_Router_Route_Interface
a b d e f g i m p r s t u z _