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

Public Member Functions

 addCheck ($hookName, $params)
 
 addSet ($hookName, $params)
 
 articleSubmitGetFieldNames ($hookName, $params)
 
 changeDc11Desctiption ($hookName, $params)
 
 insertOpenAIREArticleTombstone ($hookName, $params)
 
 metadataExecute ($hookName, $params)
 
 metadataFieldEdit ($hookName, $params)
 
 metadataFieldView ($hookName, $params)
 
 metadataInitData ($hookName, $params)
 
 metadataReadUserVars ($hookName, $params)
 
 recordsOrIdentifiers ($hookName, $params)
 
 register ($category, $path)
 
 sets ($hookName, $params)
 
- 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

OpenAIRE plugin class.

Definition at line 19 of file OpenAIREPlugin.inc.php.

Member Function Documentation

OpenAIREPlugin::addCheck (   $hookName,
  $params 
)

Add check/validation for the projectID field (= 6 numbers)

Definition at line 135 of file OpenAIREPlugin.inc.php.

OpenAIREPlugin::addSet (   $hookName,
  $params 
)

Change OAI record or identifier to consider the OpenAIRE set

Definition at line 209 of file OpenAIREPlugin.inc.php.

References DAORegistry\getDAO().

OpenAIREPlugin::articleSubmitGetFieldNames (   $hookName,
  $params 
)

Add projectID element to the article

Definition at line 115 of file OpenAIREPlugin.inc.php.

OpenAIREPlugin::changeDc11Desctiption (   $hookName,
  $params 
)

Change Dc11 Description to consider the OpenAIRE elements

Definition at line 223 of file OpenAIREPlugin.inc.php.

References DAORegistry\getDAO().

OpenAIREPlugin::insertOpenAIREArticleTombstone (   $hookName,
  $params 
)

Consider the OpenAIRE set in the article tombstone

Definition at line 309 of file OpenAIREPlugin.inc.php.

References DAORegistry\getDAO().

OpenAIREPlugin::metadataExecute (   $hookName,
  $params 
)

Set article projectID

Definition at line 124 of file OpenAIREPlugin.inc.php.

OpenAIREPlugin::metadataFieldEdit (   $hookName,
  $params 
)

Insert projectID field into author submission step 3 and metadata edit form

Definition at line 93 of file OpenAIREPlugin.inc.php.

References PKPPlugin\getTemplatePath().

OpenAIREPlugin::metadataFieldView (   $hookName,
  $params 
)

Add projectID to the metadata view

Definition at line 104 of file OpenAIREPlugin.inc.php.

References PKPPlugin\getTemplatePath().

OpenAIREPlugin::metadataInitData (   $hookName,
  $params 
)

Init article projectID

Definition at line 146 of file OpenAIREPlugin.inc.php.

OpenAIREPlugin::metadataReadUserVars (   $hookName,
  $params 
)

Concern projectID field in the form

Definition at line 157 of file OpenAIREPlugin.inc.php.

OpenAIREPlugin::recordsOrIdentifiers (   $hookName,
  $params 
)

Get OpenAIRE records or identifiers

Definition at line 180 of file OpenAIREPlugin.inc.php.

References DAORegistry\getDAO().

OpenAIREPlugin::register (   $category,
  $path 
)

Called as a plugin is registered to the registry

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

Definition at line 27 of file OpenAIREPlugin.inc.php.

References HookRegistry\register(), and DAORegistry\registerDAO().

OpenAIREPlugin::sets (   $hookName,
  $params 
)

Add OpenAIRE set

Definition at line 171 of file OpenAIREPlugin.inc.php.


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