Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yaf_dispatcher(3) [php man page]

YAF_DISPATCHER(3)							 1							 YAF_DISPATCHER(3)

The Yaf_Dispatcher class

INTRODUCTION
Yaf_Dispatcher purpose is to initialize the request environment, route the incoming request, and then dispatch any discovered actions; it aggregates any responses and returns them when the process is complete. Yaf_Dispatcher also implements the Singleton pattern, meaning only a single instance of it may be available at any given time. This allows it to also act as a registry on which the other objects in the dispatch process may draw. CLASS SYNOPSIS
Yaf_Dispatcher final Yaf_Dispatcher Properties o protected$_router o protected$_view o protected$_request o protected$_plugins o protectedstatic$_instance o protected$_auto_render o protected$_return_response o protected$_instantly_flush o protected$_default_module o protected$_default_controller o protected$_default_action Methods o public Yaf_Dispatcher Yaf_Dispatcher::autoRender ([bool $flag]) o public Yaf_Dispatcher Yaf_Dispatcher::catchException ([bool $flag]) o private void Yaf_Dispatcher::__clone (void ) o public Yaf_Dispatcher::__construct (void ) o public bool Yaf_Dispatcher::disableView (void ) o public Yaf_Response_Abstract Yaf_Dispatcher::dispatch (Yaf_Request_Abstract $request) o public Yaf_Dispatcher Yaf_Dispatcher::enableView (void ) o public Yaf_Dispatcher Yaf_Dispatcher::flushInstantly ([bool $flag]) o public Yaf_Application Yaf_Dispatcher::getApplication (void ) o publicstatic Yaf_Dispatcher Yaf_Dispatcher::getInstance (void ) o public Yaf_Request_Abstract Yaf_Dispatcher::getRequest (void ) o public Yaf_Router Yaf_Dispatcher::getRouter (void ) o public Yaf_View_Interface Yaf_Dispatcher::initView (string $templates_dir, [array $options]) o public Yaf_Dispatcher Yaf_Dispatcher::registerPlugin (Yaf_Plugin_Abstract $plugin) o public Yaf_Dispatcher Yaf_Dispatcher::returnResponse (bool $flag) o public Yaf_Dispatcher Yaf_Dispatcher::setDefaultAction (string $action) o public Yaf_Dispatcher Yaf_Dispatcher::setDefaultController (string $controller) o public Yaf_Dispatcher Yaf_Dispatcher::setDefaultModule (string $module) o public Yaf_Dispatcher Yaf_Dispatcher::setErrorHandler (call $callback, int $error_types) o public Yaf_Dispatcher Yaf_Dispatcher::setRequest (Yaf_Request_Abstract $request) o public Yaf_Dispatcher Yaf_Dispatcher::setView (Yaf_View_Interface $view) o private void Yaf_Dispatcher::__sleep (void ) o public Yaf_Dispatcher Yaf_Dispatcher::throwException ([bool $flag]) o private void Yaf_Dispatcher::__wakeup (void ) PROPERTIES
o $_router - o $_view - o $_request - o $_plugins - o $_instance - o $_auto_render - o $_return_response - o $_instantly_flush - o $_default_module - o $_default_controller - o $_default_action - PHP Documentation Group YAF_DISPATCHER(3)

Check Out this Related Man Page

YAF_REQUEST_ABSTRACT(3) 						 1						   YAF_REQUEST_ABSTRACT(3)

The Yaf_Request_Abstract class

INTRODUCTION
CLASS SYNOPSIS
Yaf_Request_Abstract Yaf_Request_Abstract Constants o const string$Yaf_Request_Abstract::SCHEME_HTTPhttp o const string$Yaf_Request_Abstract::SCHEME_HTTPShttps Properties o public$module o public$controller o public$action o public$method o protected$params o protected$language o protected$_exception o protected$_base_uri o protected$uri o protected$dispatched o protected$routed Methods o public void Yaf_Request_Abstract::getActionName (void ) o public void Yaf_Request_Abstract::getBaseUri (void ) o public void Yaf_Request_Abstract::getControllerName (void ) o public void Yaf_Request_Abstract::getEnv (string $name, [string $default]) o public void Yaf_Request_Abstract::getException (void ) o public void Yaf_Request_Abstract::getLanguage (void ) o public void Yaf_Request_Abstract::getMethod (void ) o public void Yaf_Request_Abstract::getModuleName (void ) o public void Yaf_Request_Abstract::getParam (string $name, [string $default]) o public void Yaf_Request_Abstract::getParams (void ) o public void Yaf_Request_Abstract::getRequestUri (void ) o public void Yaf_Request_Abstract::getServer (string $name, [string $default]) o public void Yaf_Request_Abstract::isCli (void ) o public void Yaf_Request_Abstract::isDispatched (void ) o public void Yaf_Request_Abstract::isGet (void ) o public void Yaf_Request_Abstract::isHead (void ) o public void Yaf_Request_Abstract::isOptions (void ) o public void Yaf_Request_Abstract::isPost (void ) o public void Yaf_Request_Abstract::isPut (void ) o public void Yaf_Request_Abstract::isRouted (void ) o public void Yaf_Request_Abstract::isXmlHttpRequest (void ) o public void Yaf_Request_Abstract::setActionName (string $action) o public bool Yaf_Request_Abstract::setBaseUri (string $uir) o public void Yaf_Request_Abstract::setControllerName (string $controller) o public void Yaf_Request_Abstract::setDispatched (void ) o public void Yaf_Request_Abstract::setModuleName (string $module) o public void Yaf_Request_Abstract::setParam (string $name, [string $value]) o public void Yaf_Request_Abstract::setRequestUri (string $uir) o public void Yaf_Request_Abstract::setRouted ([string $flag]) PROPERTIES
o $module - o $controller - o $action - o $method - o $params - o $language - o $_exception - o $_base_uri - o $uri - o $dispatched - o $routed - PREDEFINED CONSTANTS
o Yaf_Request_Abstract::SCHEME_HTTP - o Yaf_Request_Abstract::SCHEME_HTTPS - PHP Documentation Group YAF_REQUEST_ABSTRACT(3)
Man Page