Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
MetadataPlugin Class Reference
Inheritance diagram for MetadataPlugin:
Plugin PKPPlugin PKPDc11MetadataPlugin PKPMods34MetadataPlugin PKPNlm30MetadataPlugin PKPOpenurl10MetadataPlugin Dc11MetadataPlugin Mods34MetadataPlugin Nlm30MetadataPlugin Openurl10MetadataPlugin

Public Member Functions

 getInstallDataFile ()
 
 installData ($hookName, $args)
 
 MetadataPlugin ()
 
 register ($category, $path)
 
- 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

Abstract class for metadata plugins.

Definition at line 26 of file MetadataPlugin.inc.php.

Member Function Documentation

MetadataPlugin::getInstallDataFile ( )

This implementation looks for files that contain controlled vocabulary data. It can discover and return more than one file.

See Also
PKPPlugin::getInstallDataFile()
Returns
array|null

Definition at line 53 of file MetadataPlugin.inc.php.

References PKPPlugin\getPluginPath(), and Plugin\getSetting().

MetadataPlugin::installData (   $hookName,
  $args 
)

This implementation marks the vocabulary data as installed.

See Also
PKPPlugin::installData()

Definition at line 82 of file MetadataPlugin.inc.php.

References DAORegistry\getDAO(), and PKPPlugin\getName().

MetadataPlugin::MetadataPlugin ( )

Constructor

Definition at line 30 of file MetadataPlugin.inc.php.

MetadataPlugin::register (   $category,
  $path 
)
See Also
PKPPlugin::register()

Definition at line 41 of file MetadataPlugin.inc.php.

References PKPPlugin\addLocaleData().


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