xref: /webtrees/app/Census/CensusOfDenmark1835.php (revision 548ca0dd332bc2ccd2184fad673fab4643826e17)
1101af0b4SGreg Roach<?php
2101af0b4SGreg Roach/**
3101af0b4SGreg Roach * webtrees: online genealogy
4101af0b4SGreg Roach * Copyright (C) 2015 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 */
16101af0b4SGreg Roachnamespace Fisharebest\Webtrees\Census;
17101af0b4SGreg Roach
18101af0b4SGreg Roachuse Fisharebest\Webtrees\Date;
19101af0b4SGreg Roach
20101af0b4SGreg Roach/**
21101af0b4SGreg Roach * Definitions for a census
22101af0b4SGreg Roach */
23101af0b4SGreg Roachclass CensusOfDenmark1835 extends CensusOfDenmark implements CensusInterface {
24101af0b4SGreg Roach	/**
25101af0b4SGreg Roach	 * When did this census occur.
26101af0b4SGreg Roach	 *
27101af0b4SGreg Roach	 * @return string
28101af0b4SGreg Roach	 */
29101af0b4SGreg Roach	public function censusDate() {
30*548ca0ddSGreg Roach		return '18 FEB 1835';
31101af0b4SGreg Roach	}
32101af0b4SGreg Roach
33101af0b4SGreg Roach	/**
34101af0b4SGreg Roach	 * Where did this census occur, in GEDCOM format.
35101af0b4SGreg Roach	 *
36101af0b4SGreg Roach	 * @return string
37101af0b4SGreg Roach	 */
38101af0b4SGreg Roach	public function censusPlace() {
39101af0b4SGreg Roach		return 'Schleswig-Holstein, Deutschland';
40101af0b4SGreg Roach	}
41101af0b4SGreg Roach
42101af0b4SGreg Roach	/**
43101af0b4SGreg Roach	 * The columns of the census.
44101af0b4SGreg Roach	 *
45101af0b4SGreg Roach	 * @return CensusColumnInterface[]
46101af0b4SGreg Roach	 */
47101af0b4SGreg Roach	public function columns() {
48101af0b4SGreg Roach		return array(
49101af0b4SGreg Roach			new CensusColumnFullName($this, 'TBC', 'To be confirmed'),
50101af0b4SGreg Roach			new CensusColumnAge($this, 'TBC', 'To be confirmed'),
51101af0b4SGreg Roach			new CensusColumnCondition($this, 'TBC', 'To be confirmed'),
52101af0b4SGreg Roach			new CensusColumnRelationToHead($this, 'TBC', 'To be confirmed'),
53101af0b4SGreg Roach			new CensusColumnOccupation($this, 'TBC', 'To be confirmed'),
54101af0b4SGreg Roach		);
55101af0b4SGreg Roach	}
56101af0b4SGreg Roach}
57