(Yaf >=1.0.0) Retrive the application public Yaf_Application Yaf_Dispatcher::getApplication ( void ) Retrive the Yaf_Application instance. same as Yaf_Application::app(). Returns: See also: Yaf_Application::app() -
(Yaf >=1.0.0) Switch on/off the instant flushing public Yaf_Dispatcher Yaf_Dispatcher::flushInstantly ([ bool $flag ] ) Parameters: flag bool Note: since 2.2.0, if this parameter is not given, then the current state will be renturned Returns:
(Yaf >=1.0.0) enable view rendering public Yaf_Dispatcher Yaf_Dispatcher::enableView ( void ) Returns:
(Yaf >=1.0.0) Dispatch a request public Yaf_Response_Abstract Yaf_Dispatcher::dispatch ( Yaf_Request_Abstract $request ) This method does the heavy work of the Yaf_Dispatcher. It take a request object. The dispatch process has three distinct events: Routing Dispatching Response Yaf_Plugin_Abstract Yaf_Dispatcher Parameters: request This method does the heavy work
(Yaf >=1.0.0) Disable view rendering public bool Yaf_Dispatcher::disableView ( void ) disable view engine, used in some app that user will output by theirself Note: you can simply return FALSE in a action to prevent the auto-rendering of that action Returns:
(Yaf >=1.0.0) Yaf_Dispatcher constructor public Yaf_Dispatcher::__construct ( void ) Returns:
(Yaf >=1.0.0) Yaf_Dispatcher can not be cloned private void Yaf_Dispatcher::__clone ( void ) Returns:
(Yaf >=1.0.0) Switch on/off exception catching public Yaf_Dispatcher Yaf_Dispatcher::catchException ([ bool $flag ] ) While the application.dispatcher.throwException is On(you can also calling to Yaf_Dispatcher::throwException(TRUE)() to enable it), Yaf will throw Exception whe error occurrs instead of trigger error. then if you enable Yaf_Dispatcher::catchException()(also can enabled by set application.dispatcher.catch
(Yaf >=1.0.0) Switch on/off autorendering public Yaf_Dispatcher Yaf_Dispatcher::autoRender ([ bool $flag ] ) Yaf_Dispatcher will render automatically after dispatches a incoming request, you can prevent the rendering by calling this method with flag TRUE Note: you can simply return FALSE in a action to prevent the auto-rendering of that action Parameters: flag boo
(Yaf >=1.0.0) Yaf_Application can not be unserialized private void Yaf_Application::__wakeup ( void ) Returns:
Page 449 of 930