1101af0b4SGreg Roach<?php 23976b470SGreg Roach 3101af0b4SGreg Roach/** 4101af0b4SGreg Roach * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 6101af0b4SGreg Roach * This program is free software: you can redistribute it and/or modify 7101af0b4SGreg Roach * it under the terms of the GNU General Public License as published by 8101af0b4SGreg Roach * the Free Software Foundation, either version 3 of the License, or 9101af0b4SGreg Roach * (at your option) any later version. 10101af0b4SGreg Roach * This program is distributed in the hope that it will be useful, 11101af0b4SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 12101af0b4SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13101af0b4SGreg Roach * GNU General Public License for more details. 14101af0b4SGreg 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/>. 16101af0b4SGreg Roach */ 17fcfa147eSGreg Roach 18e7f56f2aSGreg Roachdeclare(strict_types=1); 1915d603e7SGreg Roach 20101af0b4SGreg Roachnamespace Fisharebest\Webtrees\Census; 21101af0b4SGreg Roach 22101af0b4SGreg Roach/** 23101af0b4SGreg Roach * Definitions for a census 24101af0b4SGreg Roach */ 25c1010edaSGreg Roachclass CensusOfDenmark1885 extends CensusOfDenmark implements CensusInterface 26c1010edaSGreg Roach{ 27101af0b4SGreg Roach /** 28101af0b4SGreg Roach * When did this census occur. 29101af0b4SGreg Roach * 30101af0b4SGreg Roach * @return string 31101af0b4SGreg Roach */ 328f53f488SRico Sonntag public function censusDate(): string 33c1010edaSGreg Roach { 34101af0b4SGreg Roach return '01 FEB 1885'; 35101af0b4SGreg Roach } 36101af0b4SGreg Roach 37101af0b4SGreg Roach /** 38101af0b4SGreg Roach * Where did this census occur, in GEDCOM format. 39101af0b4SGreg Roach * 40101af0b4SGreg Roach * @return string 41101af0b4SGreg Roach */ 428f53f488SRico Sonntag public function censusPlace(): string 43c1010edaSGreg Roach { 44101af0b4SGreg Roach return 'København, Danmark'; 45101af0b4SGreg Roach } 46101af0b4SGreg Roach 47101af0b4SGreg Roach /** 48101af0b4SGreg Roach * The columns of the census. 49101af0b4SGreg Roach * 5009482a55SGreg Roach * @return array<CensusColumnInterface> 51101af0b4SGreg Roach */ 528f53f488SRico Sonntag public function columns(): array 53c1010edaSGreg Roach { 5413abd6f3SGreg Roach return [ 554c219c47SGreg Roach new CensusColumnFullName($this, 'Navn', ''), 564c219c47SGreg Roach new CensusColumnSexMK($this, 'Køn', ''), 574c219c47SGreg Roach new CensusColumnAge($this, 'Alder', ''), 584c219c47SGreg Roach new CensusColumnConditionDanish($this, 'Civilstand', ''), 594c219c47SGreg Roach new CensusColumnReligion($this, 'Religion', ''), 604c219c47SGreg Roach new CensusColumnOccupation($this, 'Erhverv', ''), 614c219c47SGreg Roach new CensusColumnRelationToHead($this, 'Stilling i familien', ''), 624c219c47SGreg Roach new CensusColumnNull($this, '', ''), 634c219c47SGreg Roach new CensusColumnNull($this, '', ''), 644c219c47SGreg Roach new CensusColumnNull($this, '', ''), 654c219c47SGreg Roach new CensusColumnNull($this, '', ''), 664c219c47SGreg Roach new CensusColumnNull($this, '', ''), 674c219c47SGreg Roach new CensusColumnNull($this, '', ''), 6813abd6f3SGreg Roach ]; 69101af0b4SGreg Roach } 70101af0b4SGreg Roach} 71