__construct()
current()
getInnerIterator()
key()
next()
rewind()
valid()
$paginator
$valid
Class allowing for the continuous iteration of a Zend\Paginator\Paginator instance.
Useful for representing remote paginated data sources as a single Iterator
__construct(\Zend\Paginator\Paginator $paginator)
current() : mixed
getInnerIterator() : \Iterator
link | http://php.net/manual/en/outeriterator.getinneriterator.php |
---|
\Iterator
The inner iterator for the current entry.key() : mixed
rewind() : void
valid() : boolean
link | http://php.net/manual/en/iterator.valid.php |
---|
boolean
The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.$valid : bool