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