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

search for in the

Yaf_Plugin_Abstract::dispatchLoopShutdown> <Yaf_Loader::__wakeup
[edit] Last updated: Fri, 23 Mar 2012

view this page in

The Yaf_Plugin_Abstract class

(Bir sürüm bilgisi bulunamadı; sadece SVN'de olabilir.)

Giriş

Plugins allow for easy extensibility and customization of the framework.

Plugins are classes. The actual class definition will vary based on the component -- you may need to implement this interface, but the fact remains that the plugin is itself a class.

A plugin could be loaded into Yaf by using Yaf_Dispatcher::registerPlugin(), after registerd, All the methods which the plugin implemented according to this interface, will be called at the proper time.

Sınıf Sözdizimi

Yaf_Plugin_Abstract {
/* Yöntemler */
public void dispatchLoopStartup ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response )
public void postDispatch ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response )
public void preDispatch ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response )
public void preResponse ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response )
public void routerShutdown ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response )
public void routerStartup ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response )
}

İçindekiler



add a note add a note User Contributed Notes Yaf_Plugin_Abstract
There are no user contributed notes for this page.

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