Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
URNPubIdPlugin Class Reference
Inheritance diagram for URNPubIdPlugin:
PubIdPlugin Plugin PKPPlugin

Public Member Functions

 _calculateCheckNo ($urn)
 
 getDAOFieldNames ()
 
 getDescription ()
 
 getDisplayName ()
 
 getFormFieldNames ()
 
 getName ()
 
 getPubId (&$pubObject, $preview=false)
 
 getPubIdDisplayType ()
 
 getPubIdFullName ()
 
 getPubIdMetadataFile ()
 
 getPubIdType ()
 
 getResolvingURL ($journalId, $pubId)
 
 getSettingsFormName ()
 
 getTemplatePath ()
 
 register ($category, $path)
 
 verifyData ($fieldName, $fieldValue, &$pubObject, $journalId, &$errorMsg)
 
- Public Member Functions inherited from PubIdPlugin
 _getDAOs ()
 
 _setBreadcrumbs ()
 
 checkDuplicate ($pubId, &$pubObject, $journalId)
 
 getAdditionalFieldNames ($hookName, $params)
 
getDAO ($pubObjectType)
 
 getDAOFieldNames ()
 
 getEnabled ($journalId=null)
 
 getFormFieldNames ()
 
getJournal ($journalId)
 
 getManagementVerbs ()
 
 getPubId ($pubObject, $preview=false)
 
 getPubIdDisplayType ()
 
 getPubIdFullName ()
 
 getPubIdMetadataFile ()
 
 getPubIdType ()
 
 getPubObjectType ($pubObject)
 
 getResolvingURL ($journalId, $pubId)
 
 getSettingsFormName ()
 
 manage ($verb, $args)
 
 register ($category, $path)
 
 setEnabled ($enabled)
 
 setStoredPubId (&$pubObject, $pubObjectType, $pubId)
 
 validatePubId ($pubId)
 
 verifyData ($fieldName, $fieldValue, &$pubObject, $journalId, &$errorMsg)
 
- 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

URN plugin class.

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

Member Function Documentation

URNPubIdPlugin::_calculateCheckNo (   $urn)

Get the last, check number. Algorithm (s. http://www.persistent-identifier.de/?link=316): every URN character is replaced with a number according to the conversion table, every number is multiplied by it's position/index (beginning with 1), the numbers' sum is calculated, the sum is devided by the last number, the last number of the quotient before the decimal point is the check number.

Definition at line 311 of file URNPubIdPlugin.inc.php.

Referenced by getPubId(), and verifyData().

URNPubIdPlugin::getDAOFieldNames ( )
See Also
PubIdPlugin::getDAOFieldNames()

Definition at line 255 of file URNPubIdPlugin.inc.php.

URNPubIdPlugin::getDescription ( )
See Also
PKPPlugin::getDescription()

Definition at line 50 of file URNPubIdPlugin.inc.php.

URNPubIdPlugin::getDisplayName ( )
See Also
PKPPlugin::getDisplayName()

Definition at line 43 of file URNPubIdPlugin.inc.php.

URNPubIdPlugin::getFormFieldNames ( )
See Also
PubIdPlugin::getFormFieldNames()

Definition at line 248 of file URNPubIdPlugin.inc.php.

URNPubIdPlugin::getName ( )
See Also
PKPPlugin::getName()

Definition at line 36 of file URNPubIdPlugin.inc.php.

URNPubIdPlugin::getPubIdDisplayType ( )
See Also
PubIdPlugin::getPubIdDisplayType()

Definition at line 226 of file URNPubIdPlugin.inc.php.

URNPubIdPlugin::getPubIdFullName ( )
See Also
PubIdPlugin::getPubIdFullName()

Definition at line 233 of file URNPubIdPlugin.inc.php.

URNPubIdPlugin::getPubIdMetadataFile ( )
See Also
PubIdPlugin::getPubIdMetadataFile()

Definition at line 262 of file URNPubIdPlugin.inc.php.

References getTemplatePath().

URNPubIdPlugin::getPubIdType ( )
See Also
PubIdPlugin::getPubIdType()

Definition at line 219 of file URNPubIdPlugin.inc.php.

Referenced by getPubId().

URNPubIdPlugin::getResolvingURL (   $journalId,
  $pubId 
)
See Also
PubIdPlugin::getResolvingURL()

Definition at line 240 of file URNPubIdPlugin.inc.php.

References Plugin\getSetting().

URNPubIdPlugin::getSettingsFormName ( )
See Also
PubIdPlugin::getSettingsFormName()

Definition at line 269 of file URNPubIdPlugin.inc.php.

URNPubIdPlugin::getTemplatePath ( )
See Also
PKPPlugin::getTemplatePath()

Definition at line 57 of file URNPubIdPlugin.inc.php.

Referenced by getPubIdMetadataFile().

URNPubIdPlugin::register (   $category,
  $path 
)
See Also
PubIdPlugin::register()

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

References PKPPlugin\addLocaleData().

URNPubIdPlugin::verifyData (   $fieldName,
  $fieldValue,
$pubObject,
  $journalId,
$errorMsg 
)

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