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

Public Member Functions

 callbackLoadCategory ($hookName, $args)
 displayHomepage ($hookName, $args)
 displayManagerLink ($hookName, $params)
 getDefaultStyleSheetFile ()
 getInstallSchemaFile ()
 getManagementVerbs ()
 getStyleSheetFile ()
 manage ($verb, $args, &$message, &$messageParams)
 register ($category, $path)
 setBreadcrumbs ($isSubclass=false)
 smartyPluginUrl ($params, &$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

ExternalFeed plugin class.

Definition at line 18 of file

Member Function Documentation

ExternalFeedPlugin::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 141 of file

References PKPPlugin\getName().

ExternalFeedPlugin::displayHomepage (   $hookName,

Display external feed content on journal homepage.


Definition at line 171 of file

References Registry\get(), DAORegistry\getDAO(), and Request\getJournal().

ExternalFeedPlugin::displayManagerLink (   $hookName,

Display management link for JM.


Definition at line 252 of file

References smartyPluginUrl().

ExternalFeedPlugin::getDefaultStyleSheetFile ( )

Get the filename of the default CSS stylesheet for this plugin.

Definition at line 67 of file

References PKPPlugin\getPluginPath().

Referenced by getStyleSheetFile().

ExternalFeedPlugin::getInstallSchemaFile ( )

Get the filename of the ADODB schema for this plugin.

Definition at line 60 of file

References PKPPlugin\getPluginPath().

ExternalFeedPlugin::getManagementVerbs ( )

Display verbs for the management interface.

Definition at line 157 of file

ExternalFeedPlugin::getStyleSheetFile ( )

Get the filename of the CSS stylesheet for this plugin.

Definition at line 74 of file

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

Referenced by register().

ExternalFeedPlugin::manage (   $verb,

Execute a management verb on this plugin

$messagestring Result status message
$messageParamsarray Parameters for the message key

Definition at line 269 of file

References DAORegistry\getDAO(), Request\getJournal(), PKPPlugin\getName(), PKPHandler\getRangeInfo(), PKPPlugin\getTemplatePath(), PKPRequest\getUserVar(), PKPRequest\redirect(), and AppLocale\requireComponents().

ExternalFeedPlugin::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 25 of file

References PKPRequest\getBaseUrl(), PKPPlugin\getName(), getStyleSheetFile(), HookRegistry\register(), and DAORegistry\registerDAO().

ExternalFeedPlugin::setBreadcrumbs (   $isSubclass = false)

Set the page's breadcrumbs, given the plugin's tree of items to append.


Definition at line 113 of file

References PKPPlugin\getName(), and Request\url().

ExternalFeedPlugin::smartyPluginUrl (   $params,

Extend the {url ...} smarty to support externalFeed plugin.

Definition at line 91 of file

References PKPPlugin\getCategory(), and PKPPlugin\getName().

Referenced by displayManagerLink().

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