Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
MetsExportDom Class Reference

Public Member Functions

 createmetsamdSec ($doc, &$root, &$journal)
 
createmetsamdSec ($doc, &$root, &$journal)
 
 createmetsHdr ($doc)
 
createmetsHdr ($doc)
 
 generateArticleDiv (&$doc, &$root, &$article, &$issue)
 
 generateArticleDiv (&$doc, &$root, &$article, &$issue)
 
 generateArticleDmdSecDom (&$doc, &$root, &$article, &$issue, &$journal)
 
 generateArticleDmdSecDom (&$doc, &$root, &$article, &$issue)
 
 generateArticleFileDiv (&$doc, &$root, $file)
 
 generateArticleFileDiv (&$doc, &$root, $file)
 
 generateArticleFileDom (&$doc, &$root, $article, &$galleyFile, $useAttribute)
 
 generateArticleFileDom (&$doc, &$root, &$article, &$galleyFile, $useAttribute, &$journal)
 
 generateArticleFilesDom (&$doc, $root, $article, &$issue)
 
 generateArticleFilesDom (&$doc, &$root, &$article, &$issue, &$journal)
 
 generateArticleSuppFileDom (&$doc, &$root, $article, &$suppFile)
 
 generateArticleSuppFileDom (&$doc, &$root, &$article, &$suppFile, &$journal)
 
 generateArticleSuppFilesDiv (&$doc, &$root, $suppFile)
 
 generateArticleSuppFilesDiv (&$doc, &$root, $suppFile)
 
 generateArticleSuppFilesDmdSecDom (&$doc, &$root, $suppFile)
 
 generateArticleSuppFilesDmdSecDom (&$doc, &$root, $suppFile)
 
generateAuthorDom (&$doc, $author)
 
generateAuthorDom (&$doc, $author)
 
 generateIssueDmdSecDom (&$doc, &$root, &$issue, &$journal)
 
 generateIssueDmdSecDom (&$doc, &$root, &$issue, &$journal)
 
 generateIssueFileSecDom (&$doc, &$root, &$issue)
 
 generateIssueFileSecDom (&$doc, &$root, &$issue, &$journal)
 
 generateJournalDmdSecDom (&$doc, $root, &$journal)
 
 generateJournalDmdSecDom (&$doc, $root, &$journal)
 
 generateSectionDmdSecDom (&$doc, &$root, &$section, &$issue, &$journal)
 
 generateSectionDmdSecDom (&$doc, &$root, &$section, &$issue)
 
 generateStructMap (&$doc, &$root, &$journal, &$issues)
 
 generateStructMap (&$doc, &$root, &$journal, &$issues)
 
 getCreatorString ()
 
 getCreatorString ()
 
 getPublicFilePath (&$file, $pathComponent)
 
 getPublicFilePath (&$file, $pathComponent, &$journal)
 
 getPublicFileUrl (&$file)
 
 getPublicSuppFileUrl (&$file)
 

Detailed Description

MetsExportDom export plugin DOM functions for export.

Definition at line 22 of file gateways/metsGateway/MetsExportDom.inc.php.

Member Function Documentation

MetsExportDom::createmetsamdSec (   $doc,
$root,
$journal 
)

Create METS:amdSec for the Conference

Definition at line 594 of file gateways/metsGateway/MetsExportDom.inc.php.

& MetsExportDom::createmetsamdSec (   $doc,
$root,
$journal 
)

Create METS:amdSec for the Conference

Definition at line 622 of file importexport/mets/MetsExportDom.inc.php.

References PKPRequest\getUserVar().

MetsExportDom::createmetsHdr (   $doc)

Create METS:metsHdr for export

Definition at line 624 of file gateways/metsGateway/MetsExportDom.inc.php.

References getCreatorString(), and DAORegistry\getDAO().

& MetsExportDom::createmetsHdr (   $doc)

Create METS:metsHdr for export

Definition at line 652 of file importexport/mets/MetsExportDom.inc.php.

References getCreatorString(), DAORegistry\getDAO(), and PKPRequest\getUserVar().

MetsExportDom::generateArticleDiv ( $doc,
$root,
$article,
$issue 
)

creates the METS:div element for a submission

Definition at line 67 of file importexport/mets/MetsExportDom.inc.php.

References generateArticleFileDiv(), generateArticleSuppFilesDiv(), and DAORegistry\getDAO().

MetsExportDom::generateArticleDiv ( $doc,
$root,
$article,
$issue 
)

creates the METS:div element for a submission

Definition at line 71 of file gateways/metsGateway/MetsExportDom.inc.php.

References generateArticleFileDiv(), generateArticleSuppFilesDiv(), and DAORegistry\getDAO().

MetsExportDom::generateArticleDmdSecDom ( $doc,
$root,
$article,
$issue,
$journal 
)

