downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Yaf_Dispatcher::enableView> <Yaf_Dispatcher::disableView
[edit] Last updated: Fri, 30 Nov 2012

view this page in

Yaf_Dispatcher::dispatch

(PECL yaf >=1.0.0)

Yaf_Dispatcher::dispatchDispatch a request

Opis

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
Routing takes place exactly once, using the values in the request object when dispatch() is called. Dispatching takes place in a loop; a request may either indicate multiple actions to dispatch, or the controller or a plugin may reset the request object to force additional actions to dispatch(see Yaf_Plugin_Abstract. When all is done, the Yaf_Dispatcher returns a response.

Parametry

request

Zwracane wartoĊ›ci



add a note add a note User Contributed Notes Yaf_Dispatcher::dispatch - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites