xref: /webtrees/app/Census/CensusOfFrance1926.php (revision c1ace64bd1a2fdf5967b79bb54826dcf83b403dd)
1*c1ace64bSmikejpr<?php
2*c1ace64bSmikejpr/**
3*c1ace64bSmikejpr * webtrees: online genealogy
4*c1ace64bSmikejpr * Copyright (C) 2016 webtrees development team
5*c1ace64bSmikejpr * This program is free software: you can redistribute it and/or modify
6*c1ace64bSmikejpr * it under the terms of the GNU General Public License as published by
7*c1ace64bSmikejpr * the Free Software Foundation, either version 3 of the License, or
8*c1ace64bSmikejpr * (at your option) any later version.
9*c1ace64bSmikejpr * This program is distributed in the hope that it will be useful,
10*c1ace64bSmikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*c1ace64bSmikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12*c1ace64bSmikejpr * GNU General Public License for more details.
13*c1ace64bSmikejpr * You should have received a copy of the GNU General Public License
14*c1ace64bSmikejpr * along with this program. If not, see <http://www.gnu.org/licenses/>.
15*c1ace64bSmikejpr */
16*c1ace64bSmikejprnamespace Fisharebest\Webtrees\Census;
17*c1ace64bSmikejpr
18*c1ace64bSmikejpr/**
19*c1ace64bSmikejpr * Definitions for a census
20*c1ace64bSmikejpr */
21*c1ace64bSmikejprclass CensusOfFrance1926 extends CensusOfFrance implements CensusInterface {
22*c1ace64bSmikejpr	/**
23*c1ace64bSmikejpr	 * When did this census occur.
24*c1ace64bSmikejpr	 *
25*c1ace64bSmikejpr	 * @return string
26*c1ace64bSmikejpr	 */
27*c1ace64bSmikejpr	public function censusDate() {
28*c1ace64bSmikejpr		return '1926';
29*c1ace64bSmikejpr	}
30*c1ace64bSmikejpr
31*c1ace64bSmikejpr	/**
32*c1ace64bSmikejpr	 * The columns of the census.
33*c1ace64bSmikejpr	 *
34*c1ace64bSmikejpr	 * @return CensusColumnInterface[]
35*c1ace64bSmikejpr	 */
36*c1ace64bSmikejpr	public function columns() {
37*c1ace64bSmikejpr		return array(
38*c1ace64bSmikejpr			new CensusColumnSurname($this, 'Nom', 'Nom de famille'),
39*c1ace64bSmikejpr			new CensusColumnGivenNames($this, 'Prénom', 'Prénom'),
40*c1ace64bSmikejpr			new CensusColumnOccupation($this, 'Profession', 'Profession'),
41*c1ace64bSmikejpr			new CensusColumnBirthYear($this, 'Année', 'Année de naissance'),
42*c1ace64bSmikejpr			new CensusColumnRelationToHead($this, 'Position', 'Position dans le ménage'),
43*c1ace64bSmikejpr			new CensusColumnNationality($this, 'Nationalité', 'Nationalité'),
44*c1ace64bSmikejpr		);
45*c1ace64bSmikejpr	}
46*c1ace64bSmikejpr}
47