RoundedCornersPlugin Class Reference
[Plugins_generic_roundedCorners]

Rounded Corners plugin class. More...

Inheritance diagram for RoundedCornersPlugin:

GenericPlugin Plugin

List of all members.

Public Member Functions

 _getDivs ($subject, $class)
 getDescription ()
 getDisplayName ()
 getEnabled ()
 getManagementVerbs ()
 getName ()
 manage ($verb, $args)
 register ($category, $path)
 roundOutputFilter ($output, &$smarty)
 setEnabled ($enabled)


Detailed Description

Rounded Corners plugin class.

Definition at line 18 of file RoundedCornersPlugin.inc.php.


Member Function Documentation

RoundedCornersPlugin._getDivs ( subject,
class 
)

look for the opening and closing divs with a particular $class in the $subject Have to count opening and closing divs since regexes are not so good matching opening and closing tags

Definition at line 130 of file RoundedCornersPlugin.inc.php.

Referenced by roundOutputFilter().

RoundedCornersPlugin.getDescription (  ) 

Get a description of this plugin.

Reimplemented from Plugin.

Definition at line 28 of file RoundedCornersPlugin.inc.php.

References Locale.translate().

RoundedCornersPlugin.getDisplayName (  ) 

Get the display name for this plugin.

Returns:
string

Reimplemented from Plugin.

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

References Locale.translate().

RoundedCornersPlugin.getEnabled (  ) 

Determine whether or not this plugin is enabled.

Definition at line 55 of file RoundedCornersPlugin.inc.php.

References Request.getJournal().

Referenced by getManagementVerbs(), and register().

RoundedCornersPlugin.getManagementVerbs (  ) 

Display verbs for the management interface.

Reimplemented from Plugin.

Definition at line 76 of file RoundedCornersPlugin.inc.php.

References getEnabled(), and Locale.translate().

RoundedCornersPlugin.getName (  ) 

Get the name of this plugin. The name must be unique within its category, and should be suitable for part of a filename (ie short, no spaces, and no dependencies on cases being unique).

Returns:
String name of plugin

Reimplemented from Plugin.

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

RoundedCornersPlugin.manage ( verb,
args 
)

Perform management functions

Reimplemented from Plugin.

Definition at line 95 of file RoundedCornersPlugin.inc.php.

References setEnabled().

RoundedCornersPlugin.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 Plugin.

Definition at line 32 of file RoundedCornersPlugin.inc.php.

References Plugin.addLocaleData(), getEnabled(), Config.getVar(), and HookRegistry.register().

RoundedCornersPlugin.roundOutputFilter ( output,
&$  smarty 
)

Do the work of adding in the blocks

Definition at line 106 of file RoundedCornersPlugin.inc.php.

References _getDivs().

RoundedCornersPlugin.setEnabled ( enabled  ) 

Set the enabled/disabled state of this plugin

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

References Request.getJournal(), and Plugin.updateSetting().

Referenced by manage().


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

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