1635bd26bSro-la<?php 2635bd26bSro-la 3635bd26bSro-la/** 4635bd26bSro-la * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 6635bd26bSro-la * This program is free software: you can redistribute it and/or modify 7635bd26bSro-la * it under the terms of the GNU General Public License as published by 8635bd26bSro-la * the Free Software Foundation, either version 3 of the License, or 9635bd26bSro-la * (at your option) any later version. 10635bd26bSro-la * This program is distributed in the hope that it will be useful, 11635bd26bSro-la * but WITHOUT ANY WARRANTY; without even the implied warranty of 12635bd26bSro-la * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13635bd26bSro-la * GNU General Public License for more details. 14635bd26bSro-la * You should have received a copy of the GNU General Public License 15635bd26bSro-la * along with this program. If not, see <https://www.gnu.org/licenses/>. 16635bd26bSro-la */ 17635bd26bSro-la 185b8d8902SGreg Roachdeclare(strict_types=1); 195b8d8902SGreg Roach 20635bd26bSro-lanamespace Fisharebest\Webtrees\Census; 21635bd26bSro-la 22635bd26bSro-la/** 23635bd26bSro-la * Definitions for a census 24635bd26bSro-la */ 25635bd26bSro-laclass CensusOfSlovakia1940 extends CensusOfSlovakia implements CensusInterface 26635bd26bSro-la{ 27635bd26bSro-la /** 28635bd26bSro-la * When did this census occur. 29635bd26bSro-la * 30635bd26bSro-la * @return string 31635bd26bSro-la */ 32635bd26bSro-la public function censusDate(): string 33635bd26bSro-la { 34635bd26bSro-la return '14 DEC 1940'; 35635bd26bSro-la } 36635bd26bSro-la 37635bd26bSro-la /** 38635bd26bSro-la * The columns of the census. 39635bd26bSro-la * 4009482a55SGreg Roach * @return array<CensusColumnInterface> 41635bd26bSro-la */ 42635bd26bSro-la public function columns(): array 43635bd26bSro-la { 44635bd26bSro-la return [ 45635bd26bSro-la new CensusColumnNull($this, 'Č. b.', 'Radové číslo bytu'), 46635bd26bSro-la new CensusColumnNull($this, 'Č. os.', 'Radové číslo osôb v byte'), 47635bd26bSro-la new CensusColumnSurname($this, 'Priezvisko', 'Priezvisko (meno rodinné)'), 48635bd26bSro-la new CensusColumnGivenNames($this, 'Meno', 'Meno (krstné alebo rodné)'), 49635bd26bSro-la new CensusColumnRelationToHead($this, 'Pomer', 'Príbuzenský alebo iný pomer k hlave domácnosti'), 50635bd26bSro-la new CensusColumnSexMZ($this, 'Poh.', 'Pohlavie mužské alebo ženské'), 51635bd26bSro-la new CensusColumnBirthDayDotMonthYear($this, 'Nar.', 'Deň, mesiac a rok narodenia'), 52635bd26bSro-la new CensusColumnNull($this, 'Stav', 'Rodinný stav'), 53635bd26bSro-la new CensusColumnBirthPlace($this, 'Rodisko', 'a) rodná obec, b) okres'), 54635bd26bSro-la new CensusColumnNull($this, 'P. trv.', 'Je sčítaný v obci prítomný trvale?'), 55635bd26bSro-la new CensusColumnNull($this, 'Byd. doč.', 'Ak dočasne, nech uvedie svoje riadne bydlisko'), 56635bd26bSro-la new CensusColumnNull($this, 'Dát. prisťahovania', 'Ak sčítaný nebýva v obci pobytu od narodenia, kedy sa prisťahoval'), 57635bd26bSro-la new CensusColumnNull($this, 'Odkiaľ', 'Ak sčítaný nebýva v obci pobytu od narodenia, odkiaľ sa prisťahoval'), 58635bd26bSro-la new CensusColumnNull($this, 'Príslušnosť', 'Státna príslušnosť'), 59635bd26bSro-la new CensusColumnNull($this, 'Národnosť', 'Národnosť'), 60635bd26bSro-la new CensusColumnReligion($this, 'Náb.', 'Náboženstvo (cirkevná príslušnosť alebo bez vyznania'), 61635bd26bSro-la new CensusColumnNull($this, 'Čít./Pís.', 'Znalosť čítania a písania len u osôb starších 6tich rokov'), 62635bd26bSro-la new CensusColumnOccupation($this, 'Povolanie', 'Druh povolania'), 63635bd26bSro-la new CensusColumnNull($this, 'Postavenie', 'Postavenie v povolaní'), 64635bd26bSro-la new CensusColumnNull($this, 'Závod', 'Názov a sídlo závodu (firmy, úradu)'), 65635bd26bSro-la new CensusColumnNull($this, 'Odvetvie', 'K akému odvetviu patrí závod (firma, úrad)'), 66635bd26bSro-la new CensusColumnNull($this, 'Poz.', 'Poznámka'), 67635bd26bSro-la ]; 68635bd26bSro-la } 69635bd26bSro-la} 70