Renderer
[ class tree: Renderer ] [ index: Renderer ] [ all elements ]

Source for file Renderer.php

Documentation is available at Renderer.php

  1. <?php
  2. /**
  3.  * Formagic
  4.  *
  5.  * LICENCE
  6.  *
  7.  * This source file is subject to the new BSD license that is bundled
  8.  * with this package in the file LICENSE.txt.
  9.  * It is also available through the world-wide-web at
  10.  * http://formagic.weasle.de/licence.txt
  11.  * If you did not receive a copy of the license and are unable to
  12.  * obtain it through the world-wide-web, please send an email
  13.  * to licence@weasle.de so we can send you a copy immediately.
  14.  *
  15.  * @category  Formagic
  16.  * @package   Renderer
  17.  * @author    Florian Sonnenburg
  18.  * @copyright Copyright (c) 2007 Florian Sonnenburg
  19.  * @license   http://formagic.weasle.de/licence.txt     New BSD License
  20.  * @revision  $Revision: 40 $
  21.  */
  22.  
  23. /**
  24.  * FormagicRenderer abstract superclass
  25.  *
  26.  * @category Formagic
  27.  * @package Renderer
  28.  * @author Florian Sonnenburg
  29.  * @copyright Copyright (c) 2007
  30.  * @version $Id: Renderer.php 40 2007-07-30 20:21:48Z  $
  31.  * @abstract
  32.  ***/
  33. abstract class Formagic_Renderer
  34. {
  35.  
  36.     /**
  37.      * String representation of FormagicItem
  38.      *
  39.      * @return string 
  40.      */
  41.     public function __toString()
  42.     {
  43.         return get_class($this);
  44.     }
  45.  
  46.     /**
  47.      * Abstract rendering method.
  48.      *
  49.      * Has to return string.
  50.      *
  51.      * @param object $FormagicObj 
  52.      * @return string 
  53.      ***/
  54.     abstract public function fetch(&$FormagicObj);
  55. }

Documentation generated on Thu, 23 Aug 2007 00:29:46 +0200 by phpDocumentor 1.4.0