當前位置: 首頁>>代碼示例>>PHP>>正文


PHP SimpleXMLExtended::combinexml方法代碼示例

本文整理匯總了PHP中SimpleXMLExtended::combinexml方法的典型用法代碼示例。如果您正苦於以下問題:PHP SimpleXMLExtended::combinexml方法的具體用法?PHP SimpleXMLExtended::combinexml怎麽用?PHP SimpleXMLExtended::combinexml使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在SimpleXMLExtended的用法示例。


在下文中一共展示了SimpleXMLExtended::combinexml方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: _buildXml

 /**
  * generate the xml document
  *
  * @return void
  */
 private function _buildXml()
 {
     if (!$this->_plugin_request || $this->_complete_request) {
         if ($this->_sys === null) {
             $this->_sys = $this->_sysinfo->getSys();
         }
         $this->_buildVitals();
         $this->_buildNetwork();
         $this->_buildHardware();
         $this->_buildMemory();
         $this->_buildFilesystems();
         $this->_buildMbinfo();
         $this->_buildUpsinfo();
     }
     $this->_buildPlugins();
     $this->_xml->combinexml($this->_errors->errorsAddToXML($this->_sysinfo->getEncoding()));
 }
開發者ID:sorrowchen,項目名稱:openfiler-cn,代碼行數:22,代碼來源:class.XML.inc.php

示例2: _buildXml

 /**
  * generate the xml document
  *
  * @return void
  */
 private function _buildXml()
 {
     if (!$this->_plugin_request || $this->_complete_request) {
         if (version_compare("5.2", PHP_VERSION, ">")) {
             $this->_errors->addError("ERROR", "PHP 5.2 or greater is required, some things may not work correctly");
         }
         if ($this->_sys === null) {
             if (PSI_DEBUG === true) {
                 // unstable version check
                 if (!is_numeric(substr(PSI_VERSION, -1))) {
                     $this->_errors->addError("WARN", "This is an unstable version of phpSysInfo, some things may not work correctly");
                 }
                 // Safe mode check
                 $safe_mode = @ini_get("safe_mode") ? true : false;
                 if ($safe_mode) {
                     $this->_errors->addError("WARN", "PhpSysInfo requires to set off 'safe_mode' in 'php.ini'");
                 }
                 // Include path check
                 $include_path = @ini_get("include_path");
                 if ($include_path && $include_path != "") {
                     $include_path = preg_replace("/(:)|(;)/", "\n", $include_path);
                     if (preg_match("/^\\.\$/m", $include_path)) {
                         $include_path = ".";
                     }
                 }
                 if ($include_path != ".") {
                     $this->_errors->addError("WARN", "PhpSysInfo requires '.' inside the 'include_path' in php.ini");
                 }
                 // popen mode check
                 if (defined("PSI_MODE_POPEN") && PSI_MODE_POPEN === true) {
                     $this->_errors->addError("WARN", "Installed version of PHP does not support proc_open() function, popen() is used");
                 }
             }
             $this->_sys = $this->_sysinfo->getSys();
         }
         $this->_buildVitals();
         $this->_buildNetwork();
         $this->_buildHardware();
         $this->_buildMemory();
         $this->_buildFilesystems();
         $this->_buildMbinfo();
         $this->_buildUpsinfo();
     }
     $this->_buildPlugins();
     $this->_xml->combinexml($this->_errors->errorsAddToXML($this->_sysinfo->getEncoding()));
 }
開發者ID:FleuryK,項目名稱:phpsysinfo,代碼行數:51,代碼來源:class.XML.inc.php

示例3: _buildXml

 /**
  * generate the xml document
  *
  * @return void
  */
 private function _buildXml()
 {
     if (!$this->_plugin_request || $this->_complete_request) {
         if ($this->_sys === null) {
             if (PSI_DEBUG === true) {
                 // Safe mode check
                 $safe_mode = @ini_get("safe_mode") ? TRUE : FALSE;
                 if ($safe_mode) {
                     $this->_errors->addError("WARN", "PhpSysInfo requires to set off 'safe_mode' in 'php.ini'");
                 }
                 // Include path check
                 $include_path = @ini_get("include_path");
                 if ($include_path && $include_path != "") {
                     $include_path = preg_replace("/(:)|(;)/", "\n", $include_path);
                     if (preg_match("/^\\.\$/m", $include_path)) {
                         $include_path = ".";
                     }
                 }
                 if ($include_path != ".") {
                     $this->_errors->addError("WARN", "PhpSysInfo requires '.' inside the 'include_path' in php.ini");
                 }
                 // popen mode check
                 if (defined("PSI_MODE_POPEN") && PSI_MODE_POPEN === true) {
                     $this->_errors->addError("WARN", "Installed version of PHP does not support proc_open() function, popen() is used");
                 }
             }
             $this->_sys = $this->_sysinfo->getSys();
         }
         $this->_buildVitals();
         $this->_buildNetwork();
         $this->_buildHardware();
         $this->_buildMemory();
         $this->_buildFilesystems();
         $this->_buildMbinfo();
         $this->_buildUpsinfo();
     }
     $this->_buildPlugins();
     $this->_xml->combinexml($this->_errors->errorsAddToXML($this->_sysinfo->getEncoding()));
 }
開發者ID:HaakonME,項目名稱:porticoestate,代碼行數:44,代碼來源:class.XML.inc.php


注:本文中的SimpleXMLExtended::combinexml方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。