Méthode | Description | |
---|---|---|
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 ) |
public exportPubIdsForIssues ( $journal, $issues, $outputFile = null ) | ||
$journal | object | |
$issues | array | |
$outputFile | xml file containing the exported public identifiers |
public generatePubId ( &$doc, &$node, &$pubObject, $journalId ) | ||
$doc | DOMDocument | |
$node | DOMNode | |
$pubObject | object | |
$journalId | int |
public getDocument ( $fileName ) : object | ||
$fileName | string full path to the XML file | |
Résultat | object | tree structure representing the document |
public getRootNodeName ( &$doc ) : string | ||
Résultat | string |
public handleImport ( &$context, &$doc, &$errors, &$pubIds, $isCommandLine ) | ||
$context | array | |
$doc | DOMDocument | |
$errors | array | |
$pubIds | array successfully imported pubIds | |
$isCommandLine | boolean |
public importPubId ( &$journal, &$pubIdNode, &$pubId, &$errors, $isCommandLine ) | ||
$journal | object | |
$pubIdNode | XMLNode | |
$pubId | array describing the successfully imported public identifier | |
$errors | array | |
$isCommandLine | boolean |
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 |