public function __construct() { $this->mapping_error = null; $this->xml_manager = new XmlManager(); $this->xml_manager->loadDomtree(HostedModelHolder::getXMLModel()); }