getDeployment(); $submissionFileNode = parent::createSubmissionFileNode($doc, $submissionFile); $this->createLocalizedNodes($doc, $submissionFileNode, 'creator', $submissionFile->getCreator(null)); $this->createLocalizedNodes($doc, $submissionFileNode, 'subject', $submissionFile->getSubject(null)); $this->createLocalizedNodes($doc, $submissionFileNode, 'description', $submissionFile->getDescription(null)); $this->createLocalizedNodes($doc, $submissionFileNode, 'publisher', $submissionFile->getPublisher(null)); $this->createLocalizedNodes($doc, $submissionFileNode, 'sponsor', $submissionFile->getSponsor(null)); if ($dateCreated = $submissionFile->getDateCreated()) { $submissionFileNode->appendChild($doc->createElementNS($deployment->getNamespace(), 'date_created',$dateCreated)); } $this->createLocalizedNodes($doc, $submissionFileNode, 'source', $submissionFile->getSource(null)); if ($language = $submissionFile->getLanguage()) { $submissionFileNode->appendChild($doc->createElementNS($deployment->getNamespace(), 'language', htmlspecialchars($language, ENT_COMPAT, 'UTF-8'))); } return $submissionFileNode; } /** * Get the submission file element name */ function getSubmissionFileElementName() { return 'supplementary_file'; } } ?>