|
Open Monograph Press
3.3.0
|
Additional Inherited Members | |
Data Fields inherited from Plugin | |
| $pluginCategory | |
| $pluginPath | |
| $request | |
Protected Member Functions inherited from Plugin | |
| _registerTemplateResource ($inCore=false) | |
Public identifiers plugins common functions.
Definition at line 18 of file PubIdPlugin.inc.php.
| PubIdPlugin::__construct | ( | ) |
| PubIdPlugin::checkDuplicate | ( | $pubId, | |
| $pubObjectType, | |||
| $excludeId, | |||
| $contextId | |||
| ) |
Check for duplicate public identifiers.
Checks to see if a pubId has already been assigned to any object in the context.
| $pubId | string |
| $pubObjectType | string Class name of the pub object being checked |
| $excludeId | integer This object id will not be checked for duplicates |
| $contextId | integer |
Reimplemented from PKPPubIdPlugin.
Definition at line 168 of file PubIdPlugin.inc.php.
References DAORegistry\getDAO(), PKPPubIdPlugin\getPubIdType(), and getPubObjectTypes().
Referenced by DOIPubIdPlugin\validatePublicationDoi(), and URNPubIdPlugin\validatePublicationUrn().
| PubIdPlugin::getDAOs | ( | ) |
Return an array of publication object types and the corresponding DAOs.
Reimplemented from PKPPubIdPlugin.
Definition at line 161 of file PubIdPlugin.inc.php.
References DAORegistry\getDAO().
| PubIdPlugin::getPubId | ( | $pubObject | ) |
Get the public identifier.
| $pubObject | object Submission, Representation, SubmissionFile + OJS Issue |
Reimplemented from PKPPubIdPlugin.
Definition at line 43 of file PubIdPlugin.inc.php.
References PKPPubIdPlugin\constructPubId(), PKPServices\get(), PKPPubIdPlugin\getContext(), PKPPubIdPlugin\getPrefixFieldName(), PKPPubIdPlugin\getPubIdType(), PKPPubIdPlugin\getPubObjectType(), Plugin\getSetting(), PKPPubIdPlugin\getSuffixFieldName(), PKPPubIdPlugin\getSuffixPatternsFieldNames(), PKPPubIdPlugin\isObjectTypeEnabled(), PKPString\regexp_replace(), and PKPString\strtolower().
Referenced by URNPubIdPlugin\modifyObjectPropertyValues(), and DOIPubIdPlugin\modifyObjectPropertyValues().
| PubIdPlugin::getPubObjectTypes | ( | ) |
Get the possible publication object types.
Reimplemented from PKPPubIdPlugin.
Definition at line 34 of file PubIdPlugin.inc.php.
Referenced by checkDuplicate().