Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
OpenAdsPlugin Class Reference
Inheritance diagram for OpenAdsPlugin:

Public Member Functions

 callbackLoadCategory ($hookName, $args)
 getInstallationPath ()
 getManagementVerbs ()
 isConfigured ()
 register ($category, $path)
 rtOutputFilter ($output, &$smarty)
- Public Member Functions inherited from GenericPlugin
 GenericPlugin ()
 getManagementVerbs ($verbs=array())
 manage ($verb, $args, &$message, &$messageParams)
- Public Member Functions inherited from LazyLoadPlugin
 getEnabled ()
 getName ()
 LazyLoadPlugin ()
 register ($category, $path)
 setEnabled ($enabled)
- Public Member Functions inherited from Plugin
 getContextSpecificPluginSettingsFile ()
 getNewJournalPluginSettingsFile ()
 getSetting ($journalId, $name)
 Plugin ()
 updateSetting ($journalId, $name, $value, $type=null)
- Public Member Functions inherited from PKPPlugin
 _getContextSpecificInstallationHook ()
 addHelpData ($locale=null)
 addLocaleData ($locale=null)
 getCategory ()
 getContextSpecificPluginSettingsFile ()
 getContextSpecificSetting ($context, $name)
 getCurrentVersion ()
 getDescription ()
 getDisplayName ()
 getHelpMappingFilename ()
 getHideManagement ()
 getInstallDataFile ()
 getInstallEmailTemplateDataFile ()
 getInstallEmailTemplatesFile ()
 getInstallFilterConfigFiles ()
 getInstallSchemaFile ()
 getInstallSitePluginSettingsFile ()
 getLocaleFilename ($locale)
 getManagementVerbs ()
 getName ()
 getPluginPath ()
 getSeq ()
 getSettingMainContext ()
 getTemplatePath ()
 import ($class)
 installContextSpecificSettings ($hookName, $args)
 installData ($hookName, $args)
 installEmailTemplateData ($hookName, $args)
 installEmailTemplates ($hookName, $args)
 installFilters ($hookName, $args)
 installLocale ($hookName, $args)
 installSiteSettings ($hookName, $args)
 isSitePlugin ()
 manage ($verb, $args, &$message, &$messageParams, $request=null)
 PKPPlugin ()
 register ($category, $path)
 smartyPluginUrl ($params, &$smarty)
 updateContextSpecificSetting ($context, $name, $value, $type=null)
 updateSchema ($hookName, $args)

Detailed Description

Integrate OpenAds ad manager with OJS.

Definition at line 22 of file

Member Function Documentation

OpenAdsPlugin::callbackLoadCategory (   $hookName,

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.


Definition at line 51 of file

References PKPPlugin\getName().

OpenAdsPlugin::getInstallationPath ( )

Get the installation path to OpenAds


Definition at line 235 of file

References Config\getVar().

Referenced by isConfigured(), and rtOutputFilter().

OpenAdsPlugin::getManagementVerbs ( )

Display verbs for the management interface.

Definition at line 168 of file

References isConfigured().

OpenAdsPlugin::isConfigured ( )

Get the configured state of this plugin


Definition at line 225 of file

References getInstallationPath().

Referenced by getManagementVerbs().

OpenAdsPlugin::register (   $category,

Called as a plugin is registered to the registry

$categoryString Name of category plugin was registered to
boolean True iff plugin initialized successfully; if false, the plugin will not be registered.

Definition at line 32 of file

References HookRegistry\register().

OpenAdsPlugin::rtOutputFilter (   $output,

Output filter to modify the RT sidebar

Definition at line 145 of file

References getInstallationPath(), Request\getJournal(), and Plugin\getSetting().

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