示例#1
0
 protected function postFilter()
 {
     parent::postFilter();
     if (isset($this->file)) {
         $elem = \ManiaLib\Gui\Maniacode\Maniacode::$domDocument->createElement('file');
         $value = \ManiaLib\Gui\Maniacode\Maniacode::$domDocument->createTextNode($this->file);
         $elem->appendChild($value);
         $this->xml->appendChild($elem);
     }
 }
示例#2
0
 function __construct($name = '', $url = '')
 {
     parent::__construct($name, $url);
 }