The Dispatcher is the top level controller for the HTTP Interface of your Application
The Dispatcher receives a HTTPRequest object, creates the requested Service object as well as the filters attached to the Service and processes them all together. It keeps track of the application status using a Forward object and finally creates and renders a View to display. The Dispatcher is the only interface to services for an application.
Dispatcher provides a few setters to tweak application control:
Located in /dispatcher.php (line 31)
PHOOL | --Dispatcher
Default components to load if non given
Filters to execute
Optional Servicename Prefix
A response object
Response Names to load from HTTP Code
Name of service to dispatch
Inherited from PHOOL
PHOOL::$debug
PHOOL::$errorlabels
PHOOL::$errorlevels
PHOOL::$errors
PHOOL::$exists
PHOOL::$logdir
PHOOL::$loglevel
PHOOL::$objname
Apply a filter to the main dispatcher.
Create, validate and return a filter
Execute Filter, pass type of filtering to this method.
Set a default service, view or renderer
Set a service name prefix
Override a response type with a custom View
Inherited From PHOOL
PHOOL::PHOOL()
PHOOL::debug()
PHOOL::error()
PHOOL::get_errors()
PHOOL::handle_error()
PHOOL::has_error()
PHOOL::log_error()
PHOOL::set_debug()
PHOOL::set_logdir()
PHOOL::set_loglevel()
F_INTER
= 2
(line 120)
F_POST
= 3
(line 121)
F_PRE
= 1
(line 119)
Filter type constants
OUT
= 2
(line 114)
RET
= 1
(line 113)
Release result types: return or output
Inherited from PHOOL
PHOOL::ERROR
PHOOL::UNKNOWN
PHOOL::USER
PHOOL::WARNING
Documentation generated on Tue, 12 May 2009 23:09:38 +0200 by phpDocumentor 1.4.1