Skip to content

District::getDomain

James Cobban edited this page Nov 29, 2019 · 2 revisions

$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.

Next: $district->getSubDistricts()

Clone this wiki locally