/** * The Construct * * @param string $filename * @param arrray $arguments * * @return SiteQ_Report_AbstractReport */ public function __construct($filename, $arguments) { parent::__construct($filename, $arguments); $this->_document = new DOMDocument(); $this->_root = $this->_document->createElement('siteq'); $this->_document->appendChild($this->_root); }
/** * The Construct * * @param string $filename * @param arrray $arguments * * @return SiteQ_Report_AbstractReport */ public function __construct($filename, $arguments) { parent::__construct($filename, $arguments); if (is_dir($filename) !== true) { mkdir($filename, 0777, true); } }