Temple::get - jcobban/Genealogy GitHub Wiki
$temple->get($fieldname)
Up: class Temple
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 in order to make class Temple symmetrical with class Location and class Address in situations where all three classes are supported to describe the location of an Event:
field name | description |
---|---|
'latitude' | returns 0. |
'longitude' | returns 0. |
'zoom' | 12 |
'preposition' | 'at' |
'notes' | '' |