[Zend_Controller] element index

Package indexes

All elements
a b c d e f g h i m n p r s u z _
_
top
$_actionKey
Action key for retrieving action from params
$_controllerKey
Controller key for retrieving controller from params
$_dispatched
Has the action been dispatched?
$_invokeArgs
Array of arguments provided to the constructor, minus the $_request.
$_invokeParams
Array of invocation parameters to use when instantiating action
$_params
Request parameters
$_request
Zend_Controller_Request_Abstract object wrapping the request environment
$_response
Zend_Controller_Response_Abstract object wrapping the response
_forward
Forward to another controller/action.
_getAllParams
Return all parameters in the $_request as an associative array.
_getParam
Gets a parameter from the $_request. If the parameter does not exist, NULL 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 overridden to implement magic (dynamic) actions, or provide run-time dispatching.
__construct
Constructor
__construct
Class constructor
$_defaultAction
Default action name; defaults to 'index'
$_defaultController
Default controller name; defaults to 'index'
$_directory
Directory where Zend_Controller_Action files are stored.
$_invokeParams
Array of invocation parameters to use when instantiating action
$_response
Response object to pass to action controllers, if any
_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, title-cases words separated by underscores, and removes any characters that are not alphanumeric.
__construct
Constructor
$_plugins
Array of instance of objects extending Zend_Controller_Plugin_Abstract
$_request
$_response
$_httpRequest
Zend_Http_Request object
$_httpRequestReflection
ReflectionObject version of $_httpRequest
__call
Overload and proxy to Zend_Http_Request object
__construct
Constructor
__get
Overload and proxy to Zend_Http_Request object
__set
Overload and proxy to Zend_Http_Request object
$_body
Body content
$_exception
Exception
$_headers
Array of headers. Each header is an array with keys 'name' and 'value'
$_renderExceptions
Whether or not to render exceptions; off by default
__toString
Magic __toString functionality
__toString
Magic __toString functionality
$_currentRoute
$_defaults
$_invokeParams
Array of invocation parameters to use when instantiating action
$_invokeParams
Array of invocation parameters to use when instantiating action
$_params
$_parts
$_requirements
$_routes
$_staticCount
$_values
$_vars
__construct
Constructor
__construct
__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
Constructor
a
top
addParam
Add a parameter to use when instantiating an action controller
Action.php
Action.php in Action.php
Abstract.php
Abstract.php in Abstract.php
Abstract.php
Abstract.php in Abstract.php
Abstract.php
Abstract.php in Abstract.php
addParam
Add a parameter with which to instantiate an Action Controller
addParam
Add a parameter to use when instantiating an action controller
Abstract.php
Abstract.php in Abstract.php
appendBody
Append content to the body content
addConfig
addDefaultRoutes
addParam
Add a parameter to use when instantiating an action controller
addParam
Add a parameter to use when instantiating an action controller
addParam
Add a parameter with which to instantiate any helper objects
addRoute
addRoutes
assemble
assemble
Assembles user submitted parameters forming a URL path defined by this route
b
top
Broker.php
Broker.php in Broker.php
c
top
Cli.php
Cli.php in Cli.php
Class.php
Class.php in Class.php
clearHeaders
Clear headers
d
top
dispatch
Dispatch an HTTP request to a controller/action.
dispatch
Dispatches a request object to a controller/action. If the action requests a forward to another action, a new request will be returned.
dispatch
Dispatch to a controller/action
Dispatcher.php
Dispatcher.php in Dispatcher.php
dispatchLoopShutdown
Called before Zend_Controller_Front exits its dispatch loop.
dispatchLoopShutdown
Called before Zend_Controller_Front exits its dispatch loop.
dispatchLoopStartup
Called before Zend_Controller_Front enters its dispatch loop.
dispatchLoopStartup
Called before Zend_Controller_Front enters its dispatch loop.
e
top
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
Function.php
Function.php in Function.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 request 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 request 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
getActionKey
Retrieve the action key
getActionName
Retrieve the action name
getControllerDirectory
Convenience method, passthru to Zend_Controller_Dispatcher::getControllerDirectory()
getControllerKey
Retrieve the controller key
getControllerName
Retrieve the controller name
getDefaultAction
Retrieve the default action (unformatted string)
getDefaultController
Retrieve the default controller (unformatted string)
getDispatcher
Return the dispatcher object.
getInvokeArgs
Return the array of constructor arguments (minus the Request object)
getParam
Get an action parameter
getParams
Get all action parameters
getParams
Retrieve action controller instantiation parameters
getRequest
Return the request object.
getRequest
Return the Request object
getResponse
Return the response object.
getResponse
Return the Response object
getRouter
Return the router object.
getControllerDirectory
Return the currently set directory for Zend_Controller_Action class lookup
getDefaultAction
Retrieve the default action name (minus formatting)
getDefaultAction
Retrive the default action name (minus formatting)
getDefaultController
Retrive the default controller name (minus formatting)
getDefaultController
Retrieve the default controller name (minus formatting)
getParams
Retrieve the parameters to pass to the Action Controller constructor
getParams
Retrieve action controller instantiation parameters
getResponse
Retrieve the response object, if any
getResponse
Return the registered response object
getRequest
Get request object
getRequest
Get request object
getResponse
Get response object
getResponse
Get response object
getBody
Return the body content
getException
Retrieve the exception object, if set
getHeaders
Return array of headers; see $_headers for format
getCurrentRoute
getParams
Retrieve action controller instantiation parameters
getParams
Retrieve action controller instantiation parameters
getParams
Retrieve the parameters to pass to helper object constructors
getRoute
getRoutes
h
top
Http.php
Http.php in Http.php
Http.php
Http.php in Http.php
Http.php
Http.php in Http.php
Http.php
Http.php in Http.php
i
top
init
Initialize object
isDispatched
Determine if the request has been dispatched
Interface.php
Interface.php in Interface.php
Interface.php
Interface.php in Interface.php
isDispatchable
Returns TRUE if the Zend_Controller_Request_Abstract 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
isException
Has an exception been registered with the response?
Interface.php
Interface.php in Interface.php
Interface.php
Interface.php in Interface.php
m
top
Method.php
Method.php in Method.php
match
Matches a user submitted path with parts defined by a map. Assigns and returns an array of variables on a succesfull match.
match
n
top
Node.php
Node.php in Node.php
p
top
postDispatch
Post-dispatch routines
preDispatch
Pre-dispatch routines
Parameter.php
Parameter.php in Parameter.php
Prototype.php
Prototype.php in Prototype.php
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.
r
top
registerPlugin
Register a plugin.
run
Call the action specified in the request object, and return a response
run
Convenience feature, calls setControllerDirectory()->setRouter()->dispatch()
ReturnValue.php
ReturnValue.php in ReturnValue.php
Reflection.php
Reflection.php in Reflection.php
Request.php
Request.php in Request.php
Response.php
Response.php in Response.php
registerPlugin
Register a plugin.
routeShutdown
Called before Zend_Controller_Front exits 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.
renderExceptions
Whether or not to render exceptions (off by default)
route
Processes a request and sets its controller and action. If no route was possible, an exception is thrown.
route
route
Route a request
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
setActionKey
Set the action key
setActionName
Set the action name
setControllerDirectory
Convenience method, passthru to Zend_Controller_Dispatcher::setControllerDirectory()
setControllerKey
Set the controller key
setControllerName
Set the controller name to use
setDefaultAction
Set the default action (unformatted string)
setDefaultController
Set the default controller (unformatted string)
setDispatched
Set flag indicating whether or not request has been dispatched
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.
setParam
Set an action parameter
setParams
Set action parameters en masse; does not overwrite
setParams
Set parameters to pass to action controller constructors
setRequest
Set request class/object
setRequest
Set the Request object
setResponse
Set response class/object
setResponse
Set the Response object
setRouter
Set router class/object
Stdin.php
Stdin.php in Stdin.php
setControllerDirectory
Sets the directory where the Zend_Controller_Action class files are stored.
setDefaultAction
Set default action name (minus formatting)
setDefaultAction
Set the default action (minus any formatting)
setDefaultController
Set the default controller (minus any formatting)
setDefaultController
Set default controller name (minus formatting)
setParams
Set an array of a parameters to pass to the Action Controller constructor
setParams
Set parameters to pass to action controller constructors
setResponse
Set the response object to use, if any
setResponse
Set response object to pass to action controllers
setRequest
Set request object, and register with each plugin
setRequest
Set request object
setResponse
Set response object
setResponse
Set response object
setBody
Set body content
setException
Register an exception with the response
setHeader
Set a header
setParams
Set parameters to pass to action controller constructors
setParams
Set parameters to pass to action controller constructors
setParams
Set an array of a parameters to pass to helper object constructors
u
top
unregisterPlugin
Unregister a plugin.
unregisterPlugin
Unregister a plugin.
z
top
Zend_Controller_Action
Zend_Controller_Exception
Zend_Controller_Exception in Exception.php
Zend_Controller_Front
Zend_Controller_Request_Abstract
Zend_Controller_Dispatcher
Zend_Controller_Dispatcher in Dispatcher.php
Zend_Controller_Dispatcher_Interface
Zend_Controller_Plugin_Abstract
Zend_Controller_Plugin_Broker
Zend_Controller_Request_Http
Zend_Controller_Request_Http
Zend_Controller_Response_Abstract
Zend_Controller_Response_Abstract
Zend_Controller_Response_Cli
Zend_Controller_Response_Cli
Zend_Controller_Response_Http
Zend_Controller_Response_Http
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 c d e f g h i m n p r s u z _