
Public Member Functions | |
| _getDivs ($subject, $class) | |
| getDescription () | |
| getDisplayName () | |
| getEnabled () | |
| getManagementVerbs () | |
| getName () | |
| manage ($verb, $args) | |
| register ($category, $path) | |
| roundOutputFilter ($output, &$smarty) | |
| setEnabled ($enabled) | |
Definition at line 18 of file RoundedCornersPlugin.inc.php.
| 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.
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).
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.
| $category | String Name of category plugin was registered to | |
| $path | String The path the plugin was found in |
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().
1.5.6