Paginator/SerializableLimitIterator.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Paginator
- Version
- $Id: SerializableLimitIterator.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Paginator_SerializableLimitIterator
- Implements
- Parent(s)
- \LimitIterator
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


__construct(\Iterator $it, int $offset = 0, int $count = -1) : void
Construct a Zend_Paginator_SerializableLimitIterator
Name | Type | Description |
---|---|---|
$it | \Iterator | Iterator to limit (must be serializable by un-/serialize) |
$offset | int | Offset to first element |
$count | int | Maximum number of elements to show or -1 for all |
- See
- \global\LimitIterator::__construct


offsetExists(int $offset) : void
Determine if a value of Iterator is set and is not NULL
Name | Type | Description |
---|---|---|
$offset | int |


offsetGet(int $offset) : mixed
Returns value of the Iterator
Name | Type | Description |
---|---|---|
$offset | int |
Type | Description |
---|---|
mixed |


offsetSet(int $offset, mixed $value) : void
Does nothing Required by the ArrayAccess implementation
Name | Type | Description |
---|---|---|
$offset | int | |
$value | mixed |


offsetUnset(int $offset) : void
Does nothing Required by the ArrayAccess implementation
Name | Type | Description |
---|---|---|
$offset | int |


unserialize(string $data) : void
Name | Type | Description |
---|---|---|
$data | string | representation of the instance |