PHP 클래스 DOIPubIdExportPlugin, ojs

상속: extends ImportExportPlugin
파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor
_instantiateSettingsForm ( $context ) : CrossRefSettingsForm Instantiate the settings form.
callbackParseCronTab ( $hookName, $args )
depositXML ( $objects, $context, $filename ) : boolean Deposit XML document.
display ( $args, $request )
executeExportAction ( $request, $objects, $filter, $tab, $objectsFileNamePart )
getAdditionalFieldNames ( $hookName, $args ) Hook callback that returns the "registeredDoi" setting's name prefixed with the plug-in's id to avoid name collisions.
getArticleGalleys ( $galleyIds, $context ) : array Get article galleys with a DOI assigned from gallley IDs.
getDepositSuccessNotificationMessageKey ( ) Get the locale key used in the notification for the successful deposit.
getPubIdDisplayType ( ) : string Get pub ID display type
getPubIdType ( ) : string Get pub ID type
getPublishedArticles ( $submissionIds, $context ) : array Get published articles with a DOI asigned from submission IDs.
getPublishedIssues ( $issueIds, $context ) : array Get published issues with a DOI asigned from issue IDs.
getUnregisteredArticles ( $context ) : array Retrieve all unregistered articles.
getUnregisteredGalleys ( $context ) : array Retrieve all unregistered articles.
getUnregisteredIssues ( $context ) : array Retrieve all unregistered issues.
markRegistered ( $context, $objects ) Mark selected submissions or issues as registered.
register ( $category, $path )
saveRegisteredDoi ( $context, $object, $testPrefix = '10.1234' ) Saving object's DOI to the object's "registeredDoi" setting.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

_instantiateSettingsForm() 공개 메소드

Instantiate the settings form.
public _instantiateSettingsForm ( $context ) : CrossRefSettingsForm
$context Context
리턴 CrossRefSettingsForm

callbackParseCronTab() 공개 메소드

public callbackParseCronTab ( $hookName, $args )

depositXML() 추상적인 공개 메소드

This must be implemented in the subclasses, if the action is supported.
abstract public depositXML ( $objects, $context, $filename ) : boolean
$objects mixed Array of or single published article, issue or galley
$context Context
$filename Export XML filename
리턴 boolean Whether the XML document has been registered

display() 공개 메소드

public display ( $args, $request )

executeExportAction() 공개 메소드

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

getAdditionalFieldNames() 공개 메소드

Hook callback that returns the "registeredDoi" setting's name prefixed with the plug-in's id to avoid name collisions.
또한 보기: DAO::getAdditionalFieldNames()
public getAdditionalFieldNames ( $hookName, $args )
$hookName string
$args array

getArticleGalleys() 공개 메소드

Get article galleys with a DOI assigned from gallley IDs.
public getArticleGalleys ( $galleyIds, $context ) : array
$galleyIds array
$context Context
리턴 array

getDepositSuccessNotificationMessageKey() 공개 메소드

Get the locale key used in the notification for the successful deposit.

getPubIdDisplayType() 공개 메소드

Get pub ID display type
public getPubIdDisplayType ( ) : string
리턴 string

getPubIdType() 공개 메소드

Get pub ID type
public getPubIdType ( ) : string
리턴 string

getPublishedArticles() 공개 메소드

Get published articles with a DOI asigned from submission IDs.
public getPublishedArticles ( $submissionIds, $context ) : array
$submissionIds array
$context Context
리턴 array

getPublishedIssues() 공개 메소드

Get published issues with a DOI asigned from issue IDs.
public getPublishedIssues ( $issueIds, $context ) : array
$issueIds array
$context Context
리턴 array

getUnregisteredArticles() 공개 메소드

Retrieve all unregistered articles.
public getUnregisteredArticles ( $context ) : array
$context Context
리턴 array

getUnregisteredGalleys() 공개 메소드

Retrieve all unregistered articles.
public getUnregisteredGalleys ( $context ) : array
$context Context
리턴 array

getUnregisteredIssues() 공개 메소드

Retrieve all unregistered issues.
public getUnregisteredIssues ( $context ) : array
$context Context
리턴 array

markRegistered() 공개 메소드

Mark selected submissions or issues as registered.
public markRegistered ( $context, $objects )
$context Context
$objects array Array of published articles, issues or galleys

register() 공개 메소드

public register ( $category, $path )

saveRegisteredDoi() 공개 메소드

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.
public saveRegisteredDoi ( $context, $object, $testPrefix = '10.1234' )
$context Context
$object Issue|PublishedArticle|ArticleGalley
$testPrefix string