xref: /webtrees/app/Census/CensusOfCzechRepublic1921.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 CensusOfCzechRepublic1921 extends CensusOfCzechRepublic implements CensusInterface
23*c1010edaSGreg Roach{
24c2a8c8bfSGreg Roach    /**
25c2a8c8bfSGreg Roach     * When did this census occur.
26c2a8c8bfSGreg Roach     *
27c2a8c8bfSGreg Roach     * @return string
28c2a8c8bfSGreg Roach     */
29*c1010edaSGreg Roach    public function censusDate()
30*c1010edaSGreg Roach    {
31c2a8c8bfSGreg Roach        return '15 FEB 1921';
32c2a8c8bfSGreg Roach    }
33c2a8c8bfSGreg Roach
34c2a8c8bfSGreg Roach    /**
35c2a8c8bfSGreg Roach     * The columns of the census.
36c2a8c8bfSGreg Roach     *
37c2a8c8bfSGreg Roach     * @return CensusColumnInterface[]
38c2a8c8bfSGreg Roach     */
39*c1010edaSGreg Roach    public function columns()
40*c1010edaSGreg Roach    {
4113abd6f3SGreg Roach        return [
42c2a8c8bfSGreg Roach            new CensusColumnFullName($this, 'Jméno', ''),
43c2a8c8bfSGreg Roach            new CensusColumnRelationToHead($this, 'Vztah', ''),
44c2a8c8bfSGreg Roach            new CensusColumnSexMZ($this, 'Pohlaví', ''),
45c2a8c8bfSGreg Roach            new CensusColumnNull($this, 'Stav', 'Rodinný stav'),
46c2a8c8bfSGreg Roach            new CensusColumnBirthDaySlashMonthYear($this, 'Narození', 'Datum narození'),
47c2a8c8bfSGreg Roach            new CensusColumnBirthPlace($this, 'Místo', 'Místo narození'),
48c2a8c8bfSGreg Roach            new CensusColumnNull($this, 'Přísluší', 'Domovské právo'),
49fbf0a249SGreg Roach            new CensusColumnNull($this, 'Národnost', 'Mateřský jazyk'),
50c2a8c8bfSGreg Roach            new CensusColumnReligion($this, 'Vyznání', ''),
51fbf0a249SGreg Roach            new CensusColumnNull($this, 'Gramotnost', 'Znalost čtení a psaní'),
52c2a8c8bfSGreg Roach            new CensusColumnOccupation($this, 'Povolání', ''),
53c2a8c8bfSGreg Roach            new CensusColumnNull($this, 'Postavení', 'Postavení v zaměstnání'),
54fbf0a249SGreg Roach            new CensusColumnNull($this, 'Podnik', ''),
55c2a8c8bfSGreg Roach            new CensusColumnNull($this, '', ''),
5613abd6f3SGreg Roach        ];
57c2a8c8bfSGreg Roach    }
58c2a8c8bfSGreg Roach}
59