1*4ccf2a72SGreg Roach<?php 2*4ccf2a72SGreg Roach/** 3*4ccf2a72SGreg Roach * webtrees: online genealogy 4*4ccf2a72SGreg Roach * Copyright (C) 2015 webtrees development team 5*4ccf2a72SGreg Roach * This program is free software: you can redistribute it and/or modify 6*4ccf2a72SGreg Roach * it under the terms of the GNU General Public License as published by 7*4ccf2a72SGreg Roach * the Free Software Foundation, either version 3 of the License, or 8*4ccf2a72SGreg Roach * (at your option) any later version. 9*4ccf2a72SGreg Roach * This program is distributed in the hope that it will be useful, 10*4ccf2a72SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 11*4ccf2a72SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12*4ccf2a72SGreg Roach * GNU General Public License for more details. 13*4ccf2a72SGreg Roach * You should have received a copy of the GNU General Public License 14*4ccf2a72SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>. 15*4ccf2a72SGreg Roach */ 16*4ccf2a72SGreg Roachnamespace Fisharebest\Webtrees\Census; 17*4ccf2a72SGreg Roach 18*4ccf2a72SGreg Roach/** 19*4ccf2a72SGreg Roach * Definitions for a census 20*4ccf2a72SGreg Roach */ 21*4ccf2a72SGreg Roachclass CensusOfDenmark extends CensusPlace implements CensusPlaceInterface { 22*4ccf2a72SGreg Roach /** 23*4ccf2a72SGreg Roach * All available censuses for this census place. 24*4ccf2a72SGreg Roach * 25*4ccf2a72SGreg Roach * @return CensusInterface[] 26*4ccf2a72SGreg Roach */ 27*4ccf2a72SGreg Roach public function allCensusDates() { 28*4ccf2a72SGreg Roach return array( 29*4ccf2a72SGreg Roach new CensusOfDenmark1787(), 30*4ccf2a72SGreg Roach new CensusOfDenmark1801(), 31*4ccf2a72SGreg Roach new CensusOfDenmark1834(), 32*4ccf2a72SGreg Roach new CensusOfDenmark1840(), 33*4ccf2a72SGreg Roach new CensusOfDenmark1845(), 34*4ccf2a72SGreg Roach new CensusOfDenmark1850(), 35*4ccf2a72SGreg Roach new CensusOfDenmark1855(), 36*4ccf2a72SGreg Roach new CensusOfDenmark1860(), 37*4ccf2a72SGreg Roach new CensusOfDenmark1870(), 38*4ccf2a72SGreg Roach new CensusOfDenmark1880(), 39*4ccf2a72SGreg Roach new CensusOfDenmark1890(), 40*4ccf2a72SGreg Roach new CensusOfDenmark1901(), 41*4ccf2a72SGreg Roach new CensusOfDenmark1906(), 42*4ccf2a72SGreg Roach new CensusOfDenmark1911(), 43*4ccf2a72SGreg Roach new CensusOfDenmark1916(), 44*4ccf2a72SGreg Roach new CensusOfDenmark1921(), 45*4ccf2a72SGreg Roach new CensusOfDenmark1925(), 46*4ccf2a72SGreg Roach new CensusOfDenmark1930(), 47*4ccf2a72SGreg Roach ); 48*4ccf2a72SGreg Roach } 49*4ccf2a72SGreg Roach 50*4ccf2a72SGreg Roach /** 51*4ccf2a72SGreg Roach * Where did this census occur, in GEDCOM format. 52*4ccf2a72SGreg Roach * 53*4ccf2a72SGreg Roach * @return string 54*4ccf2a72SGreg Roach */ 55*4ccf2a72SGreg Roach public function censusPlace() { 56*4ccf2a72SGreg Roach return 'Danmark'; 57*4ccf2a72SGreg Roach } 58*4ccf2a72SGreg Roach} 59