Domain::getName - jcobban/Genealogy GitHub Wiki

$domain->getName($options)

Up: class Domain

This method returns the name of the Domain from the current record. This extends Record::getName. It has one optional parameter:

parameter description
$options If this is even, including zero, or omitted then the method returns the value of the 'name' field. If it is odd, including 1, then it returns "country name: name".

Next: $domain->get($fldname)