County::getDomain - jcobban/Genealogy GitHub Wiki

$county->getDomain($domain)

Up: class County

This method is used to obtain the instance of class Domain within which the County is located. To permit this method to be called by the constructor, that is before the instance of County has completed initialization, there is an optional parameter:

parameter description
$domain this is a string containing a domain identifier. If this is omitted and the instance of Domain has not already been obtained the value of the field 'domain' is used to construct it.

Next: $county->getName()