当前位置: 首页>>代码示例>>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;未经允许,请勿转载。