xref: /webtrees/app/Census/CensusOfCzechRepublic1921.php (revision 6bdf767435631ad1dc27ec1ffd855d43dbdce907)
1c2a8c8bfSGreg Roach<?php
2c2a8c8bfSGreg Roach/**
3c2a8c8bfSGreg Roach * webtrees: online genealogy
4*6bdf7674SGreg Roach * Copyright (C) 2017 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 */
16c2a8c8bfSGreg Roachnamespace Fisharebest\Webtrees\Census;
17c2a8c8bfSGreg Roach
18c2a8c8bfSGreg Roach/**
19c2a8c8bfSGreg Roach * Definitions for a census
20c2a8c8bfSGreg Roach */
21c2a8c8bfSGreg Roachclass CensusOfCzechRepublic1921 extends CensusOfCzechRepublic implements CensusInterface {
22c2a8c8bfSGreg Roach	/**
23c2a8c8bfSGreg Roach	 * When did this census occur.
24c2a8c8bfSGreg Roach	 *
25c2a8c8bfSGreg Roach	 * @return string
26c2a8c8bfSGreg Roach	 */
27c2a8c8bfSGreg Roach	public function censusDate() {
28c2a8c8bfSGreg Roach		return '15 FEB 1921';
29c2a8c8bfSGreg Roach	}
30c2a8c8bfSGreg Roach
31c2a8c8bfSGreg Roach	/**
32c2a8c8bfSGreg Roach	 * The columns of the census.
33c2a8c8bfSGreg Roach	 *
34c2a8c8bfSGreg Roach	 * @return CensusColumnInterface[]
35c2a8c8bfSGreg Roach	 */
36c2a8c8bfSGreg Roach	public function columns() {
3713abd6f3SGreg Roach		return [
38c2a8c8bfSGreg Roach			new CensusColumnFullName($this, 'Jméno', ''),
39c2a8c8bfSGreg Roach			new CensusColumnRelationToHead($this, 'Vztah', ''),
40c2a8c8bfSGreg Roach			new CensusColumnSexMZ($this, 'Pohlaví', ''),
41c2a8c8bfSGreg Roach			new CensusColumnNull($this, 'Stav', 'Rodinný stav'),
42c2a8c8bfSGreg Roach			new CensusColumnBirthDaySlashMonthYear($this, 'Narození', 'Datum narození'),
43c2a8c8bfSGreg Roach			new CensusColumnBirthPlace($this, 'Místo', 'Místo narození'),
44c2a8c8bfSGreg Roach			new CensusColumnNull($this, 'Přísluší', 'Domovské právo'),
45c2a8c8bfSGreg Roach			new CensusColumnNull($this, 'Jazyk', 'Jazyk v obcování'),
46c2a8c8bfSGreg Roach			new CensusColumnReligion($this, 'Vyznání', ''),
47c2a8c8bfSGreg Roach			new CensusColumnOccupation($this, 'Povolání', ''),
48c2a8c8bfSGreg Roach			new CensusColumnNull($this, 'Postavení', 'Postavení v zaměstnání'),
49c2a8c8bfSGreg Roach			new CensusColumnNull($this, '', ''),
50c2a8c8bfSGreg Roach			new CensusColumnNull($this, '', ''),
51c2a8c8bfSGreg Roach			new CensusColumnNull($this, '', ''),
5213abd6f3SGreg Roach		];
53c2a8c8bfSGreg Roach	}
54c2a8c8bfSGreg Roach}
55