[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/wact/src/tags/pager/ -> last_disabled.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   * @tag pager:last:DISABLED
  12   * @parent_tag_class WactPagerNavigatorTag
  13   * @package wact
  14   * @version $Id: last_disabled.tag.php 5945 2007-06-06 08:31:43Z pachanga $
  15   */
  16  class WactPagerLastDisabledTag extends WactCompilerTag
  17  {
  18    function generateTagContent($code)
  19    {
  20      $code->writePhp('if (' . $this->findParentByClass('WactPagerNavigatorTag')->getComponentRefCode() . '->isLast()) {');
  21  
  22      parent :: generateTagContent($code);
  23  
  24      $code->writePhp('}');
  25    }
  26  }
  27  
  28  ?>


Generated: Thu Jan 8 04:06:23 2009 Cross-referenced by PHPXref 0.7