/** * 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'); }
/** * 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'); }