The Yaf_Plugin_Abstract class

(Ingen versionsoplysninger tilgængelige, findes måske kun i SVN)

Introduktion

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.

Klasse synopsis

Yaf_Plugin_Abstract {
/* Metoder */
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 )
}

Indholdsfortegnelse

add a note add a note

User Contributed Notes 1 note

up
1
gianjason#gmail.com
11 years ago
All the methods which the plugin implemented according to this interface, will be called at the proper time automatically.
To Top