Child::get - jcobban/Genealogy GitHub Wiki

$child->get($fieldname)

Up: class Child

This gets the current value of the identified field. It has one parameter:

parameter description
$field The field name is case insensitive and may be a synonym defined by the derived class to facilitate readability. Late static binding is used so this method takes advantage of field name definitions in the derived class. The field name may also be a temporary field defined by assigning a value to it in the set method. This method creates a trace entry if the field name does not correspond to any field in the record and debugging is enabled.

It overloads the base implementation as follows:

field name description
'idar' currently always returns a non-zero value
'latitude' it returns the external floating point value in degrees.
'longitude' it returns the external floating point value in degrees.
'zoom' 12
'preposition' 'at'

This method returns the current value of the field. This method returns null if the field name does not correspond to any field in the record, and generates a warning message.

Next: $address->set($fieldname, $value)