[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/wact/src/tags/core/ -> runtimecontent.tag.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   * Present a named location where content can be inserted at runtime

  12   * @tag core:RUNTIMECONTENT

  13   * @forbid_end_tag

  14   * @package wact
  15   * @version $Id: runtimecontent.tag.php 5945 2007-06-06 08:31:43Z pachanga $
  16   */
  17  class WactCoreRuntimeContentTag extends WactRuntimeComponentTag
  18  {
  19    /**

  20     * @param WactCodeWriter

  21     */
  22    function generate($code_writer)
  23    {
  24      // Perhaps the render() call should be in the generate() method?

  25      $code_writer->writePHP($this->getComponentRefCode() . '->render();');
  26    }
  27  }
  28  
  29  ?>


Generated: Mon Dec 1 03:56:46 2008 Cross-referenced by PHPXref 0.7