| [ Index ] |
PHP Cross Reference of Limb3 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * Limb PHP Framework 4 * 5 * @link http://limb-project.com 6 * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com) 7 * @license LGPL http://www.gnu.org/copyleft/lesser.html 8 */ 9 10 /** 11 * @tag pager:FIRST 12 * @restrict_self_nesting 13 * @parent_tag_class WactPagerNavigatorTag 14 * @package wact 15 * @version $Id: first.tag.php 5945 2007-06-06 08:31:43Z pachanga $ 16 */ 17 class WactPagerFirstTag extends WactCompilerTag 18 { 19 function generateTagContent($code) 20 { 21 $parent = $this->findParentByClass('WactPagerNavigatorTag'); 22 $code->writePhp('if (!' . $parent->getComponentRefCode() . '->isFirst()) {'); 23 24 $code->writePhp($this->getDataSource()->getComponentRefCode() . '["href"] = ' . 25 $parent->getComponentRefCode() . '->getFirstPageUri();' . "\n"); 26 27 parent :: generateTagContent($code); 28 29 $code->writePhp('}' . "\n"); 30 } 31 } 32 33 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Jan 8 04:06:23 2009 | Cross-referenced by PHPXref 0.7 |