Paginator/SerializableLimitIterator.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprivateint $_count
Maximum number of elements to show or -1 for all
Details
Type
int
>VPropertyprivateint $_offset
Offset to first element
Details
Type
int

Methods

methodpublic__construct(\Iterator $it, int $offset = 0, int $count = -1) : void

Construct a Zend_Paginator_SerializableLimitIterator

Parameters
NameTypeDescription
$it\Iterator

Iterator to limit (must be serializable by un-/serialize)

$offsetint

Offset to first element

$countint

Maximum number of elements to show or -1 for all

Details
See
 
methodpublicoffsetExists(int $offset) : void

Determine if a value of Iterator is set and is not NULL

Parameters
NameTypeDescription
$offsetint
methodpublicoffsetGet(int $offset) : mixed

Returns value of the Iterator

Parameters
NameTypeDescription
$offsetint
Returns
TypeDescription
mixed
methodpublicoffsetSet(int $offset, mixed $value) : void

Does nothing Required by the ArrayAccess implementation

Parameters
NameTypeDescription
$offsetint
$valuemixed
methodpublicoffsetUnset(int $offset) : void

Does nothing Required by the ArrayAccess implementation

Parameters
NameTypeDescription
$offsetint
methodpublicserialize() : string

Returns
TypeDescription
stringrepresentation of the instance
methodpublicunserialize(string $data) : void

Parameters
NameTypeDescription
$datastring

representation of the instance

Documentation was generated by phpDocumentor 2.2.0 .