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 license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Paginator
- Version
- $Id$
\Zend_Paginator_SerializableLimitIterator
Package: Zend_Paginator
- Implements
- Parent(s)
- \LimitIterator
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 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
Parameters
Details
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 |
offsetExists(int $offset) : void
Determine if a value of Iterator is set and is not NULL
Parameters
Name | Type | Description |
---|---|---|
$offset | int |
offsetGet(int $offset) : mixed
Returns value of the Iterator
Parameters
Returns
Name | Type | Description |
---|---|---|
$offset | int |
Type | Description |
---|---|
mixed |
offsetSet(int $offset, mixed $value) : void
Does nothing Required by the ArrayAccess implementation
Parameters
Name | Type | Description |
---|---|---|
$offset | int | |
$value | mixed |
offsetUnset(int $offset) : void
Does nothing Required by the ArrayAccess implementation
Parameters
Name | Type | Description |
---|---|---|
$offset | int |