xref: /webtrees/app/Census/CensusOfFrance1931.php (revision 13abd6f3a37322f885d85df150e105d27ad81f8d)
19b75738bSmikejpr<?php
29b75738bSmikejpr/**
39b75738bSmikejpr * webtrees: online genealogy
49b75738bSmikejpr * Copyright (C) 2016 webtrees development team
59b75738bSmikejpr * This program is free software: you can redistribute it and/or modify
69b75738bSmikejpr * it under the terms of the GNU General Public License as published by
79b75738bSmikejpr * the Free Software Foundation, either version 3 of the License, or
89b75738bSmikejpr * (at your option) any later version.
99b75738bSmikejpr * This program is distributed in the hope that it will be useful,
109b75738bSmikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of
119b75738bSmikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
129b75738bSmikejpr * GNU General Public License for more details.
139b75738bSmikejpr * You should have received a copy of the GNU General Public License
149b75738bSmikejpr * along with this program. If not, see <http://www.gnu.org/licenses/>.
159b75738bSmikejpr */
169b75738bSmikejprnamespace Fisharebest\Webtrees\Census;
179b75738bSmikejpr
189b75738bSmikejpr/**
199b75738bSmikejpr * Definitions for a census
209b75738bSmikejpr */
219b75738bSmikejprclass CensusOfFrance1931 extends CensusOfFrance implements CensusInterface {
229b75738bSmikejpr	/**
239b75738bSmikejpr	 * When did this census occur.
249b75738bSmikejpr	 *
259b75738bSmikejpr	 * @return string
269b75738bSmikejpr	 */
279b75738bSmikejpr	public function censusDate() {
2873c569abSGreg Roach		return '15 JAN 1931';
299b75738bSmikejpr	}
309b75738bSmikejpr
319b75738bSmikejpr	/**
329b75738bSmikejpr	 * The columns of the census.
339b75738bSmikejpr	 *
349b75738bSmikejpr	 * @return CensusColumnInterface[]
359b75738bSmikejpr	 */
369b75738bSmikejpr	public function columns() {
37*13abd6f3SGreg Roach		return [
3800225b98SGreg Roach			new CensusColumnSurname($this, 'Noms', 'Noms de famille'),
3900225b98SGreg Roach			new CensusColumnGivenNames($this, 'Prénoms', ''),
409b75738bSmikejpr			new CensusColumnBirthYear($this, 'Année', 'Année de naissance'),
4170b62f9aSJonathan Jaubart			new CensusColumnBirthPlace($this, 'Lieu', 'Lieu de naissance'),
4200225b98SGreg Roach			new CensusColumnNationality($this, 'Nationalité', ''),
4370b62f9aSJonathan Jaubart			new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'),
4470b62f9aSJonathan Jaubart			new CensusColumnOccupation($this, 'Profession', ''),
4570b62f9aSJonathan Jaubart			new CensusColumnNull($this, 'Empl', ''),
46*13abd6f3SGreg Roach		];
479b75738bSmikejpr	}
489b75738bSmikejpr}
49