creates the METS:dmdSec element for a published Paper

Definition at line 249 of file importexport/mets/MetsExportDom.inc.php.

References generateArticleSuppFilesDmdSecDom(), generateAuthorDom(), and DAORegistry\getDAO().

MetsExportDom::generateArticleDmdSecDom ( $doc,
$root,
$article,
$issue 
)

creates the METS:dmdSec element for a published Paper

Definition at line 255 of file gateways/metsGateway/MetsExportDom.inc.php.

References generateArticleSuppFilesDmdSecDom(), generateAuthorDom(), and DAORegistry\getDAO().

Referenced by generateSectionDmdSecDom().

MetsExportDom::generateArticleFileDiv ( $doc,
$root,
  $file 
)

creates the METS:fptr element for a ArticleGalley

Definition at line 97 of file importexport/mets/MetsExportDom.inc.php.

MetsExportDom::generateArticleFileDiv ( $doc,
$root,
  $file 
)

creates the METS:fptr element for a ArticleGalley

Definition at line 101 of file gateways/metsGateway/MetsExportDom.inc.php.

Referenced by generateArticleDiv().

MetsExportDom::generateArticleFileDom ( $doc,
$root,
  $article,
$galleyFile,
  $useAttribute 
)

Creates a METS:file for the paperfile checks if METS:FContent or METS:FLocat should be used

Definition at line 511 of file gateways/metsGateway/MetsExportDom.inc.php.

References getPublicFilePath(), and getPublicFileUrl().

Referenced by generateArticleFilesDom().

MetsExportDom::generateArticleFileDom ( $doc,
$root,
$article,
$galleyFile,
  $useAttribute,
$journal 
)

Creates a METS:file for the paperfile checks if METS:FContent or METS:FLocat should be used

Definition at line 535 of file importexport/mets/MetsExportDom.inc.php.

References getPublicFilePath(), PKPRequest\getUserVar(), and Request\url().

MetsExportDom::generateArticleFilesDom ( $doc,
  $root,
  $article,
$issue 
)

finds all files associated with this published Papers

Definition at line 440 of file gateways/metsGateway/MetsExportDom.inc.php.

References generateArticleFileDom(), generateArticleSuppFileDom(), and DAORegistry\getDAO().

Referenced by generateIssueFileSecDom().

MetsExportDom::generateArticleFilesDom ( $doc,
$root,
$article,
$issue,
$journal 
)

finds all files associated with this published Papers

Definition at line 462 of file importexport/mets/MetsExportDom.inc.php.

References generateArticleFileDom(), generateArticleSuppFileDom(), and DAORegistry\getDAO().

MetsExportDom::generateArticleSuppFileDom ( $doc,
$root,
  $article,
$suppFile 
)

Creates a METS:file for the Supplementary File checks if METS:FContent or METS:FLocat should be used

Definition at line 545 of file gateways/metsGateway/MetsExportDom.inc.php.

References getPublicFilePath(), and getPublicSuppFileUrl().

Referenced by generateArticleFilesDom().

MetsExportDom::generateArticleSuppFileDom ( $doc,
$root,
$article,
$suppFile,
$journal 
)

Creates a METS:file for the Supplementary File checks if METS:FContent or METS:FLocat should be used

Definition at line 570 of file importexport/mets/MetsExportDom.inc.php.

References getPublicFilePath(), PKPRequest\getUserVar(), and Request\url().

MetsExportDom::generateArticleSuppFilesDiv ( $doc,
$root,
  $suppFile 
)

creates the METS:div =additional_material for the Supp Files

Definition at line 112 of file importexport/mets/MetsExportDom.inc.php.

MetsExportDom::generateArticleSuppFilesDiv ( $doc,
$root,
  $suppFile 
)

creates the METS:div =additional_material for the Supp Files

Definition at line 116 of file gateways/metsGateway/MetsExportDom.inc.php.

Referenced by generateArticleDiv().

MetsExportDom::generateArticleSuppFilesDmdSecDom ( $doc,
$root,
  $suppFile 
)

creates the METS:dmdSec element for Supplementary Files

Definition at line 350 of file gateways/metsGateway/MetsExportDom.inc.php.

Referenced by generateArticleDmdSecDom().

MetsExportDom::generateArticleSuppFilesDmdSecDom ( $doc,
$root,
  $suppFile 
)

creates the METS:dmdSec element for Supplementary Files

Definition at line 357 of file importexport/mets/MetsExportDom.inc.php.

& MetsExportDom::generateAuthorDom ( $doc,
  $author 
)

Create mods:name for a presenter

Definition at line 577 of file gateways/metsGateway/MetsExportDom.inc.php.

Referenced by generateArticleDmdSecDom().

