|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| _checkForTar () | |
| _getObjectUrl ($request, $context, $object) | |
| _tarFiles ($targetPath, $targetFile, $sourceFiles) | |
| depositXML ($object, $context, $filename) | |
| executeCLICommand ($scriptName, $command, $context, $outputFile, $objects, $filter, $objectsFileNamePart) | |
| executeExportAction ($request, $objects, $filter, $tab, $objectsFileNamePart, $noValidation=null) | |
| getDescription () | |
| getDisplayName () | |
| getExportDeploymentClassName () | |
| getIssueFilter () | |
| getName () | |
| getPluginSettingsPrefix () | |
| getRepresentationFilter () | |
| getSettingsFormClassName () | |
| getSubmissionFilter () | |
Public Member Functions inherited from DOIPubIdExportPlugin | |
| display ($args, $request) | |
| getArticleGalleys ($galleyIds) | |
| getPubIdDisplayType () | |
| getPubIdType () | |
| getPublishedIssues ($issueIds, $context) | |
| getPublishedSubmissions ($submissionIds, $context) | |
| getUnregisteredArticles ($context) | |
| getUnregisteredGalleys ($context) | |
| getUnregisteredIssues ($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) | |
| executeCLI ($scriptName, &$args) | |
| exportXML ($objects, $filter, $context, $noValidation=null) | |
| getAdditionalFieldNames ($hookName, $args) | |
| getCache () | |
| getDepositStatusSettingName () | |
| getDepositSuccessNotificationMessageKey () | |
| getExportActionNames () | |
| getExportActions ($context) | |
| getStatusActions ($pubObject) | |
| getStatusMessage ($request) | |
| getStatusNames () | |
| 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 () | |
| 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 () | |
| getDirName () | |
| getEnabled () | |
| getHideManagement () | |
| getInstallControlledVocabFiles () | |
| getInstallDataFile () | |
| getInstallEmailTemplateDataFile () | |
| getInstallEmailTemplatesFile () | |
| getInstallFilterConfigFiles () | |
| getInstallMigration () | |
| getInstallSchemaFile () | |
| getInstallSitePluginSettingsFile () | |
| getLocaleFilename ($locale) | |
| 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) | |
Additional Inherited Members | |
Data Fields inherited from PubObjectsExportPlugin | |
| $_cache | |
Data Fields inherited from ImportExportPlugin | |
| $_request | |
Data Fields inherited from Plugin | |
| $pluginCategory | |
| $pluginPath | |
| $request | |
Protected Member Functions inherited from DOIPubIdExportPlugin | |
| _getObjectAdditionalSettings () | |
Protected Member Functions inherited from PubObjectsExportPlugin | |
| _getDAOs () | |
| updateObject ($object) | |
Protected Member Functions inherited from Plugin | |
| _registerTemplateResource ($inCore=false) | |
DataCite export/registration plugin.
Definition at line 30 of file DataciteExportPlugin.inc.php.
| DataciteExportPlugin::_checkForTar | ( | ) |
Test whether the tar binary is available.
Definition at line 351 of file DataciteExportPlugin.inc.php.
References Config\getVar().
Referenced by _tarFiles(), executeCLICommand(), and executeExportAction().
| DataciteExportPlugin::_getObjectUrl | ( | $request, | |
| $context, | |||
| $object | |||
| ) |
Get the canonical URL of an object.
Definition at line 394 of file DataciteExportPlugin.inc.php.
References Plugin\$request, PKPServices\get(), PubObjectsExportPlugin\getCache(), PubObjectsExportPlugin\isTestMode(), and PKPString\regexp_replace().
Referenced by depositXML().
| DataciteExportPlugin::_tarFiles | ( | $targetPath, | |
| $targetFile, | |||
| $sourceFiles | |||
| ) |
Create a tar archive.
| $targetPath | string |
| $targetFile | string |
| $sourceFiles | array |
Definition at line 369 of file DataciteExportPlugin.inc.php.
References _checkForTar(), and Config\getVar().
Referenced by executeCLICommand(), and executeExportAction().
| DataciteExportPlugin::depositXML | ( | $object, | |
| $context, | |||
| $filename | |||
| ) |
Deposit XML document. This must be implemented in the subclasses, if the action is supported.
| $objects | mixed Array of or single published submission, issue or galley |
| $context | Context |
| $filename | Export XML filename |
Reimplemented from PubObjectsExportPlugin.
Definition at line 199 of file DataciteExportPlugin.inc.php.
References Plugin\$request, _getObjectUrl(), PKPApplication\get(), PKPCurlHelper\getCurlObject(), PubObjectsExportPlugin\getDepositStatusSettingName(), Plugin\getSetting(), PubObjectsExportPlugin\isTestMode(), PKPString\regexp_replace(), and DOIPubIdExportPlugin\saveRegisteredDoi().
Referenced by executeCLICommand(), and executeExportAction().
| DataciteExportPlugin::executeCLICommand | ( | $scriptName, | |
| $command, | |||
| $context, | |||
| $outputFile, | |||
| $objects, | |||
| $filter, | |||
| $objectsFileNamePart | |||
| ) |
Reimplemented from PubObjectsExportPlugin.
Definition at line 265 of file DataciteExportPlugin.inc.php.
References _checkForTar(), _tarFiles(), depositXML(), PubObjectsExportPlugin\exportXML(), ImportExportPlugin\getExportFileName(), ImportExportPlugin\getExportPath(), and PubObjectsExportPlugin\usage().
| DataciteExportPlugin::executeExportAction | ( | $request, | |
| $objects, | |||
| $filter, | |||
| $tab, | |||
| $objectsFileNamePart, | |||
$noValidation = null |
|||
| ) |
Execute export action.
| $request | Request |
| $objects | array Array of objects to be exported |
| $filter | string Filter to use |
| $tab | string Tab to return to |
| $objectsFileNamePart | string Export file name part for this kind of objects |
| $noValidation | boolean If set to true no XML validation will be done |
Reimplemented from PubObjectsExportPlugin.
Definition at line 98 of file DataciteExportPlugin.inc.php.
References Plugin\$request, _checkForTar(), PubObjectsExportPlugin\_sendNotification(), _tarFiles(), depositXML(), PubObjectsExportPlugin\exportXML(), ImportExportPlugin\getExportFileName(), ImportExportPlugin\getExportPath(), and getName().
| DataciteExportPlugin::getDescription | ( | ) |
Reimplemented from Plugin.
Definition at line 49 of file DataciteExportPlugin.inc.php.
| DataciteExportPlugin::getDisplayName | ( | ) |
Reimplemented from Plugin.
Definition at line 42 of file DataciteExportPlugin.inc.php.
| DataciteExportPlugin::getExportDeploymentClassName | ( | ) |
Return the name of the plugin's deployment class.
Reimplemented from PubObjectsExportPlugin.
Definition at line 91 of file DataciteExportPlugin.inc.php.
| DataciteExportPlugin::getIssueFilter | ( | ) |
Get the issue filter.
Reimplemented from PubObjectsExportPlugin.
Definition at line 63 of file DataciteExportPlugin.inc.php.
| DataciteExportPlugin::getName | ( | ) |
Reimplemented from Plugin.
Definition at line 35 of file DataciteExportPlugin.inc.php.
Referenced by executeExportAction().
| DataciteExportPlugin::getPluginSettingsPrefix | ( | ) |
Get the plugin ID used as plugin settings prefix.
Reimplemented from ImportExportPlugin.
Definition at line 77 of file DataciteExportPlugin.inc.php.
| DataciteExportPlugin::getRepresentationFilter | ( | ) |
Get the representation filter.
Reimplemented from PubObjectsExportPlugin.
Definition at line 70 of file DataciteExportPlugin.inc.php.
| DataciteExportPlugin::getSettingsFormClassName | ( | ) |
Definition at line 84 of file DataciteExportPlugin.inc.php.
| DataciteExportPlugin::getSubmissionFilter | ( | ) |
Get the submission filter.
Reimplemented from PubObjectsExportPlugin.
Definition at line 56 of file DataciteExportPlugin.inc.php.