xref: /webtrees/app/Census/Census.php (revision 40150762995019e237299a92690fdc53f25e4ccf)
1*40150762SGreg Roach<?php
2*40150762SGreg Roach/**
3*40150762SGreg Roach * webtrees: online genealogy
4*40150762SGreg Roach * Copyright (C) 2015 webtrees development team
5*40150762SGreg Roach * This program is free software: you can redistribute it and/or modify
6*40150762SGreg Roach * it under the terms of the GNU General Public License as published by
7*40150762SGreg Roach * the Free Software Foundation, either version 3 of the License, or
8*40150762SGreg Roach * (at your option) any later version.
9*40150762SGreg Roach * This program is distributed in the hope that it will be useful,
10*40150762SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*40150762SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12*40150762SGreg Roach * GNU General Public License for more details.
13*40150762SGreg Roach * You should have received a copy of the GNU General Public License
14*40150762SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
15*40150762SGreg Roach */
16*40150762SGreg Roachnamespace Fisharebest\Webtrees\Census;
17*40150762SGreg Roach
18*40150762SGreg Roach/**
19*40150762SGreg Roach * Definitions for a census
20*40150762SGreg Roach */
21*40150762SGreg Roachclass Census {
22*40150762SGreg Roach	/**
23*40150762SGreg Roach	 * @return CensusPlaceInterface[]
24*40150762SGreg Roach	 */
25*40150762SGreg Roach	public static function allCensusPlaces() {
26*40150762SGreg Roach		return array(
27*40150762SGreg Roach			new CensusOfDenmark,
28*40150762SGreg Roach			new CensusOfEngland,
29*40150762SGreg Roach			new CensusOfFrance,
30*40150762SGreg Roach			new CensusOfScotland,
31*40150762SGreg Roach			new CensusOfUnitedStates,
32*40150762SGreg Roach			new CensusOfWales,
33*40150762SGreg Roach		);
34*40150762SGreg Roach	}
35*40150762SGreg Roach}
36