Methods

Construct a Zend\Paginator\SerializableLimitIterator

__construct(\Iterator $it, int $offset, int $count) 

see \LimitIterator::__construct

Parameters

$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

current()

current() 

inherited_from LimitIterator::current()

getInnerIterator()

getInnerIterator() 

inherited_from LimitIterator::getInnerIterator()

getPosition()

getPosition() 

inherited_from LimitIterator::getPosition()

key()

key() 

inherited_from LimitIterator::key()

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

offsetExists(int $offset) : bool

Parameters

$offset

int

Returns

bool

Returns value of the Iterator

offsetGet(int $offset) : mixed

Parameters

$offset

int

Returns

mixed

Does nothing Required by the ArrayAccess implementation

offsetSet(int $offset, mixed $value) 

Parameters

$offset

int

$value

mixed

Does nothing Required by the ArrayAccess implementation

offsetUnset(int $offset) 

Parameters

$offset

int

rewind()

rewind() 

inherited_from LimitIterator::rewind()

seek()

seek() 

inherited_from LimitIterator::seek()

serialize()

serialize() : string

Returns

stringrepresentation of the instance

unserialize()

unserialize(string $data) : void

Parameters

$data

string

representation of the instance

valid()

valid() 

inherited_from LimitIterator::valid()

 Properties

 

Maximum number of elements to show or -1 for all

$count : int

 

Offset to first element

$offset : int