PHP 클래스 PubIdImportExportPlugin, ojs

상속: extends ImportExportPlugin
파일 보기 프로젝트 열기: pkp/ojs

공개 메소드들

메소드 설명
display ( &$args, $request )
executeCLI ( $scriptName, &$args )
exportPubIdsForIssues ( $journal, $issues, $outputFile = null ) Export public identifiers of one or more issues.
generatePubId ( &$doc, &$node, &$pubObject, $journalId ) Add ID-nodes to the given node.
getDescription ( )
getDisplayName ( )
getDocument ( $fileName ) : object Get the tree structure of the xml document.
getName ( )
getRootNodeName ( &$doc ) : string Get the name of the root node of the xml document.
getTemplatePath ( $inCore = false )
handleImport ( &$context, &$doc, &$errors, &$pubIds, $isCommandLine ) Handle import of public identifiers described in the xml document.
importPubId ( &$journal, &$pubIdNode, &$pubId, &$errors, $isCommandLine ) Import public identifier.
importPubIds ( &$journal, &$pubIdNodes, &$pubIds, &$errors, $isCommandLine ) Import public identifiers.
register ( $category, $path )
usage ( $scriptName )

메소드 상세

display() 공개 메소드

또한 보기: ImportExportPlugin::display()
public display ( &$args, $request )

executeCLI() 공개 메소드

또한 보기: ImportExportPlugin::executeCLI()
public executeCLI ( $scriptName, &$args )

exportPubIdsForIssues() 공개 메소드

Export public identifiers of one or more issues.
public exportPubIdsForIssues ( $journal, $issues, $outputFile = null )
$journal object
$issues array
$outputFile xml file containing the exported public identifiers

generatePubId() 공개 메소드

Add ID-nodes to the given node.
public generatePubId ( &$doc, &$node, &$pubObject, $journalId )
$doc DOMDocument
$node DOMNode
$pubObject object
$journalId int

getDescription() 공개 메소드

또한 보기: ImportExportPlugin::getDescription()
public getDescription ( )

getDisplayName() 공개 메소드

또한 보기: ImportExportPlugin::getDisplayName()
public getDisplayName ( )

getDocument() 공개 메소드

Get the tree structure of the xml document.
public getDocument ( $fileName ) : object
$fileName string full path to the XML file
리턴 object tree structure representing the document

getName() 공개 메소드

또한 보기: ImportExportPlugin::getName()
public getName ( )

getRootNodeName() 공개 메소드

Get the name of the root node of the xml document.
public getRootNodeName ( &$doc ) : string
리턴 string

getTemplatePath() 공개 메소드

public getTemplatePath ( $inCore = false )

handleImport() 공개 메소드

Handle import of public identifiers described in the xml document.
public handleImport ( &$context, &$doc, &$errors, &$pubIds, $isCommandLine )
$context array
$doc DOMDocument
$errors array
$pubIds array successfully imported pubIds
$isCommandLine boolean

importPubId() 공개 메소드

Import public identifier.
public importPubId ( &$journal, &$pubIdNode, &$pubId, &$errors, $isCommandLine )
$journal object
$pubIdNode XMLNode
$pubId array describing the successfully imported public identifier
$errors array
$isCommandLine boolean

importPubIds() 공개 메소드

Import public identifiers.
public importPubIds ( &$journal, &$pubIdNodes, &$pubIds, &$errors, $isCommandLine )
$journal object
$pubIdNodes array all pubId nodes of the xml document
$pubIds array successfully imported pubIds
$errors array
$isCommandLine boolean

register() 공개 메소드

또한 보기: Plugin::register()
public register ( $category, $path )

usage() 공개 메소드

또한 보기: ImportExportPlugin::usage()
public usage ( $scriptName )