RecordSet::push - jcobban/Genealogy GitHub Wiki
$recordSet->push($index, $record)
Up: class RecordSet
Add a new index and record to the front of the RecordSet
.
To add $record
to the back of the RecordSet
use $recordSet[$index] = $record
where $index
does not already exist. A special case is that $recordSet[] = $record
adds $record
to the back of the RecordSet
and assigns a new index.
$recordSet->push($index, $record);