Source for file Server.class.php

Documentation is available at Server.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 Interface
  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 Interface
  30.  * @version 0.0.1
  31.  */
  32.  
  33.     
  34.     /** ACTION METHODS **/
  35.     /**
  36.      * Activates a Server Report
  37.      * @param string $report Debug Server Report Name
  38.      * @param arr $args additional arguments
  39.      */
  40.     public function activate ($report$args=null);
  41.     
  42.     /**
  43.      * Deactivates a Server Report
  44.      * @param string $report Debug Server Report Name
  45.      */
  46.     public function deactivate ($report);
  47.     
  48.     /**
  49.      * Resets the Reports
  50.      * @postcondition !isActive()
  51.      */
  52.     public function reset ();
  53.     
  54.     
  55.     
  56.     /** ACCESSOR METHODS **/
  57.     /**
  58.      * Returns a single Report
  59.      * @param string $report 
  60.      * @return Gumbo_Interface_Debug_Server_Report 
  61.      */
  62.     public function getReport ($report);
  63.     
  64.     /**
  65.      * Returns the Debug Server Reports
  66.      * @return Gumbo_Interface_Debug_Server_Report[] 
  67.      */
  68.     public function getReports ();
  69.     
  70.     /**
  71.      * Returns if a particular Report is active
  72.      * @param string $report 
  73.      * @return bool 
  74.      */
  75.     public function isActive ($report);
  76.     
  77.     /**
  78.      * Returns if the Report exists
  79.      * @param string $report 
  80.      * @return bool 
  81.      */
  82.     public function exists ($report);
  83.     
  84. }
  85.  
  86. ?>