コード例 #1
0
 /**
  * @see parent::toXML()
  *
  * @return CXDSXmlDocument
  */
 function toXML()
 {
     $xml = parent::toXML();
     if ($this->contentTypeCodeDisplayName) {
         $xml->importDOMDocument($xml->documentElement, $this->contentTypeCodeDisplayName->toXML());
     }
     if ($this->codingScheme) {
         $xml->importDOMDocument($xml->documentElement, $this->codingScheme->toXML());
     }
     return $xml;
 }
コード例 #2
0
ファイル: CXDSClass.class.php プロジェクト: fbone/mediboard4
 /**
  * @see parent::toXML()
  *
  * @return CXDSXmlDocument
  */
 function toXML()
 {
     $xml = parent::toXML();
     $base_xml = $xml->documentElement;
     if ($this->name) {
         $xml->importDOMDocument($base_xml, $this->name->toXML());
     }
     if ($this->codingScheme) {
         $xml->importDOMDocument($base_xml, $this->codingScheme->toXML());
     }
     return $xml;
 }
コード例 #3
0
 /**
  * @see parent::toXML()
  *
  * @return CXDSXmlDocument
  */
 function toXML()
 {
     $xml = parent::toXML();
     $base_xml = $xml->documentElement;
     if ($this->authorInstitution) {
         $xml->importDOMDocument($base_xml, $this->authorInstitution->toXML());
     }
     if ($this->authorPerson) {
         $xml->importDOMDocument($base_xml, $this->authorPerson->toXML());
     }
     foreach ($this->authorRole as $_authorRole) {
         $xml->importDOMDocument($base_xml, $_authorRole->toXML());
     }
     if ($this->authorSpecialty) {
         $xml->importDOMDocument($base_xml, $this->authorSpecialty->toXML());
     }
     return $xml;
 }
コード例 #4
0
 /**
  * @see parent::toXML()
  */
 function toXML()
 {
     return parent::toXML(true);
 }