Zend Framework
1.12
|
Public Member Functions | |
__construct (Iterator $iterator) | |
Constructor. | |
getItems ($offset, $itemCountPerPage) | |
Returns an iterator of items for a page, or an empty array. | |
count () | |
Returns the total number of rows in the collection. | |
Protected Attributes | |
$_iterator = null | |
$_count = null | |
__construct | ( | Iterator | $iterator | ) |
Constructor.
Iterator | $iterator | Iterator to paginate |
Zend_Paginator_Exception |
count | ( | ) |
Returns the total number of rows in the collection.
getItems | ( | $offset, | |
$itemCountPerPage | |||
) |
Returns an iterator of items for a page, or an empty array.
integer | $offset | Page offset |
integer | $itemCountPerPage | Number of items per page |
Implements Zend_Paginator_Adapter_Interface.
|
protected |
|
protected |