xref: /webtrees/app/Census/Census.php (revision 6bdf767435631ad1dc27ec1ffd855d43dbdce907)
140150762SGreg Roach<?php
240150762SGreg Roach/**
340150762SGreg Roach * webtrees: online genealogy
4*6bdf7674SGreg Roach * Copyright (C) 2017 webtrees development team
540150762SGreg Roach * This program is free software: you can redistribute it and/or modify
640150762SGreg Roach * it under the terms of the GNU General Public License as published by
740150762SGreg Roach * the Free Software Foundation, either version 3 of the License, or
840150762SGreg Roach * (at your option) any later version.
940150762SGreg Roach * This program is distributed in the hope that it will be useful,
1040150762SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1140150762SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1240150762SGreg Roach * GNU General Public License for more details.
1340150762SGreg Roach * You should have received a copy of the GNU General Public License
1440150762SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
1540150762SGreg Roach */
1640150762SGreg Roachnamespace Fisharebest\Webtrees\Census;
1740150762SGreg Roach
1840150762SGreg Roach/**
1940150762SGreg Roach * Definitions for a census
2040150762SGreg Roach */
2140150762SGreg Roachclass Census {
2240150762SGreg Roach	/**
2340150762SGreg Roach	 * @return CensusPlaceInterface[]
2440150762SGreg Roach	 */
2540150762SGreg Roach	public static function allCensusPlaces() {
2613abd6f3SGreg Roach		return [
27c2a8c8bfSGreg Roach			new CensusOfCzechRepublic,
2840150762SGreg Roach			new CensusOfDenmark,
29ce92b752Smpwt			new CensusOfDeutschland,
3040150762SGreg Roach			new CensusOfEngland,
3140150762SGreg Roach			new CensusOfFrance,
3240150762SGreg Roach			new CensusOfScotland,
3340150762SGreg Roach			new CensusOfUnitedStates,
3440150762SGreg Roach			new CensusOfWales,
3513abd6f3SGreg Roach		];
3640150762SGreg Roach	}
3740150762SGreg Roach}
38