Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
MetadataPlugin Class Reference
Inheritance diagram for MetadataPlugin:
Plugin 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
 _getContextSpecificInstallationHook ()
 
 addLocaleData ($locale=null)
 
 getCategory ()
 
 getContextSpecificPluginSettingsFile ()
 
 getContextSpecificSetting ($context, $name)
 
 getCurrentVersion ()
 
 getDescription ()
 
 getDisplayName ()
 
 getHideManagement ()
 
 getInstallDataFile ()
 
 getInstallEmailTemplateDataFile ()
 
 getInstallEmailTemplatesFile ()
 
 getInstallFilterConfigFiles ()
 
 getInstallSchemaFile ()
 
 getInstallSitePluginSettingsFile ()
 
 getLocaleFilename ($locale)
 
 getManagementVerbLinkAction ($request, $verb)
 
 getManagementVerbs ()
 
 getName ()
 
 getPluginPath ()
 
getRequest ()
 
 getSeq ()
 
 getSetting ($contextId, $name)
 
 getSettingMainContext ()
 
 getTemplatePath ($inCore=false)
 
 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, &$pluginModalContent=null)
 
 Plugin ()
 
 register ($category, $path)
 
 smartyPluginUrl ($params, &$smarty)
 
 updateContextSpecificSetting ($context, $name, $value, $type=null)
 
 updateSchema ($hookName, $args)
 
 updateSetting ($contextId, $name, $value, $type=null)
 

Additional Inherited Members

- Public Attributes inherited from Plugin
 $pluginCategory
 
 $pluginPath
 
 $request
 

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
Plugin::getInstallDataFile()
Returns
array|null

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

References Plugin\$pluginPath, Plugin\getPluginPath(), and Plugin\getSetting().

MetadataPlugin::installData (   $hookName,
  $args 
)

This implementation marks the vocabulary data as installed.

See Also
Plugin::installData()

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

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

MetadataPlugin::MetadataPlugin ( )

Constructor

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

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

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

References Plugin\addLocaleData().


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