_xml; } /** * Singleton, return instance of class * * @access public * @return CreateWebSettings */ public static function getInstance() { if (self::$_instance == NULL) { self::$_instance = new CreateWebSettings(); } return self::$_instance; } /** * Main tags of websettings XML * * @access public */ public function generateWebSettings() { $this->_xml = '' . '<' . CreateElement::NAMESPACEWORD . ':webSettings ' . 'xmlns:r="http://schemas.openxmlformats.org/officeDocument/' . '2006/relationships" xmlns:w="http://schemas.openxmlformats.' . 'org/wordprocessingml/2006/main"><' . CreateElement::NAMESPACEWORD . ':optimizeForBrowser />'; } }