xref: /webtrees/app/Census/CensusOfDenmark1835.php (revision 101af0b4f69bbf5e23334866418f6f0c7529dcbc)
1*101af0b4SGreg Roach<?php
2*101af0b4SGreg Roach/**
3*101af0b4SGreg Roach * webtrees: online genealogy
4*101af0b4SGreg Roach * Copyright (C) 2015 webtrees development team
5*101af0b4SGreg Roach * This program is free software: you can redistribute it and/or modify
6*101af0b4SGreg Roach * it under the terms of the GNU General Public License as published by
7*101af0b4SGreg Roach * the Free Software Foundation, either version 3 of the License, or
8*101af0b4SGreg Roach * (at your option) any later version.
9*101af0b4SGreg Roach * This program is distributed in the hope that it will be useful,
10*101af0b4SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*101af0b4SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12*101af0b4SGreg Roach * GNU General Public License for more details.
13*101af0b4SGreg Roach * You should have received a copy of the GNU General Public License
14*101af0b4SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
15*101af0b4SGreg Roach */
16*101af0b4SGreg Roachnamespace Fisharebest\Webtrees\Census;
17*101af0b4SGreg Roach
18*101af0b4SGreg Roachuse Fisharebest\Webtrees\Date;
19*101af0b4SGreg Roach
20*101af0b4SGreg Roach/**
21*101af0b4SGreg Roach * Definitions for a census
22*101af0b4SGreg Roach */
23*101af0b4SGreg Roachclass CensusOfDenmark1835 extends CensusOfDenmark implements CensusInterface {
24*101af0b4SGreg Roach	/**
25*101af0b4SGreg Roach	 * When did this census occur.
26*101af0b4SGreg Roach	 *
27*101af0b4SGreg Roach	 * @return string
28*101af0b4SGreg Roach	 */
29*101af0b4SGreg Roach	public function censusDate() {
30*101af0b4SGreg Roach		return '18 FEB 1834';
31*101af0b4SGreg Roach	}
32*101af0b4SGreg Roach
33*101af0b4SGreg Roach	/**
34*101af0b4SGreg Roach	 * Where did this census occur, in GEDCOM format.
35*101af0b4SGreg Roach	 *
36*101af0b4SGreg Roach	 * @return string
37*101af0b4SGreg Roach	 */
38*101af0b4SGreg Roach	public function censusPlace() {
39*101af0b4SGreg Roach		return 'Schleswig-Holstein, Deutschland';
40*101af0b4SGreg Roach	}
41*101af0b4SGreg Roach
42*101af0b4SGreg Roach	/**
43*101af0b4SGreg Roach	 * The columns of the census.
44*101af0b4SGreg Roach	 *
45*101af0b4SGreg Roach	 * @return CensusColumnInterface[]
46*101af0b4SGreg Roach	 */
47*101af0b4SGreg Roach	public function columns() {
48*101af0b4SGreg Roach		return array(
49*101af0b4SGreg Roach			new CensusColumnFullName($this, 'TBC', 'To be confirmed'),
50*101af0b4SGreg Roach			new CensusColumnAge($this, 'TBC', 'To be confirmed'),
51*101af0b4SGreg Roach			new CensusColumnCondition($this, 'TBC', 'To be confirmed'),
52*101af0b4SGreg Roach			new CensusColumnRelationToHead($this, 'TBC', 'To be confirmed'),
53*101af0b4SGreg Roach			new CensusColumnOccupation($this, 'TBC', 'To be confirmed'),
54*101af0b4SGreg Roach		);
55*101af0b4SGreg Roach	}
56*101af0b4SGreg Roach}
57