Record::extras - jcobban/Genealogy GitHub Wiki

$record->extras

Up: class Record

This protected member is an associative array containing the the current field values of fields which are added temporarily to an instance but which are discarded when the instance goes out of use. This array is empty until the method $record‑>set, or its synonym subscript access on the left hand side of an assignment, is called with a field name which is not defined for the current instance. These temporary fields and their values are held in the class instance so that they can be passed to functions along with the contents of the record, and treated by those functions as if they were attributes of the object. This is particularly useful with class Template.

Next: $record->needInsert