1101af0b4SGreg Roach<?php 2101af0b4SGreg Roach/** 3101af0b4SGreg Roach * webtrees: online genealogy 46bdf7674SGreg Roach * Copyright (C) 2017 webtrees development team 5101af0b4SGreg Roach * This program is free software: you can redistribute it and/or modify 6101af0b4SGreg Roach * it under the terms of the GNU General Public License as published by 7101af0b4SGreg Roach * the Free Software Foundation, either version 3 of the License, or 8101af0b4SGreg Roach * (at your option) any later version. 9101af0b4SGreg Roach * This program is distributed in the hope that it will be useful, 10101af0b4SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 11101af0b4SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12101af0b4SGreg Roach * GNU General Public License for more details. 13101af0b4SGreg Roach * You should have received a copy of the GNU General Public License 14101af0b4SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>. 15101af0b4SGreg Roach */ 16*15d603e7SGreg Roach 17101af0b4SGreg Roachnamespace Fisharebest\Webtrees\Census; 18101af0b4SGreg Roach 19101af0b4SGreg Roach/** 20101af0b4SGreg Roach * Definitions for a census 21101af0b4SGreg Roach */ 22101af0b4SGreg Roachclass CensusOfDenmark1885 extends CensusOfDenmark implements CensusInterface { 23101af0b4SGreg Roach /** 24101af0b4SGreg Roach * When did this census occur. 25101af0b4SGreg Roach * 26101af0b4SGreg Roach * @return string 27101af0b4SGreg Roach */ 28101af0b4SGreg Roach public function censusDate() { 29101af0b4SGreg Roach return '01 FEB 1885'; 30101af0b4SGreg Roach } 31101af0b4SGreg Roach 32101af0b4SGreg Roach /** 33101af0b4SGreg Roach * Where did this census occur, in GEDCOM format. 34101af0b4SGreg Roach * 35101af0b4SGreg Roach * @return string 36101af0b4SGreg Roach */ 37101af0b4SGreg Roach public function censusPlace() { 38101af0b4SGreg Roach return 'København, Danmark'; 39101af0b4SGreg Roach } 40101af0b4SGreg Roach 41101af0b4SGreg Roach /** 42101af0b4SGreg Roach * The columns of the census. 43101af0b4SGreg Roach * 44101af0b4SGreg Roach * @return CensusColumnInterface[] 45101af0b4SGreg Roach */ 46101af0b4SGreg Roach public function columns() { 4713abd6f3SGreg Roach return [ 484c219c47SGreg Roach new CensusColumnFullName($this, 'Navn', ''), 494c219c47SGreg Roach new CensusColumnSexMK($this, 'Køn', ''), 504c219c47SGreg Roach new CensusColumnAge($this, 'Alder', ''), 514c219c47SGreg Roach new CensusColumnConditionDanish($this, 'Civilstand', ''), 524c219c47SGreg Roach new CensusColumnReligion($this, 'Religion', ''), 534c219c47SGreg Roach new CensusColumnOccupation($this, 'Erhverv', ''), 544c219c47SGreg Roach new CensusColumnRelationToHead($this, 'Stilling i familien', ''), 554c219c47SGreg Roach new CensusColumnNull($this, '', ''), 564c219c47SGreg Roach new CensusColumnNull($this, '', ''), 574c219c47SGreg Roach new CensusColumnNull($this, '', ''), 584c219c47SGreg Roach new CensusColumnNull($this, '', ''), 594c219c47SGreg Roach new CensusColumnNull($this, '', ''), 604c219c47SGreg Roach new CensusColumnNull($this, '', ''), 6113abd6f3SGreg Roach ]; 62101af0b4SGreg Roach } 63101af0b4SGreg Roach} 64