Open Journal Systems
3.3.0
|
Additional Inherited Members | |
![]() | |
$pluginCategory | |
$pluginPath | |
$request | |
![]() | |
_registerTemplateResource ($inCore=false) | |
Public identifiers plugins common functions.
Definition at line 18 of file PubIdPlugin.inc.php.
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 104 of file PubIdPlugin.inc.php.
References DAORegistry\getDAO(), and getPubObjectTypes().
Referenced by DOIPubIdPlugin\validatePublicationDoi(), and URNPubIdPlugin\validatePublicationUrn().
PubIdPlugin::clearIssueObjectsPubIds | ( | $issue | ) |
Clear pubIds of all issue objects.
$issue | Issue |
Definition at line 257 of file PubIdPlugin.inc.php.
References PKPServices\get(), DAORegistry\getDAO(), PKPPubIdPlugin\getPubIdType(), Application\getRepresentationDAO(), and PKPPubIdPlugin\isObjectTypeEnabled().
PubIdPlugin::getDAOs | ( | ) |
Return an array of publication object types and the corresponding DAOs.
Reimplemented from PKPPubIdPlugin.
Definition at line 302 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 121 of file PubIdPlugin.inc.php.
References PKPPubIdPlugin\constructPubId(), PKPServices\get(), PKPPubIdPlugin\getContext(), DAORegistry\getDAO(), PKPPubIdPlugin\getPrefixFieldName(), PKPPubIdPlugin\getPubIdType(), PKPPubIdPlugin\getPubObjectType(), Plugin\getSetting(), PKPPubIdPlugin\getSuffixFieldName(), PKPPubIdPlugin\getSuffixPatternsFieldNames(), PKPPubIdPlugin\isObjectTypeEnabled(), PKPString\regexp_replace(), and PKPString\strtolower().
Referenced by DOIPubIdPlugin\getCitationData(), manage(), URNPubIdPlugin\modifyObjectPropertyValues(), and DOIPubIdPlugin\modifyObjectPropertyValues().
PubIdPlugin::getPubObjectTypes | ( | ) |
Get the possible publication object types.
Reimplemented from PKPPubIdPlugin.
Definition at line 95 of file PubIdPlugin.inc.php.
Referenced by checkDuplicate().
PubIdPlugin::manage | ( | $args, | |
$request | |||
) |
Perform a management function.
$args | array |
$request | PKPRequest |
Reimplemented from PKPPubIdPlugin.
Definition at line 23 of file PubIdPlugin.inc.php.
References Plugin\$request, PKPServices\get(), DAORegistry\getDAO(), getPubId(), PKPPubIdPlugin\getPubIdType(), Application\getRepresentationDAO(), Plugin\getSetting(), PKPPubIdPlugin\getSuffixFieldName(), and PKPPubIdPlugin\isObjectTypeEnabled().