set_current_record — Set a record to the view as the current record.
Summary
- set_current_record($recordVar, Omeka_Record_AbstractRecord $record, $setPreviousRecord = false)
Set a record to the view as the current record.
- Parameters:
$recordVar (
string) – View variable to store the current record in.$record (
Omeka_Record_AbstractRecord)$setPreviousRecord (
bool) – Whether to store the previous “current” record, if any. The default is to not store the previous record.