1c2a8c8bfSGreg Roach<?php 23976b470SGreg Roach 3c2a8c8bfSGreg Roach/** 4c2a8c8bfSGreg Roach * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 6c2a8c8bfSGreg Roach * This program is free software: you can redistribute it and/or modify 7c2a8c8bfSGreg Roach * it under the terms of the GNU General Public License as published by 8c2a8c8bfSGreg Roach * the Free Software Foundation, either version 3 of the License, or 9c2a8c8bfSGreg Roach * (at your option) any later version. 10c2a8c8bfSGreg Roach * This program is distributed in the hope that it will be useful, 11c2a8c8bfSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 12c2a8c8bfSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13c2a8c8bfSGreg Roach * GNU General Public License for more details. 14c2a8c8bfSGreg 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/>. 16c2a8c8bfSGreg Roach */ 17fcfa147eSGreg Roach 18e7f56f2aSGreg Roachdeclare(strict_types=1); 1915d603e7SGreg Roach 20c2a8c8bfSGreg Roachnamespace Fisharebest\Webtrees\Census; 21c2a8c8bfSGreg Roach 22c2a8c8bfSGreg Roach/** 23c2a8c8bfSGreg Roach * Definitions for a census 24c2a8c8bfSGreg Roach */ 25c1010edaSGreg Roachclass CensusOfCzechRepublic1921 extends CensusOfCzechRepublic implements CensusInterface 26c1010edaSGreg Roach{ 27c2a8c8bfSGreg Roach /** 28c2a8c8bfSGreg Roach * When did this census occur. 29c2a8c8bfSGreg Roach * 30c2a8c8bfSGreg Roach * @return string 31c2a8c8bfSGreg Roach */ 328f53f488SRico Sonntag public function censusDate(): string 33c1010edaSGreg Roach { 34c2a8c8bfSGreg Roach return '15 FEB 1921'; 35c2a8c8bfSGreg Roach } 36c2a8c8bfSGreg Roach 37c2a8c8bfSGreg Roach /** 38c2a8c8bfSGreg Roach * The columns of the census. 39c2a8c8bfSGreg Roach * 4009482a55SGreg Roach * @return array<CensusColumnInterface> 41c2a8c8bfSGreg Roach */ 428f53f488SRico Sonntag public function columns(): array 43c1010edaSGreg Roach { 4413abd6f3SGreg Roach return [ 45720ec754SGreg Roach new CensusColumnNull($this, 'Ř.č.', 'Řadové číslo'), 46720ec754SGreg Roach new CensusColumnSurname($this, 'Příjmení', 'jméno rodinné'), 47720ec754SGreg Roach new CensusColumnGivenNames($this, 'Jméno', 'Jméno (křestni)'), 48c2a8c8bfSGreg Roach new CensusColumnRelationToHead($this, 'Vztah', ''), 49c2a8c8bfSGreg Roach new CensusColumnSexMZ($this, 'Pohlaví', ''), 50c2a8c8bfSGreg Roach new CensusColumnNull($this, 'Stav', 'Rodinný stav'), 51720ec754SGreg Roach new CensusColumnBirthDayDotMonthYear($this, 'Narození', 'Datum narození'), 52720ec754SGreg Roach new CensusColumnBirthPlace($this, 'Rodiště', 'Rodná obec, Soudní okres, Země'), 53720ec754SGreg Roach new CensusColumnNull($this, 'Bydlí od', 'Od kdy bydlí zapsána osoba v obci?'), 54c2a8c8bfSGreg Roach new CensusColumnNull($this, 'Přísluší', 'Domovské právo'), 55fbf0a249SGreg Roach new CensusColumnNull($this, 'Národnost', 'Mateřský jazyk'), 56c2a8c8bfSGreg Roach new CensusColumnReligion($this, 'Vyznání', ''), 57fbf0a249SGreg Roach new CensusColumnNull($this, 'Gramotnost', 'Znalost čtení a psaní'), 58720ec754SGreg Roach new CensusColumnOccupation($this, 'Povolání', 'Druh povolání'), 59c2a8c8bfSGreg Roach new CensusColumnNull($this, 'Postavení', 'Postavení v zaměstnání'), 60fbf0a249SGreg Roach new CensusColumnNull($this, 'Podnik', ''), 61720ec754SGreg Roach new CensusColumnNull($this, 'Měl povolání 1914', ''), 62720ec754SGreg Roach new CensusColumnNull($this, 'Povolání 1914', 'Druh povolání dne 16. července 1914'), 63720ec754SGreg Roach new CensusColumnNull($this, 'Postavení 1914', 'Postavení v zaměstnání dne 16. července 1914'), 64720ec754SGreg Roach new CensusColumnNull($this, 'Poznámka', ''), 6513abd6f3SGreg Roach ]; 66c2a8c8bfSGreg Roach } 67c2a8c8bfSGreg Roach} 68