& MetsExportDom::generateAuthorDom ( $doc,
  $author 
)

Create mods:name for a presenter

Definition at line 605 of file importexport/mets/MetsExportDom.inc.php.

MetsExportDom::generateIssueDmdSecDom ( $doc,
$root,
$issue,
$journal 
)

creates the METS:dmdSec element for an Issue

Definition at line 147 of file importexport/mets/MetsExportDom.inc.php.

References generateSectionDmdSecDom(), DAORegistry\getDAO(), and Config\getVar().

MetsExportDom::generateIssueDmdSecDom ( $doc,
$root,
$issue,
$journal 
)

creates the METS:dmdSec element for an Issue

Definition at line 151 of file gateways/metsGateway/MetsExportDom.inc.php.

References generateSectionDmdSecDom(), DAORegistry\getDAO(), and Config\getVar().

MetsExportDom::generateIssueFileSecDom ( $doc,
$root,
$issue 
)

finds all files associated with this Issue by going through all Articles

Definition at line 417 of file gateways/metsGateway/MetsExportDom.inc.php.

References generateArticleFilesDom(), and DAORegistry\getDAO().

MetsExportDom::generateIssueFileSecDom ( $doc,
$root,
$issue,
$journal 
)

finds all files associated with this Issue by going through all Articles

Definition at line 439 of file importexport/mets/MetsExportDom.inc.php.

References generateArticleFilesDom(), and DAORegistry\getDAO().

MetsExportDom::generateJournalDmdSecDom ( $doc,
  $root,
$journal 
)

creates the METS:dmdSec element for the Journal

Definition at line 125 of file importexport/mets/MetsExportDom.inc.php.

MetsExportDom::generateJournalDmdSecDom ( $doc,
  $root,
$journal 
)

creates the METS:dmdSec element for the Journal

Definition at line 129 of file gateways/metsGateway/MetsExportDom.inc.php.

MetsExportDom::generateSectionDmdSecDom ( $doc,
$root,
$section,
$issue,
$journal 
)

creates the METS:dmdSec element for a Section

Definition at line 213 of file importexport/mets/MetsExportDom.inc.php.

References generateArticleDmdSecDom(), and DAORegistry\getDAO().

MetsExportDom::generateSectionDmdSecDom ( $doc,
$root,
$section,
$issue 
)

creates the METS:dmdSec element for a Section

Definition at line 219 of file gateways/metsGateway/MetsExportDom.inc.php.

References generateArticleDmdSecDom(), and DAORegistry\getDAO().

Referenced by generateIssueDmdSecDom().

MetsExportDom::generateStructMap ( $doc,
$root,
$journal,
$issues 
)

creates the METS:structMap element for an issue with multiple issues

Definition at line 23 of file importexport/mets/MetsExportDom.inc.php.

MetsExportDom::generateStructMap ( $doc,
$root,
$journal,
$issues 
)

creates the METS:structMap element for an issue with multiple issues

Definition at line 27 of file gateways/metsGateway/MetsExportDom.inc.php.

MetsExportDom::getCreatorString ( )

Creator is the OJS Sysytem

Definition at line 650 of file gateways/metsGateway/MetsExportDom.inc.php.

References DAORegistry\getDAO().

Referenced by createmetsHdr().

MetsExportDom::getCreatorString ( )

Creator is the OJS Sysytem

Definition at line 678 of file importexport/mets/MetsExportDom.inc.php.

References DAORegistry\getDAO().

MetsExportDom::getPublicFilePath ( $file,
  $pathComponent 
)

getPublicFilePath had to be added due to problems in the current $paperFile->getFilePath(); for Galley Files

Definition at line 660 of file gateways/metsGateway/MetsExportDom.inc.php.

References DAORegistry\getDAO(), and Config\getVar().

Referenced by generateArticleFileDom(), and generateArticleSuppFileDom().

MetsExportDom::getPublicFilePath ( $file,
  $pathComponent,
$journal 
)

getPublicFilePath had to be added due to problems in the current $paperFile->getFilePath(); for Galley Files

Definition at line 688 of file importexport/mets/MetsExportDom.inc.php.

References Config\getVar().

MetsExportDom::getPublicFileUrl ( $file)

getPublicFileUrl !!!! must be a better way....

Definition at line 672 of file gateways/metsGateway/MetsExportDom.inc.php.

References DAORegistry\getDAO(), and Config\getVar().

Referenced by generateArticleFileDom().

MetsExportDom::getPublicSuppFileUrl ( $file)

getPublicSuppFileUrl !!!! must be a better way....

Definition at line 687 of file gateways/metsGateway/MetsExportDom.inc.php.

References DAORegistry\getDAO(), and Config\getVar().

Referenced by generateArticleSuppFileDom().


The documentation for this class was generated from the following files: