Source for file next_disabled.tag.php

Documentation is available at next_disabled.tag.php

  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:next:disabled
  12.  * @parent_tag_class lmbMacroPagerTag
  13.  * @restrict_self_nesting
  14.  * @version $Id$
  15.  */
  16. {
  17.   protected function _generateContent($code)
  18.   {
  19.     $pager $this->findParentByClass('lmbMacroPagerTag')->getRuntimeVar();
  20.     
  21.     $code->writePhp("if (!{$pager}->hasNext()) {\n");
  22.  
  23.     parent :: _generateContent($code);
  24.  
  25.     $code->writePhp("}\n");
  26.   }
  27. }

Documentation generated on Wed, 07 Jan 2009 03:53:17 +0300 by phpDocumentor 1.3.2