Example #1
0
 /**
  * XML直接输出
  * @author	肖飞 <*****@*****.**>
  * @return  string
  */
 function saveXML()
 {
     if (!empty($_SESSION['Lang']) && $_SESSION['Lang'] == 'zh-tw') {
         $objLang = new Chinese();
         return $objLang->GBtoBIG5onUTF8($this->objXML->saveXML());
     } else {
         return $this->objXML->saveXML();
     }
 }
Example #2
0
 /**
  * XML直接输出
  * @author	肖飞 <*****@*****.**>
  * @return  string
  */
 function saveXML()
 {
     if (session_is_registered('Lang') && $_SESSION['Lang'] == 'zh-tw') {
         $objLang = new Chinese();
         return $objLang->GBtoBIG5onUTF8($this->objXML->saveXML());
     } else {
         return $this->objXML->saveXML();
     }
 }