[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/macro/src/ -> lmbMacroTextNode.class.php (source)

   1  <?php
   2  /*
   3   * Limb PHP Framework
   4   *
   5   * @link http://limb-project.com 
   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
   8   */
   9  
  10  /**

  11   * class lmbMacroTextNode.

  12   *

  13   * @package macro

  14   * @version $Id$

  15   */
  16  class lmbMacroTextNode extends lmbMacroNode
  17  {
  18    protected $contents;
  19  
  20    function __construct($location, $text)
  21    {
  22      parent :: __construct($location);
  23      $this->contents = $text;
  24    }
  25  
  26    function generateContents($code_writer)
  27    {
  28      $code_writer->writeRaw($this->contents);
  29      parent :: generateContents($code_writer);
  30    }
  31  
  32    function getText()
  33    {
  34      return $this->contents;
  35    }
  36  }
  37  
  38  ?>


Generated: Fri Aug 29 04:49:26 2008 Cross-referenced by PHPXref 0.7