Skip to content

District::getNextDistrict

James Cobban edited this page Nov 27, 2019 · 1 revision

$district->getNextDistrict()

Up: class District

This factory method is used to obtain the instance of District representing the District which immediately follows the current District within the current Census. Districts are identified by a number.

This returns an instance of District if the current District is not the District with the highest numeric identifier, otherwise it returns null.

$nextDistrict              = $district->getNextDistrict();

Next: $district->synchPopulation()

Clone this wiki locally