| [ 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 * class WactArrayIteratorDecorator. 12 * 13 * @package wact 14 * @version $Id$ 15 */ 16 class WactArrayIteratorDecorator implements Iterator, Countable 17 { 18 protected $iterator; 19 20 function __construct($iterator) 21 { 22 $this->iterator = $iterator; 23 } 24 25 function valid() 26 { 27 return $this->iterator->valid(); 28 } 29 30 function current() 31 { 32 return $this->iterator->current(); 33 } 34 35 function next() 36 { 37 $this->iterator->next(); 38 } 39 40 function rewind() 41 { 42 $this->iterator->rewind(); 43 } 44 45 function key() 46 { 47 return $this->iterator->key(); 48 } 49 50 function paginate($offset, $limit) 51 { 52 $this->iterator->paginate($offset, $limit); 53 } 54 55 function getOffset() 56 { 57 return $this->iterator->getOffset(); 58 } 59 60 function getLimit() 61 { 62 return $this->iterator->getLimit(); 63 } 64 65 function countPaginated() 66 { 67 return $this->iterator->countPaginated(); 68 } 69 70 function count() 71 { 72 return $this->iterator->count(); 73 } 74 } 75 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Aug 21 04:38:04 2008 | Cross-referenced by PHPXref 0.7 |