RoleBlockPlugin Class Reference
[Plugins_blocks_role]

Class for role block plugin. More...

Inheritance diagram for RoleBlockPlugin:

BlockPlugin Plugin List of all members.

Public Member Functions

 getBlockTemplateFilename ()
 getDescription ()
 getDisplayName ()
 getName ()
 getNewConferencePluginSettingsFile ()
 getSupportedContexts ()
 register ($category, $path)

Detailed Description

Class for role block plugin.

Definition at line 19 of file RoleBlockPlugin.inc.php.


Member Function Documentation

RoleBlockPlugin.getBlockTemplateFilename (  ) 

Override the block contents based on the current role being browsed.

Returns:
string

Reimplemented from BlockPlugin.

Definition at line 73 of file RoleBlockPlugin.inc.php.

References Request.getConference(), and Request.getSchedConf().

RoleBlockPlugin.getDescription (  ) 

Get a description of the plugin.

Reimplemented from BlockPlugin.

Definition at line 56 of file RoleBlockPlugin.inc.php.

RoleBlockPlugin.getDisplayName (  ) 

Get the display name of this plugin.

Returns:
String

Reimplemented from BlockPlugin.

Definition at line 49 of file RoleBlockPlugin.inc.php.

RoleBlockPlugin.getName (  ) 

Get the name of this plugin. The name must be unique within its category.

Returns:
String name of plugin

Reimplemented from BlockPlugin.

Definition at line 33 of file RoleBlockPlugin.inc.php.

RoleBlockPlugin.getNewConferencePluginSettingsFile (  ) 

Install default settings on conference creation.

Returns:
string

Reimplemented from Plugin.

Definition at line 41 of file RoleBlockPlugin.inc.php.

RoleBlockPlugin.getSupportedContexts (  ) 

Get the supported contexts (e.g. BLOCK_CONTEXT_...) for this block.

Returns:
array

Reimplemented from BlockPlugin.

Definition at line 64 of file RoleBlockPlugin.inc.php.

RoleBlockPlugin.register ( category,
path 
)

Called as a plugin is registered to the registry. Subclasses over- riding this method should call the parent method first.

Parameters:
$category String Name of category plugin was registered to
$path String The path the plugin was found in
Returns:
boolean True iff plugin initialized successfully; if false, the plugin will not be registered.

Reimplemented from BlockPlugin.

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


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7