CWIS Developer Documentation
|
Public Member Functions | |
__construct ($PluginName, $MethodName) | |
Class constructor, which stores the plugin name and the name of the method to be called. More... | |
CallPluginMethod () | |
Call the method that was specified in our constructor. More... | |
GetCallbackAsText () | |
Get full method name as a text string. More... | |
__sleep () | |
Sleep method, specifying which values are to be saved when we are serialized. More... | |
Static Public Attributes | |
static | $Manager |
PluginManager to use to retrieve appropriate plugins. More... | |
Helper class for internal use by PluginManager. This class is used to allow plugin methods to be triggered by events that only allow serialized callbacks (e.g. periodic events). The plugin name and the method to be called are set and then the PluginCaller object is serialized out. When the PluginCaller object is unserialized, it retrieves the appropriate plugin object from the PluginManager (pointer to PluginManager is set in PluginManager constructor) and calls the specified method.
Definition at line 817 of file PluginManager.php.
PluginCaller::__construct | ( | $PluginName, | |
$MethodName | |||
) |
Class constructor, which stores the plugin name and the name of the method to be called.
string | $PluginName | Name of plugin. |
string | $MethodName | Name of method to be called. |
Definition at line 825 of file PluginManager.php.
PluginCaller::__sleep | ( | ) |
Sleep method, specifying which values are to be saved when we are serialized.
Definition at line 857 of file PluginManager.php.
PluginCaller::CallPluginMethod | ( | ) |
Call the method that was specified in our constructor.
This method accept whatever arguments are appropriate for the specified method and returns values as appropriate for the specified method.
Definition at line 836 of file PluginManager.php.
PluginCaller::GetCallbackAsText | ( | ) |
Get full method name as a text string.
Definition at line 847 of file PluginManager.php.
|
static |
PluginManager to use to retrieve appropriate plugins.
Definition at line 863 of file PluginManager.php.
Referenced by PluginManager\__construct().