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