Omeka_Record_Iterator
Package: Record
- class Omeka_Record_Iterator
implements Iterator
implements Traversable
- property Omeka_Record_Iterator::$_records
protected
- property Omeka_Record_Iterator::$_view
protected
- property Omeka_Record_Iterator::$_currentRecordVar
protected
- Omeka_Record_Iterator::__construct($records, $view = null, $currentRecordVar = null)
Construct the record iterator.
- Parameters:
$records (
array
)$view (
null|Zend_View_Abstract
)$currentRecordVar (
null|string
)
- Omeka_Record_Iterator::rewind()
- Omeka_Record_Iterator::current()
Return the current record, setting it to the view if applicable.
- Omeka_Record_Iterator::key()
- Omeka_Record_Iterator::next()
Release the previous record and advance the pointer to the next one.
- Omeka_Record_Iterator::valid()