xref: /webtrees/app/Census/CensusOfCzechRepublic1900.php (revision e7f56f2af615447ab1a7646851f88b465ace9e04)
1fbf0a249SGreg Roach<?php
2fbf0a249SGreg Roach/**
3fbf0a249SGreg Roach * webtrees: online genealogy
4fbf0a249SGreg Roach * Copyright (C) 2015 webtrees development team
5fbf0a249SGreg Roach * This program is free software: you can redistribute it and/or modify
6fbf0a249SGreg Roach * it under the terms of the GNU General Public License as published by
7fbf0a249SGreg Roach * the Free Software Foundation, either version 3 of the License, or
8fbf0a249SGreg Roach * (at your option) any later version.
9fbf0a249SGreg Roach * This program is distributed in the hope that it will be useful,
10fbf0a249SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
11fbf0a249SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12fbf0a249SGreg Roach * GNU General Public License for more details.
13fbf0a249SGreg Roach * You should have received a copy of the GNU General Public License
14fbf0a249SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
15fbf0a249SGreg Roach */
16*e7f56f2aSGreg Roachdeclare(strict_types=1);
17*e7f56f2aSGreg Roach
18fbf0a249SGreg Roachnamespace Fisharebest\Webtrees\Census;
19fbf0a249SGreg Roach
20fbf0a249SGreg Roach/**
21fbf0a249SGreg Roach * Definitions for a census
22fbf0a249SGreg Roach */
23c1010edaSGreg Roachclass CensusOfCzechRepublic1900 extends CensusOfCzechRepublic implements CensusInterface
24c1010edaSGreg Roach{
25fbf0a249SGreg Roach    /**
26fbf0a249SGreg Roach     * When did this census occur.
27fbf0a249SGreg Roach     *
28fbf0a249SGreg Roach     * @return string
29fbf0a249SGreg Roach     */
308f53f488SRico Sonntag    public function censusDate(): string
31c1010edaSGreg Roach    {
32fbf0a249SGreg Roach        return '31 DEC 1900';
33fbf0a249SGreg Roach    }
34fbf0a249SGreg Roach
35fbf0a249SGreg Roach    /**
36fbf0a249SGreg Roach     * The columns of the census.
37fbf0a249SGreg Roach     *
38fbf0a249SGreg Roach     * @return CensusColumnInterface[]
39fbf0a249SGreg Roach     */
408f53f488SRico Sonntag    public function columns(): array
41c1010edaSGreg Roach    {
423850e884SGreg Roach        return [
43fbf0a249SGreg Roach            new CensusColumnFullName($this, 'Jméno', ''),
44fbf0a249SGreg Roach            new CensusColumnRelationToHead($this, 'Vztah', ''),
45fbf0a249SGreg Roach            new CensusColumnSexMZ($this, 'Pohlaví', ''),
46fbf0a249SGreg Roach            new CensusColumnBirthDaySlashMonthYear($this, 'Narození', 'Datum narození'),
47fbf0a249SGreg Roach            new CensusColumnBirthPlace($this, 'Rodiště', 'Místo narození'),
48fbf0a249SGreg Roach            new CensusColumnNull($this, 'Přísluší', 'Domovské právo'),
49fbf0a249SGreg Roach            new CensusColumnReligion($this, 'Vyznání', ''),
50fbf0a249SGreg Roach            new CensusColumnNull($this, 'Stav', 'Rodinný stav'),
51fbf0a249SGreg Roach            new CensusColumnNull($this, 'Jazyk', 'Jazyk v obcování'),
52fbf0a249SGreg Roach            new CensusColumnOccupation($this, 'Povolání', ''),
53fbf0a249SGreg Roach            new CensusColumnNull($this, 'Postavení', 'Postavení v zaměstnání'),
54fbf0a249SGreg Roach            new CensusColumnNull($this, 'Gramotnost', 'Znalost čtení a psaní'),
55fbf0a249SGreg Roach            new CensusColumnNull($this, 'Druh pobytu', 'Pobyt dočasný nebo trvalý'),
56fbf0a249SGreg Roach            new CensusColumnNull($this, 'Od roku', 'Počátek pobytu'),
573850e884SGreg Roach        ];
58fbf0a249SGreg Roach    }
59fbf0a249SGreg Roach}
60