Свойство | Type | Description | |
---|---|---|---|
$_cache | PubObjectCache |
Méthode | Description | |
---|---|---|
__construct ( ) | Constructor | |
_instantiateExportDeployment ( $context ) : PKPImportExportDeployment | Instantiate the export deployment. | |
_sendNotification ( $user, $message, $notificationType, $param = null ) | Add a notification. | |
display ( $args, $request ) | ||
executeCLI ( $scriptName, &$args ) | ||
executeCLICommand ( $scriptName, $command, $context, $outputFile, $objects, $filter, $objectsFileNamePart ) | Execute the CLI command | |
executeExportAction ( $request, $objects, $filter, $tab, $objectsFileNamePart ) | Execute export action. | |
exportXML ( $objects, $filter, $context ) : string | Get the XML for selected objects. | |
getAdditionalFieldNames ( $hookName, $args ) | Hook callback that returns the setting's name prefixed with the plug-in's id to avoid name collisions. | |
getArticleGalleys ( $galleyIds, $context ) : array | Get article galleys from gallley IDs. | |
getCache ( ) : PubObjectCache | Get the plugin cache | |
getDepositStatusSettingName ( ) : string | Get deposit status setting name. | |
getExportActionNames ( ) : array | Get action names. | |
getExportActions ( $context ) : array | Get actions. | |
getExportDeploymentClassName ( ) : string | Return the name of the plugin's deployment class. | |
getIssueFilter ( ) : string | null | Get the issue filter. | |
getPublishedArticles ( $submissionIds, $context ) : array | Get published articles from submission IDs. | |
getPublishedIssues ( $issueIds, $context ) : array | Get published issues from issue IDs. | |
getRepresentationFilter ( ) : string | null | Get the representation filter. | |
getStatusActions ( $pubObject ) : array | Get status actions for the display to the user, i.e. links to a web site with more information about the status. | |
getStatusNames ( ) : array | Get status names for the filter search option. | |
getSubmissionFilter ( ) : string | null | Get the submission filter. | |
getTemplatePath ( $inCore = false ) | ||
isTestMode ( $context ) : boolean | Check whether we are in test mode. | |
manage ( $args, $request ) | ||
markRegistered ( $context, $objects ) | Mark selected submissions or issues as registered. | |
register ( $category, $path ) | ||
registerDaoHook ( $daoName ) | Register the hook that adds an additional field name to objects. | |
updateObject ( $object ) | Update the given object. | |
usage ( $scriptName ) |
public _instantiateExportDeployment ( $context ) : PKPImportExportDeployment | ||
$context | Context | |
Résultat | PKPImportExportDeployment |
public _sendNotification ( $user, $message, $notificationType, $param = null ) | ||
$user | User | |
$message | string An i18n key. | |
$notificationType | integer One of the NOTIFICATION_TYPE_* constants. | |
$param | string An additional parameter for the message. |
public executeCLICommand ( $scriptName, $command, $context, $outputFile, $objects, $filter, $objectsFileNamePart ) | ||
$scriptName | The name of the command-line script (displayed as usage info) | |
$command | string (export or register) | |
$context | Context | |
$outputFile | string Path to the file where the exported XML should be saved | |
$objects | array Objects to be exported or registered | |
$filter | string Filter to use | |
$objectsFileNamePart | string Export file name part for this kind of objects |
public executeExportAction ( $request, $objects, $filter, $tab, $objectsFileNamePart ) | ||
$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 |
public getAdditionalFieldNames ( $hookName, $args ) | ||
$hookName | string | |
$args | array |
public getArticleGalleys ( $galleyIds, $context ) : array | ||
$galleyIds | array | |
$context | Context | |
Résultat | array |
public getCache ( ) : PubObjectCache | ||
Résultat | PubObjectCache |
public getDepositStatusSettingName ( ) : string | ||
Résultat | string |
public getExportActionNames ( ) : array | ||
Résultat | array | (string action => string text) |
public getExportActions ( $context ) : array | ||
$context | Context | |
Résultat | array |
abstract public getExportDeploymentClassName ( ) : string | ||
Résultat | string |
public getIssueFilter ( ) : string | null | ||
Résultat | string | null |
public getPublishedArticles ( $submissionIds, $context ) : array | ||
$submissionIds | array | |
$context | Context | |
Résultat | array |
public getPublishedIssues ( $issueIds, $context ) : array | ||
$issueIds | array | |
$context | Context | |
Résultat | array |
public getRepresentationFilter ( ) : string | null | ||
Résultat | string | null |
public getStatusActions ( $pubObject ) : array | ||
$pubObject | ||
Résultat | array | (string status => link) |
public getStatusNames ( ) : array | ||
Résultat | array | (string status => string text) |
public getSubmissionFilter ( ) : string | null | ||
Résultat | string | null |
public isTestMode ( $context ) : boolean | ||
$context | Context | |
Résultat | boolean |
public markRegistered ( $context, $objects ) | ||
$context | Context | |
$objects | array Array of published articles, issues or galleys |
public registerDaoHook ( $daoName ) | ||
$daoName | string |
public updateObject ( $object ) | ||
$object | Issue|PublishedArticle|ArticleGAlley |