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 */ 16fbf0a249SGreg Roachnamespace Fisharebest\Webtrees\Census; 17fbf0a249SGreg Roach 18fbf0a249SGreg Roach/** 19fbf0a249SGreg Roach * Definitions for a census 20fbf0a249SGreg Roach */ 21c1010edaSGreg Roachclass CensusOfCzechRepublic1900 extends CensusOfCzechRepublic implements CensusInterface 22c1010edaSGreg Roach{ 23fbf0a249SGreg Roach /** 24fbf0a249SGreg Roach * When did this census occur. 25fbf0a249SGreg Roach * 26fbf0a249SGreg Roach * @return string 27fbf0a249SGreg Roach */ 28*8f53f488SRico Sonntag public function censusDate(): string 29c1010edaSGreg Roach { 30fbf0a249SGreg Roach return '31 DEC 1900'; 31fbf0a249SGreg Roach } 32fbf0a249SGreg Roach 33fbf0a249SGreg Roach /** 34fbf0a249SGreg Roach * The columns of the census. 35fbf0a249SGreg Roach * 36fbf0a249SGreg Roach * @return CensusColumnInterface[] 37fbf0a249SGreg Roach */ 38*8f53f488SRico Sonntag public function columns(): array 39c1010edaSGreg Roach { 403850e884SGreg Roach return [ 41fbf0a249SGreg Roach new CensusColumnFullName($this, 'Jméno', ''), 42fbf0a249SGreg Roach new CensusColumnRelationToHead($this, 'Vztah', ''), 43fbf0a249SGreg Roach new CensusColumnSexMZ($this, 'Pohlaví', ''), 44fbf0a249SGreg Roach new CensusColumnBirthDaySlashMonthYear($this, 'Narození', 'Datum narození'), 45fbf0a249SGreg Roach new CensusColumnBirthPlace($this, 'Rodiště', 'Místo narození'), 46fbf0a249SGreg Roach new CensusColumnNull($this, 'Přísluší', 'Domovské právo'), 47fbf0a249SGreg Roach new CensusColumnReligion($this, 'Vyznání', ''), 48fbf0a249SGreg Roach new CensusColumnNull($this, 'Stav', 'Rodinný stav'), 49fbf0a249SGreg Roach new CensusColumnNull($this, 'Jazyk', 'Jazyk v obcování'), 50fbf0a249SGreg Roach new CensusColumnOccupation($this, 'Povolání', ''), 51fbf0a249SGreg Roach new CensusColumnNull($this, 'Postavení', 'Postavení v zaměstnání'), 52fbf0a249SGreg Roach new CensusColumnNull($this, 'Gramotnost', 'Znalost čtení a psaní'), 53fbf0a249SGreg Roach new CensusColumnNull($this, 'Druh pobytu', 'Pobyt dočasný nebo trvalý'), 54fbf0a249SGreg Roach new CensusColumnNull($this, 'Od roku', 'Počátek pobytu'), 553850e884SGreg Roach ]; 56fbf0a249SGreg Roach } 57fbf0a249SGreg Roach} 58