Source for file Output.class.php

Documentation is available at Output.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 Output
  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.  * Output Interface
  22.  * 
  23.  * This interface indicates that the implementing class returns a formatted
  24.  * string of some type or send directly to output.  This is useful for passing
  25.  * a variety of different object types to a single location for output.
  26.  *
  27.  * @category Gumbo
  28.  * @package Output
  29.  * @copyright Copyright (c) 2007, iBayou, Michael Luster
  30.  * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
  31.  * @author Michael Luster <mluster79@yahoo.com>
  32.  * @link http://sourceforge.net/projects/phpgumbo
  33.  * @desc Output Interface
  34.  * @version 0.0.1
  35.  */
  36.  
  37.     
  38.     /**
  39.      * Displays to the browser
  40.      */
  41.     public function display ();
  42.     
  43.     /**
  44.      * Returns the formatted text
  45.      * @param bool $reload reloads the output
  46.      * @return string 
  47.      */
  48.     public function fetch ($reload=false);
  49.     
  50. }
  51.  
  52. ?>