_xmlElement; } /** * * @return CreateEmbeddedElement * @access public * @static */ public static function getInstance() { if (self::$_instance == NULL) { self::$_instance = new CreateEmbeddedElement(); } return self::$_instance; } /** * Create embedded element * * @return string * @access public */ public function CreateEmbeddedElement() { $this->_xml = ''; $args = func_get_args(); switch ($args[0]) { case 'Chart': $this->_xmlElement = ''; break; case 'Graphic': $this->_xmlElement = ''; break; case 'Image': $this->_xmlElement = ''; break; case 'Link': $this->_xmlElement = ''; break; case 'Math': $this->_xmlElement = ''; break; case 'TextBox': $this->_xmlElement = ''; break; default: break; } return $this->_xmlElement; } }