Public Member Functions

Plugin Class Reference
[Plugins]

Abstract class for plugins. More...

Inheritance diagram for Plugin:
AuthPlugin BlockPlugin CitationPlugin GatewayPlugin GenericPlugin ImportExportPlugin OAIMetadataFormatPlugin PaymethodPlugin ReportPlugin ThemePlugin

List of all members.

Public Member Functions

 getCurrentVersion ()
 getNewConferencePluginSettingsFile ()
 installConferenceSettings ($hookName, $args)
 installSiteSettings ($hookName, $args)
 Plugin ()
 register ($category, $path)
 updateSetting ($conferenceId, $schedConfId, $name, $value, $type=null)

Detailed Description

Abstract class for plugins.

Definition at line 20 of file Plugin.inc.php.


Member Function Documentation

Plugin.getCurrentVersion (  ) 

Get the current version of this plugin

Returns:
object Version

Definition at line 113 of file Plugin.inc.php.

Plugin.getNewConferencePluginSettingsFile (  ) 

Get the filename of the settings data for this plugin to install when a conference is created (i.e. conference-level plugin settings). Subclasses using default settings should override this.

Returns:
string

Reimplemented in DevelopedByBlockPlugin, FontSizeBlockPlugin, InformationBlockPlugin, NavigationBlockPlugin, NotificationBlockPlugin, RoleBlockPlugin, UserBlockPlugin, and TinyMCEPlugin.

Definition at line 74 of file Plugin.inc.php.

Referenced by installConferenceSettings(), and register().

Plugin.installConferenceSettings ( hookName,
args 
)

Callback used to install settings on conference creation.

Parameters:
$hookName string
$args array
Returns:
boolean

Definition at line 84 of file Plugin.inc.php.

References getNewConferencePluginSettingsFile().

Plugin.installSiteSettings ( hookName,
args 
)

Callback used to install settings on system install.

Parameters:
$hookName string
$args array
Returns:
boolean

Definition at line 99 of file Plugin.inc.php.

Plugin.Plugin (  ) 

Constructor

Definition at line 24 of file Plugin.inc.php.

Referenced by AuthPlugin.AuthPlugin(), and PaymethodPlugin.PaymethodPlugin().

Plugin.register ( category,
path 
)
Plugin.updateSetting ( conferenceId,
schedConfId,
name,
value,
type = null 
)

Update a plugin setting.

Parameters:
$conferenceId int
$schedConfId int
$name string The name of the setting
$value mixed
$type string optional

Definition at line 63 of file Plugin.inc.php.

Referenced by BlockPlugin.setBlockContext(), StaticPagesPlugin.setEnabled(), PhpMyVisitesPlugin.setEnabled(), GoogleAnalyticsPlugin.setEnabled(), CustomBlockManagerPlugin.setEnabled(), GatewayPlugin.setEnabled(), BlockPlugin.setEnabled(), and BlockPlugin.setSeq().


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