SloodlePluginManagerA class to load SLOODLE plugins, and provide a means to access them.
Located in /lib/plugins.php (line 25)
array
$plugin_cache
= array() (line 44)
Plugin instance cache.
Stores the plugins which have already been created, to prevent new ones being instantiated unnecessarily. Is an associative array of plugin names to plugin objects.
object
$_session
= null (line 35)
Internal only - reference to the containing SloodleSession object.
Note: always check that it is not null before use!
Class constructor.
Gets an instance of the specified plugin type.
This only works if the plugin has been loaded, and if it is derived from SloodlePluginBase.
Gets an array of the names of all SLOODLE plugins derived from the specified type.
By default, this gets all plugins. Specify a different base class to get others. NOTE: this will search all plugins loaded by all plugin managers in the current PHP script. (There is no way to tell which manager loaded which plugins.) Plugin names correspond to class names, with the 'SloodlePlugin' prefix.
Loads all available plugins from the specified folder.
Documentation generated on Fri, 17 Jul 2009 11:02:22 +0100 by phpDocumentor 1.4.0