
Public Member Functions | |
| callbackLoadCategory ($hookName, $args) | |
| getDescription () | |
| getDisplayName () | |
| getEnabled () | |
| getInstallationPath () | |
| getManagementVerbs () | |
| getName () | |
| isConfigured () | |
| manage ($verb, $args) | |
| register ($category, $path) | |
| rtOutputFilter ($output, &$smarty) | |
| setEnabled ($enabled) | |
Definition at line 23 of file OpenAdsPlugin.inc.php.
| OpenAdsPlugin.callbackLoadCategory | ( | $ | hookName, | |
| $ | args | |||
| ) |
Register as a block plugin, even though this is a generic plugin. This will allow the plugin to behave as a block plugin, i.e. to have layout tasks performed on it.
| $hookName | string | |
| $args | array |
Definition at line 54 of file OpenAdsPlugin.inc.php.
| OpenAdsPlugin.getDescription | ( | ) |
Get a description of this plugin.
Reimplemented from Plugin.
Definition at line 81 of file OpenAdsPlugin.inc.php.
References Plugin.addLocaleData(), isConfigured(), and Locale.translate().
| OpenAdsPlugin.getDisplayName | ( | ) |
Get the display name for this plugin.
Reimplemented from Plugin.
Definition at line 76 of file OpenAdsPlugin.inc.php.
References Plugin.addLocaleData(), and Locale.translate().
| OpenAdsPlugin.getEnabled | ( | ) |
Determine whether or not this plugin is enabled.
Definition at line 203 of file OpenAdsPlugin.inc.php.
References Request.getJournal().
Referenced by getManagementVerbs(), and register().
| OpenAdsPlugin.getInstallationPath | ( | ) |
Get the installation path to OpenAds
Definition at line 265 of file OpenAdsPlugin.inc.php.
References Config.getVar().
Referenced by isConfigured(), manage(), and rtOutputFilter().
| OpenAdsPlugin.getManagementVerbs | ( | ) |
Display verbs for the management interface.
Reimplemented from Plugin.
Definition at line 180 of file OpenAdsPlugin.inc.php.
References getEnabled(), isConfigured(), and Locale.translate().
| OpenAdsPlugin.getName | ( | ) |
Get the name of this plugin. The name must be unique within its category.
Reimplemented from Plugin.
Definition at line 72 of file OpenAdsPlugin.inc.php.
| OpenAdsPlugin.isConfigured | ( | ) |
Get the configured state of this plugin
Definition at line 255 of file OpenAdsPlugin.inc.php.
References getInstallationPath().
Referenced by getDescription(), and getManagementVerbs().
| OpenAdsPlugin.manage | ( | $ | verb, | |
| $ | args | |||
| ) |
Perform management functions
Reimplemented from Plugin.
Definition at line 224 of file OpenAdsPlugin.inc.php.
References getInstallationPath(), Request.getJournal(), TemplateManager.getManager(), Request.redirect(), and setEnabled().
| OpenAdsPlugin.register | ( | $ | category, | |
| $ | path | |||
| ) |
Called as a plugin is registered to the registry
| $category | String Name of category plugin was registered to |
Reimplemented from Plugin.
Definition at line 33 of file OpenAdsPlugin.inc.php.
References Plugin.addLocaleData(), getEnabled(), and HookRegistry.register().
| OpenAdsPlugin.rtOutputFilter | ( | $ | output, | |
| &$ | smarty | |||
| ) |
Output filter to modify the RT sidebar
Definition at line 157 of file OpenAdsPlugin.inc.php.
References getInstallationPath(), Request.getJournal(), and Locale.translate().
| OpenAdsPlugin.setEnabled | ( | $ | enabled | ) |
Set the enabled/disabled state of this plugin
Definition at line 212 of file OpenAdsPlugin.inc.php.
References Request.getJournal(), and Plugin.updateSetting().
Referenced by manage().
1.5.6