|
Open Preprint Systems
3.3.0
|
Public Member Functions | |
| display ($args, $request) | |
| getArticleGalleys ($galleyIds) | |
| getPubIdDisplayType () | |
| getPubIdType () | |
| getPublishedSubmissions ($submissionIds, $context) | |
| getUnregisteredArticles ($context) | |
| getUnregisteredGalleys ($context) | |
| markRegistered ($context, $objects) | |
| saveRegisteredDoi ($context, $object, $testPrefix='10.1234') | |
Public Member Functions inherited from PubObjectsExportPlugin | |
| _instantiateExportDeployment ($context) | |
| _instantiateSettingsForm ($context) | |
| _sendNotification ($user, $message, $notificationType, $param=null) | |
| addToSchema ($hookName, $params) | |
| callbackParseCronTab ($hookName, $args) | |
| depositXML ($objects, $context, $filename) | |
| executeCLI ($scriptName, &$args) | |
| executeCLICommand ($scriptName, $command, $context, $outputFile, $objects, $filter, $objectsFileNamePart) | |
| executeExportAction ($request, $objects, $filter, $tab, $objectsFileNamePart, $noValidation=null) | |
| exportXML ($objects, $filter, $context, $noValidation=null) | |
| getAdditionalFieldNames ($hookName, $args) | |
| getCache () | |
| getDepositStatusSettingName () | |
| getDepositSuccessNotificationMessageKey () | |
| getExportActionNames () | |
| getExportActions ($context) | |
| getExportDeploymentClassName () | |
| getRepresentationFilter () | |
| getStatusActions ($pubObject) | |
| getStatusMessage ($request) | |
| getStatusNames () | |
| getSubmissionFilter () | |
| isTestMode ($context) | |
| manage ($args, $request) | |
| register ($category, $path, $mainContextId=null) | |
| usage ($scriptName) | |
Public Member Functions inherited from ImportExportPlugin | |
| displayXMLValidationErrors ($errors, $xml) | |
| getActions ($request, $actionArgs) | |
| getExportFileName ($basePath, $objectsFileNamePart, $context, $extension='.xml') | |
| getExportPath () | |
| getPluginSettingsPrefix () | |
| isAllowedMethod ($url) | |
| isRelativePath ($url) | |
| pluginUrl ($params, $smarty) | |
Public Member Functions inherited from Plugin | |
| __construct () | |
| _overridePluginTemplates ($hookName, $args) | |
| addLocaleData ($locale=null) | |
| getCanDisable () | |
| getCanEnable () | |
| getCategory () | |
| getContextSpecificPluginSettingsFile () | |
| getCurrentVersion () | |
| getDescription () | |
| getDirName () | |
| getDisplayName () | |
| getEnabled () | |
| getHideManagement () | |
| getInstallControlledVocabFiles () | |
| getInstallDataFile () | |
| getInstallEmailTemplateDataFile () | |
| getInstallEmailTemplatesFile () | |
| getInstallFilterConfigFiles () | |
| getInstallMigration () | |
| getInstallSchemaFile () | |
| getInstallSitePluginSettingsFile () | |
| getLocaleFilename ($locale) | |
| getName () | |
| getPluginPath () | |
| & | getRequest () |
| getSeq () | |
| getSetting ($contextId, $name) | |
| getTemplatePath ($inCore=false) | |
| getTemplateResource ($template=null, $inCore=false) | |
| import ($class) | |
| installContextSpecificSettings ($hookName, $args) | |
| installControlledVocabs ($hookName, $args) | |
| installData ($hookName, $args) | |
| installEmailTemplateData ($hookName, $args) | |
| installEmailTemplates ($hookName, $args) | |
| installFilters ($hookName, $args) | |
| installLocale ($hookName, $args) | |
| installSiteSettings ($hookName, $args) | |
| isSitePlugin () | |
| smartyPluginUrl ($params, $smarty) | |
| updateSchema ($hookName, $args) | |
| updateSetting ($contextId, $name, $value, $type=null) | |
Protected Member Functions | |
| _getObjectAdditionalSettings () | |
Protected Member Functions inherited from PubObjectsExportPlugin | |
| _getDAOs () | |
| updateObject ($object) | |
Protected Member Functions inherited from Plugin | |
| _registerTemplateResource ($inCore=false) | |
Additional Inherited Members | |
Data Fields inherited from PubObjectsExportPlugin | |
| $_cache | |
Data Fields inherited from ImportExportPlugin | |
| $_request | |
Data Fields inherited from Plugin | |
| $pluginCategory | |
| $pluginPath | |
| $request | |
Basis class for DOI XML metadata export plugins.
Definition at line 24 of file DOIPubIdExportPlugin.inc.php.
|
protected |
Get a list of additional setting names that should be stored with the objects.
Reimplemented from PubObjectsExportPlugin.
Reimplemented in CrossRefExportPlugin.
Definition at line 109 of file DOIPubIdExportPlugin.inc.php.
References ImportExportPlugin\getPluginSettingsPrefix().
| DOIPubIdExportPlugin::display | ( | $args, | |
| $request | |||
| ) |
Display the import/export plugin.
| $args | array |
| $request | PKPRequest |
Reimplemented from PubObjectsExportPlugin.
Definition at line 28 of file DOIPubIdExportPlugin.inc.php.
References Plugin\$request, PKPTemplateManager\getManager(), Plugin\getTemplateResource(), and PluginRegistry\loadCategory().
| DOIPubIdExportPlugin::getArticleGalleys | ( | $galleyIds | ) |
Get article galleys with a DOI assigned from gallley IDs.
| $galleyIds | array |
Reimplemented from PubObjectsExportPlugin.
Definition at line 177 of file DOIPubIdExportPlugin.inc.php.
References DAORegistry\getDAO().
| DOIPubIdExportPlugin::getPubIdDisplayType | ( | ) |
| DOIPubIdExportPlugin::getPubIdType | ( | ) |
| DOIPubIdExportPlugin::getPublishedSubmissions | ( | $submissionIds, | |
| $context | |||
| ) |
Get published submissions with a DOI assigned from submission IDs.
| $submissionIds | array |
| $context | Context |
Reimplemented from PubObjectsExportPlugin.
Definition at line 163 of file DOIPubIdExportPlugin.inc.php.
References PKPServices\get().
| DOIPubIdExportPlugin::getUnregisteredArticles | ( | $context | ) |
Retrieve all unregistered articles.
| $context | Context |
Reimplemented from PubObjectsExportPlugin.
Definition at line 120 of file DOIPubIdExportPlugin.inc.php.
References DAORegistry\getDAO().
| DOIPubIdExportPlugin::getUnregisteredGalleys | ( | $context | ) |
Retrieve all unregistered galleys.
| $context | Context |
Definition at line 141 of file DOIPubIdExportPlugin.inc.php.
References DAORegistry\getDAO().
| DOIPubIdExportPlugin::markRegistered | ( | $context, | |
| $objects | |||
| ) |
Mark selected submissions as registered.
| $context | Context |
| $objects | array Array of published submissions or galleys |
Reimplemented from PubObjectsExportPlugin.
Reimplemented in CrossRefExportPlugin.
Definition at line 77 of file DOIPubIdExportPlugin.inc.php.
References PubObjectsExportPlugin\getDepositStatusSettingName(), and saveRegisteredDoi().
| DOIPubIdExportPlugin::saveRegisteredDoi | ( | $context, | |
| $object, | |||
$testPrefix = '10.1234' |
|||
| ) |
Saving object's DOI to the object's "registeredDoi" setting. We prefix the setting with the plugin's id so that we do not get name clashes when several DOI registration plug-ins are active at the same time.
| $context | Context |
| $object | Submission|ArticleGalley |
| $testPrefix | string |
Definition at line 95 of file DOIPubIdExportPlugin.inc.php.
References ImportExportPlugin\getPluginSettingsPrefix(), PubObjectsExportPlugin\isTestMode(), PKPString\regexp_replace(), and PubObjectsExportPlugin\updateObject().
Referenced by markRegistered(), CrossRefExportPlugin\markRegistered(), and CrossRefExportPlugin\updateDepositStatus().