PHP Class DataciteExportPlugin, ojs

Inheritance: extends DOIExportPlugin
Show file Open project: pkp/ojs

Public Methods

Method Description
__construct ( ) Constructor
_checkForTar ( ) : boolean | array Test whether the tar binary is available.
_getObjectUrl ( $request, $context, $object ) Get the canonical URL of an object.
_tarFiles ( $targetPath, $targetFile, $sourceFiles ) Create a tar archive.
depositXML ( $object, $context, $filename )
executeCLICommand ( $scriptName, $command, $context, $outputFile, $objects, $filter, $objectsFileNamePart )
executeExportAction ( $request, $objects, $filter, $tab, $objectsFileNamePart )
getDescription ( )
getDisplayName ( )
getExportDeploymentClassName ( )
getIssueFilter ( )
getName ( )
getPluginSettingsPrefix ( )
getRepresentationFilter ( )
getSettingsFormClassName ( )
getSubmissionFilter ( )

Method Details

__construct() public method

Constructor
public __construct ( )

_checkForTar() public method

Test whether the tar binary is available.
public _checkForTar ( ) : boolean | array
return boolean | array Boolean true if available otherwise an array with an error message.

_getObjectUrl() public method

Get the canonical URL of an object.
public _getObjectUrl ( $request, $context, $object )
$request Request
$context Context
$object Issue|PublishedArticle|ArticleGalley

_tarFiles() public method

Create a tar archive.
public _tarFiles ( $targetPath, $targetFile, $sourceFiles )
$targetPath string
$targetFile string
$sourceFiles array

depositXML() public method

public depositXML ( $object, $context, $filename )

executeCLICommand() public method

public executeCLICommand ( $scriptName, $command, $context, $outputFile, $objects, $filter, $objectsFileNamePart )

executeExportAction() public method

public executeExportAction ( $request, $objects, $filter, $tab, $objectsFileNamePart )

getDescription() public method

See also: Plugin::getDescription()
public getDescription ( )

getDisplayName() public method

See also: Plugin::getDisplayName()
public getDisplayName ( )

getExportDeploymentClassName() public method

getIssueFilter() public method

public getIssueFilter ( )

getName() public method

See also: Plugin::getName()
public getName ( )

getPluginSettingsPrefix() public method

getRepresentationFilter() public method

getSettingsFormClassName() public method

getSubmissionFilter() public method

public getSubmissionFilter ( )