Source for file Ini.class.php

Documentation is available at Ini.class.php

  1. <?php
  2. /**
  3.  * Gumbo Library Framework
  4.  *
  5.  * LICENSE
  6.  * This library is being released under the terms of the New BSD License.  A
  7.  * copy of the license is packaged with the software (LICENSE.txt).  If no
  8.  * copy is found, a copy of the license template can be found at:
  9.  * http://www.opensource.org/licenses/bsd-license.php
  10.  * 
  11.  * @category Gumbo
  12.  * @package Debug
  13.  * @copyright Copyright (c) 2007, iBayou, Michael Luster
  14.  * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
  15.  * @author Michael Luster <mluster79@yahoo.com>
  16.  * @link http://sourceforge.net/projects/phpgumbo
  17.  * @version 0.0.1
  18.  */
  19.  
  20. /**
  21.  * Debug Server Report - INI
  22.  *
  23.  * @category Gumbo
  24.  * @package Debug
  25.  * @copyright Copyright (c) 2007, iBayou, Michael Luster
  26.  * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
  27.  * @author Michael Luster <mluster79@yahoo.com>
  28.  * @link http://sourceforge.net/projects/phpgumbo
  29.  * @desc Debug Server Report - INI
  30.  * @version 0.0.1
  31.  */
  32.  
  33. gumbo_load ("Interface_Debug_Server_Report");
  34.  
  35. class Gumbo_Debug_Server_Ini implements Gumbo_Interface_Debug_Server_Report {
  36.     
  37.     /**
  38.      * Runs the Report
  39.      * @return string 
  40.      */
  41.     public function run ({
  42.         $txt .= "<div class=\"debug\">\n";
  43.         $txt .= "\t<ul>INI Scanned Files\n";
  44.         foreach (explode (","php_ini_scanned_files ()) as $file{
  45.             $txt .= "\t\t<li>{$file}</li>\n";
  46.         }
  47.         $txt .= "\t</ul>\n";
  48.         $txt .= "</div>\n\n";
  49.         
  50.         return $txt;
  51.     }
  52.     
  53. }
  54.  
  55. ?>