1c18c4744SGreg Roach<?php 2c18c4744SGreg Roach 3c18c4744SGreg Roach/** 4c18c4744SGreg Roach * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 6c18c4744SGreg Roach * This program is free software: you can redistribute it and/or modify 7c18c4744SGreg Roach * it under the terms of the GNU General Public License as published by 8c18c4744SGreg Roach * the Free Software Foundation, either version 3 of the License, or 9c18c4744SGreg Roach * (at your option) any later version. 10c18c4744SGreg Roach * This program is distributed in the hope that it will be useful, 11c18c4744SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 12c18c4744SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13c18c4744SGreg Roach * GNU General Public License for more details. 14c18c4744SGreg 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/>. 16c18c4744SGreg Roach */ 17c18c4744SGreg Roach 185b8d8902SGreg Roachdeclare(strict_types=1); 195b8d8902SGreg Roach 20c18c4744SGreg Roachnamespace Fisharebest\Webtrees\Census; 21c18c4744SGreg Roach 22c18c4744SGreg Roach/** 23c18c4744SGreg Roach * Definitions for a census 24c18c4744SGreg Roach */ 25c18c4744SGreg Roachclass CensusOfSlovakia1869 extends CensusOfSlovakia implements CensusInterface 26c18c4744SGreg Roach{ 27c18c4744SGreg Roach /** 28c18c4744SGreg Roach * When did this census occur. 29c18c4744SGreg Roach * 30c18c4744SGreg Roach * @return string 31c18c4744SGreg Roach */ 32c18c4744SGreg Roach public function censusDate(): string 33c18c4744SGreg Roach { 34c18c4744SGreg Roach return '31 DEC 1869'; 35c18c4744SGreg Roach } 36c18c4744SGreg Roach 37c18c4744SGreg Roach /** 38c18c4744SGreg Roach * The columns of the census. 39c18c4744SGreg Roach * 4009482a55SGreg Roach * @return array<CensusColumnInterface> 41c18c4744SGreg Roach */ 42c18c4744SGreg Roach public function columns(): array 43c18c4744SGreg Roach { 44c18c4744SGreg Roach return [ 45c18c4744SGreg Roach new CensusColumnNull($this, 'Č. b.', 'Poradové číslo bytu'), 46c18c4744SGreg Roach new CensusColumnNull($this, 'Č. os.', 'Poradové číslo osoby'), 47c18c4744SGreg Roach new CensusColumnFullName($this, 'Meno', 'Priezvisko a krstné meno, titul'), 482ad83e80SGreg Roach new CensusColumnRelationToHead($this, 'Vzťah', 'Postavenie (rodinný vzťah k hlave domácnosti)'), 492ad83e80SGreg Roach new CensusColumnSexMZ($this, 'Poh.', 'Pohlavie'), 502ad83e80SGreg Roach new CensusColumnBirthYear($this, 'Nar.', 'Rok narodenia'), 51c18c4744SGreg Roach new CensusColumnReligion($this, 'Náb.', 'Náboženstvo'), 52c18c4744SGreg Roach new CensusColumnNull($this, 'Stav', 'Rodinský stav'), 532ad83e80SGreg Roach new CensusColumnOccupation($this, 'Povolanie', 'Povolanie'), 542ad83e80SGreg Roach new CensusColumnNull($this, 'Zamestnanie', 'Okolnosti zamestnania'), 552ad83e80SGreg Roach new CensusColumnBirthPlace($this, 'Rodisko', 'Rodisko - štát/krajina, stolica/okres/sídlo/vidiek, mesto/obec'), 562ad83e80SGreg Roach new CensusColumnNull($this, 'Dom.', 'Príslušnosť k obci - zdejší'), 572ad83e80SGreg Roach new CensusColumnNull($this, 'Cudz.', 'Príslušnosť k obci - cudzí'), 58c18c4744SGreg Roach new CensusColumnNull($this, 'P. doč.', 'Prítomný dočasne - do jedného mesiaca'), 592ad83e80SGreg Roach new CensusColumnNull($this, 'P. trv.', 'Prítomný trvalo'), 60c18c4744SGreg Roach new CensusColumnNull($this, 'Vz. doč.', 'Vzdialený dočasne - do jedného mesiaca'), 61c18c4744SGreg Roach new CensusColumnNull($this, 'Vz. dlho.', 'Vzdialený dlhodobo - nad jeden mesiac'), 62c18c4744SGreg Roach new CensusColumnNull($this, 'Čít.', 'Osoba vie čítať'), 63c18c4744SGreg Roach new CensusColumnNull($this, 'Pís.', 'Osoba vie čítať a písať'), 64c18c4744SGreg Roach new CensusColumnNull($this, 'Poz.', 'Poznámka'), 65c18c4744SGreg Roach ]; 66c18c4744SGreg Roach } 67c18c4744SGreg Roach} 68