NavigationBlockPlugin Class Reference
[Plugins_blocks_navigation]

Class for navigation block plugin. More...

Inheritance diagram for NavigationBlockPlugin:

BlockPlugin Plugin

List of all members.

Public Member Functions

 getContents (&$templateMgr)
 getDescription ()
 getDisplayName ()
 getInstallSitePluginSettingsFile ()
 getName ()
 getNewJournalPluginSettingsFile ()
 getSupportedContexts ()
 register ($category, $path)


Detailed Description

Class for navigation block plugin.

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


Member Function Documentation

NavigationBlockPlugin.getContents ( &$  templateMgr  ) 

Get the contents for this block.

Parameters:
$templateMgr object
Returns:
string

Reimplemented from BlockPlugin.

Definition at line 82 of file NavigationBlockPlugin.inc.php.

NavigationBlockPlugin.getDescription (  ) 

Get a description of the plugin.

Reimplemented from BlockPlugin.

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

References Locale.translate().

NavigationBlockPlugin.getDisplayName (  ) 

Get the display name of this plugin.

Returns:
String

Reimplemented from BlockPlugin.

Definition at line 66 of file NavigationBlockPlugin.inc.php.

References Locale.translate().

NavigationBlockPlugin.getInstallSitePluginSettingsFile (  ) 

Install default settings on system install.

Returns:
string

Reimplemented from Plugin.

Definition at line 50 of file NavigationBlockPlugin.inc.php.

References Plugin.getPluginPath().

NavigationBlockPlugin.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 42 of file NavigationBlockPlugin.inc.php.

NavigationBlockPlugin.getNewJournalPluginSettingsFile (  ) 

Install default settings on journal creation.

Returns:
string

Reimplemented from Plugin.

Definition at line 58 of file NavigationBlockPlugin.inc.php.

References Plugin.getPluginPath().

NavigationBlockPlugin.getSupportedContexts (  ) 

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

Returns:
array

Reimplemented from BlockPlugin.

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

NavigationBlockPlugin.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 21 of file NavigationBlockPlugin.inc.php.

References Plugin.addLocaleData().


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

Generated on Mon Jul 14 10:55:44 2008 for Open Journal Systems by  doxygen 1.5.6