/** * Get basic style dom */ static function _getBasicStyleDom() { global $ilBench; if (!is_object(self::$basic_style_dom)) { self::$basic_style_dom = new DOMDocument(); self::$basic_style_dom->load(self::$basic_style_file); } return self::$basic_style_dom; }