Record::row - jcobban/Genealogy GitHub Wiki
$record->row
Up: class Record
This protected member is an associative array containing all of the fields of the database record identified by the field name all in lower case. Read access to elements in this array from outside is provided by the Record::get method for which subscript access is a synonym. Write access to this array is provided by the Record::set method for which subscript access on the left-hand-side of an assignment is a synonym. This field is protected so it can only be accessed directly by derived classes. Derived classes may define methods that permit controlled retrieval or modification of elements of this array.
It is almost always better to access the contents of the Record using the overloaded subscript operation.
$value = $this['field']; // better
$value = $this->row['field']; // faster but less functionality
This is because the overloaded subscript operator implements all of the functionality of method $record->get which includes translating between internal and external representations, validating new values, supporting field name synonyms, and supporting temporary fields.
Next: $record->changed