示例#1
0
 /**
  * Get XML-Node.
  * @param DOMDocument $doc DOMDocument to create DOMNode in
  * @param string $nodeName For compatibility reasons; just ignore it
  * @return DOMNode <data>-Element
  */
 public function toXML(DOMDocument $doc, $nodeName = "")
 {
     return parent::toXML($doc, 'data');
 }
示例#2
0
 /**
  * Get XML-Node.
  * @param DOMDocument $doc DOMDocument to create DOMNode in
  * @return DOMNode <data>-Element
  */
 public function toXML(DOMDocument $doc)
 {
     return parent::toXML($doc, 'data');
 }