xref: /webtrees/app/Census/CensusOfCzechRepublic.php (revision c1010eda29c0909ed4d5d463f32d32bfefdd4dfe)
1c2a8c8bfSGreg Roach<?php
2c2a8c8bfSGreg Roach/**
3c2a8c8bfSGreg Roach * webtrees: online genealogy
41062a142SGreg Roach * Copyright (C) 2018 webtrees development team
5c2a8c8bfSGreg Roach * This program is free software: you can redistribute it and/or modify
6c2a8c8bfSGreg Roach * it under the terms of the GNU General Public License as published by
7c2a8c8bfSGreg Roach * the Free Software Foundation, either version 3 of the License, or
8c2a8c8bfSGreg Roach * (at your option) any later version.
9c2a8c8bfSGreg Roach * This program is distributed in the hope that it will be useful,
10c2a8c8bfSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
11c2a8c8bfSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12c2a8c8bfSGreg Roach * GNU General Public License for more details.
13c2a8c8bfSGreg Roach * You should have received a copy of the GNU General Public License
14c2a8c8bfSGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
15c2a8c8bfSGreg Roach */
1615d603e7SGreg Roach
17c2a8c8bfSGreg Roachnamespace Fisharebest\Webtrees\Census;
18c2a8c8bfSGreg Roach
19c2a8c8bfSGreg Roach/**
20c2a8c8bfSGreg Roach * Definitions for a census
21c2a8c8bfSGreg Roach */
22*c1010edaSGreg Roachclass CensusOfCzechRepublic extends Census implements CensusPlaceInterface
23*c1010edaSGreg Roach{
24c2a8c8bfSGreg Roach    /**
25c2a8c8bfSGreg Roach     * All available censuses for this census place.
26c2a8c8bfSGreg Roach     *
27c2a8c8bfSGreg Roach     * @return CensusInterface[]
28c2a8c8bfSGreg Roach     */
29*c1010edaSGreg Roach    public function allCensusDates()
30*c1010edaSGreg Roach    {
3113abd6f3SGreg Roach        return [
32c2a8c8bfSGreg Roach            new CensusOfCzechRepublic1880(),
33fbf0a249SGreg Roach            new CensusOfCzechRepublic1890(),
34fbf0a249SGreg Roach            new CensusOfCzechRepublic1900(),
35fbf0a249SGreg Roach            new CensusOfCzechRepublic1910(),
36c2a8c8bfSGreg Roach            new CensusOfCzechRepublic1921(),
3713abd6f3SGreg Roach        ];
38c2a8c8bfSGreg Roach    }
39c2a8c8bfSGreg Roach
40c2a8c8bfSGreg Roach    /**
41c2a8c8bfSGreg Roach     * Where did this census occur, in GEDCOM format.
42c2a8c8bfSGreg Roach     *
43c2a8c8bfSGreg Roach     * @return string
44c2a8c8bfSGreg Roach     */
45*c1010edaSGreg Roach    public function censusPlace()
46*c1010edaSGreg Roach    {
47c2a8c8bfSGreg Roach        return 'Česko';
48c2a8c8bfSGreg Roach    }
49c2a8c8bfSGreg Roach}
50