Exemple #1
0
 /**
  * @return XML
  */
 public function getXML()
 {
     $xml = new XML();
     $xml->setName('struct');
     $xml->setRoot(true);
     $xml->setCharset('UTF-8');
     $xml->setAttribute('type', 'object');
     $xml->setAttribute('class', __CLASS__);
     $this->appendDataXml($xml, $this->data);
     return $xml->getXML();
 }