District::getDomain - jcobban/Genealogy GitHub Wiki
$district->getDomain($lang)
Up: class District
This factory method returns the instance of class Domain that this District is defined under. For a Canadian census this represents a province. This method has one optional parameter:
parameter | description |
---|---|
$lang | a BCP 47 localization identifier. The default is 'en' for generic English. |