Source for file Blank.class.php

Documentation is available at Blank.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 Converter
  13.  * @copyright Copyright (c) 2007, iBayou, Michael Luster
  14.  * @license 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.  * Blank Converter Class, used for returning an empty Converter
  22.  *
  23.  * @category Gumbo
  24.  * @package Converter
  25.  * @copyright Copyright (c) 2007, iBayou, Michael Luster
  26.  * @license New BSD License
  27.  * @author Michael Luster <mluster79@yahoo.com>
  28.  * @link http://sourceforge.net/projects/phpgumbo
  29.  * @desc Blank Converter Class, used for returning an empty Converter
  30.  * @version 0.0.1
  31.  */
  32.  
  33. gumbo_load ("Interface_Converter");
  34.  
  35. class Gumbo_Converter_Blank implements Gumbo_Interface_Converter {
  36.     
  37.     /**
  38.      * Converts one variable type to another
  39.      * @param mixed $data 
  40.      * @param string $to 
  41.      * @return mixed 
  42.      */
  43.     public function convert ($data$to=null{
  44.         return $data;
  45.     }
  46.     
  47. }
  48.  
  49. ?>