|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct () | |
| atFirstPage () | |
| atLastPage () | |
| eof () | |
| getCount () | |
| getPage () | |
| getPageCount () | |
| next () | |
| nextWithKey () | |
| toArray () | |
| wasEmpty () | |
Generic iterator class; needs to be overloaded by subclasses providing specific implementations.
Definition at line 18 of file ItemIterator.inc.php.
| ItemIterator::__construct | ( | ) |
Constructor
Definition at line 22 of file ItemIterator.inc.php.
| ItemIterator::atFirstPage | ( | ) |
Determine whether this iterator represents the first page of a set.
Reimplemented in DAOResultFactory, VirtualArrayIterator, DBRowIterator, and ArrayItemIterator.
Definition at line 45 of file ItemIterator.inc.php.
| ItemIterator::atLastPage | ( | ) |
Determine whether this iterator represents the last page of a set.
Reimplemented in DAOResultFactory, VirtualArrayIterator, DBRowIterator, and ArrayItemIterator.
Definition at line 53 of file ItemIterator.inc.php.
| ItemIterator::eof | ( | ) |
Return a boolean indicating whether or not we've reached the end of results
Reimplemented in DAOResultFactory, VirtualArrayIterator, DBRowIterator, and ArrayItemIterator.
Definition at line 85 of file ItemIterator.inc.php.
| ItemIterator::getCount | ( | ) |
Get the total number of items in the set.
Reimplemented in DAOResultFactory, VirtualArrayIterator, DBRowIterator, and ArrayItemIterator.
Definition at line 69 of file ItemIterator.inc.php.
| ItemIterator::getPage | ( | ) |
Get the page number of a set that this iterator represents.
Reimplemented in DAOResultFactory, VirtualArrayIterator, DBRowIterator, and ArrayItemIterator.
Definition at line 61 of file ItemIterator.inc.php.
| ItemIterator::getPageCount | ( | ) |
Get the total number of pages in the set.
Reimplemented in DAOResultFactory, VirtualArrayIterator, DBRowIterator, and ArrayItemIterator.
Definition at line 77 of file ItemIterator.inc.php.
| ItemIterator::next | ( | ) |
Return the next item in the iterator.
Reimplemented in DAOResultFactory, VirtualArrayIterator, ArrayItemIterator, and DBRowIterator.
Definition at line 29 of file ItemIterator.inc.php.
| ItemIterator::nextWithKey | ( | ) |
Return the next item with key.
Reimplemented in VirtualArrayIterator, ArrayItemIterator, and DBRowIterator.
Definition at line 37 of file ItemIterator.inc.php.
| ItemIterator::toArray | ( | ) |
Convert this iterator to an array.
Reimplemented in DAOResultFactory, DBRowIterator, VirtualArrayIterator, and ArrayItemIterator.
Definition at line 101 of file ItemIterator.inc.php.
| ItemIterator::wasEmpty | ( | ) |
Return a boolean indicating whether or not this iterator was empty from the beginning
Reimplemented in DAOResultFactory, DBRowIterator, VirtualArrayIterator, and ArrayItemIterator.
Definition at line 93 of file ItemIterator.inc.php.