getDeployment(); $submissionFileNode = parent::createSubmissionFileNode($doc, $submissionFile); if ($caption = $submissionFile->getCaption()) { $submissionFileNode->appendChild($doc->createElementNS($deployment->getNamespace(), 'caption', htmlspecialchars($caption, ENT_COMPAT, 'UTF-8'))); } if ($credit = $submissionFile->getCredit()) { $submissionFileNode->appendChild($doc->createElementNS($deployment->getNamespace(), 'credit', htmlspecialchars($credit, ENT_COMPAT, 'UTF-8'))); } if ($copyrightOwner = $submissionFile->getCopyrightOwner()) { $submissionFileNode->appendChild($doc->createElementNS($deployment->getNamespace(), 'copyright_owner', htmlspecialchars($copyrightOwner, ENT_COMPAT, 'UTF-8'))); } if ($copyrightOwnerContact = $submissionFile->getCopyrightOwnerContactDetails()) { $submissionFileNode->appendChild($doc->createElementNS($deployment->getNamespace(), 'copyright_owner_contact', htmlspecialchars($copyrightOwnerContact, ENT_COMPAT, 'UTF-8'))); } if ($permissionTerms = $submissionFile->getPermissionTerms()) { $submissionFileNode->appendChild($doc->createElementNS($deployment->getNamespace(), 'permission_terms', htmlspecialchars($permissionTerms, ENT_COMPAT, 'UTF-8'))); } // FIXME: is permission file ID implemented? // FIXME: is chapter ID implemented? // FIXME: is contact author ID implemented? return $submissionFileNode; } /** * Get the submission file element name */ function getSubmissionFileElementName() { return 'artwork_file'; } } ?>