FontSizeBlockPlugin Class Reference
[Plugins_blocks_fontSize]

Class for font size block plugin. More...

Inheritance diagram for FontSizeBlockPlugin:

BlockPlugin Plugin

List of all members.

Public Member Functions

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


Detailed Description

Class for font size block plugin.

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


Member Function Documentation

FontSizeBlockPlugin.getBlockContext (  ) 

Get the block context. Overrides parent so that the plugin will be displayed during install.

Returns:
int

Reimplemented from BlockPlugin.

Definition at line 68 of file FontSizeBlockPlugin.inc.php.

References Config.getVar().

FontSizeBlockPlugin.getContents ( &$  templateMgr  ) 

Get the HTML contents for this block.

Parameters:
$templateMgr object
Returns:
string

Reimplemented from BlockPlugin.

Definition at line 119 of file FontSizeBlockPlugin.inc.php.

FontSizeBlockPlugin.getDescription (  ) 

Get a description of the plugin.

Reimplemented from BlockPlugin.

Definition at line 110 of file FontSizeBlockPlugin.inc.php.

References Locale.translate().

FontSizeBlockPlugin.getDisplayName (  ) 

Get the display name of this plugin.

Returns:
String

Reimplemented from BlockPlugin.

Definition at line 103 of file FontSizeBlockPlugin.inc.php.

References Locale.translate().

FontSizeBlockPlugin.getEnabled (  ) 

Determine whether the plugin is enabled. Overrides parent so that the plugin will be displayed during install.

Reimplemented from BlockPlugin.

Definition at line 42 of file FontSizeBlockPlugin.inc.php.

References Config.getVar().

FontSizeBlockPlugin.getInstallSitePluginSettingsFile (  ) 

Install default settings on system install.

Returns:
string

Reimplemented from Plugin.

Definition at line 51 of file FontSizeBlockPlugin.inc.php.

References Plugin.getPluginPath().

FontSizeBlockPlugin.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 95 of file FontSizeBlockPlugin.inc.php.

FontSizeBlockPlugin.getNewJournalPluginSettingsFile (  ) 

Install default settings on journal creation.

Returns:
string

Reimplemented from Plugin.

Definition at line 59 of file FontSizeBlockPlugin.inc.php.

References Plugin.getPluginPath().

FontSizeBlockPlugin.getSeq (  ) 

Determine the plugin sequence. Overrides parent so that the plugin will be displayed during install.

Reimplemented from BlockPlugin.

Definition at line 85 of file FontSizeBlockPlugin.inc.php.

References Config.getVar().

FontSizeBlockPlugin.getSupportedContexts (  ) 

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

Returns:
array

Reimplemented from BlockPlugin.

Definition at line 77 of file FontSizeBlockPlugin.inc.php.

FontSizeBlockPlugin.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 FontSizeBlockPlugin.inc.php.

References Plugin.addLocaleData(), and TemplateManager.getManager().


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

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