Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
StudIPPlugin Class Reference
Inheritance diagram for StudIPPlugin:
Inheritance graph
Collaboration diagram for StudIPPlugin:
Collaboration graph

Public Member Functions

 __construct ()
 getPluginId ()
 getPluginName ()
 getPluginPath ()
 getPluginURL ()
 isActivated ($context=NULL)
 deactivationWarning ($context)
 perform ($unconsumed_path)

Protected Attributes

 $plugin_info

Constructor & Destructor Documentation

__construct ( )

plugin constructor TODO bindtextdomain()

Reimplemented in AbstractStudIPLegacyPlugin.

Here is the call graph for this function:

Member Function Documentation

deactivationWarning (   $context)

Return a warning message to be printed before deactivation of this plugin in the given context.

Parameters
$contextcontext range id

Reimplemented in AbstractStudIPStandardPlugin.

getPluginId ( )

Return the ID of this plugin.

Here is the caller graph for this function:

getPluginName ( )

Return the name of this plugin.

Reimplemented in AbstractStudIPLegacyPlugin.

getPluginPath ( )

Return the filesystem path to this plugin.

Here is the caller graph for this function:

getPluginURL ( )

Return the URL of this plugin. Can be used to refer to resources (images, style sheets, etc.) inside the installed plugin package.

Here is the call graph for this function:

Here is the caller graph for this function:

isActivated (   $context = NULL)

Get the activation status of this plugin in the given context. This also checks the plugin default activations.

Parameters
$contextcontext range id (optional)

Reimplemented in AbstractStudIPStandardPlugin.

Here is the call graph for this function:

perform (   $unconsumed_path)

This method dispatches all actions.

Parameters
stringpart of the dispatch path that was not consumed
Returns
void

Reimplemented in AbstractStudIPLegacyPlugin.

Field Documentation

$plugin_info
protected

plugin meta data


The documentation for this class was generated from the following file: