xref: /webtrees/app/Census/CensusOfFrance1921.php (revision 73c569ab4e600dc648ebb62e47fb61b518e42fdd)
166d72acfSmikejpr<?php
266d72acfSmikejpr/**
366d72acfSmikejpr * webtrees: online genealogy
466d72acfSmikejpr * Copyright (C) 2016 webtrees development team
566d72acfSmikejpr * This program is free software: you can redistribute it and/or modify
666d72acfSmikejpr * it under the terms of the GNU General Public License as published by
766d72acfSmikejpr * the Free Software Foundation, either version 3 of the License, or
866d72acfSmikejpr * (at your option) any later version.
966d72acfSmikejpr * This program is distributed in the hope that it will be useful,
1066d72acfSmikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of
1166d72acfSmikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1266d72acfSmikejpr * GNU General Public License for more details.
1366d72acfSmikejpr * You should have received a copy of the GNU General Public License
1466d72acfSmikejpr * along with this program. If not, see <http://www.gnu.org/licenses/>.
1566d72acfSmikejpr */
1666d72acfSmikejprnamespace Fisharebest\Webtrees\Census;
1766d72acfSmikejpr
1866d72acfSmikejpr/**
1966d72acfSmikejpr * Definitions for a census
2066d72acfSmikejpr */
2166d72acfSmikejprclass CensusOfFrance1921 extends CensusOfFrance implements CensusInterface {
2266d72acfSmikejpr	/**
2366d72acfSmikejpr	 * When did this census occur.
2466d72acfSmikejpr	 *
2566d72acfSmikejpr	 * @return string
2666d72acfSmikejpr	 */
2766d72acfSmikejpr	public function censusDate() {
28*73c569abSGreg Roach		return '20 JAN 1921';
2966d72acfSmikejpr	}
3066d72acfSmikejpr
3166d72acfSmikejpr	/**
3266d72acfSmikejpr	 * The columns of the census.
3366d72acfSmikejpr	 *
3466d72acfSmikejpr	 * @return CensusColumnInterface[]
3566d72acfSmikejpr	 */
3666d72acfSmikejpr	public function columns() {
3766d72acfSmikejpr		return array(
3866d72acfSmikejpr			new CensusColumnSurname($this, 'Nom', 'Nom de famille'),
3966d72acfSmikejpr			new CensusColumnGivenNames($this, 'Prénom', 'Prénom'),
4066d72acfSmikejpr			new CensusColumnOccupation($this, 'Profession', 'Profession'),
4166d72acfSmikejpr			new CensusColumnBirthYear($this, 'Année', 'Année de naissance'),
4266d72acfSmikejpr			new CensusColumnRelationToHead($this, 'Position', 'Position dans le ménage'),
4366d72acfSmikejpr			new CensusColumnNationality($this, 'Nationalité', 'Nationalité'),
4466d72acfSmikejpr		);
4566d72acfSmikejpr	}
4666d72acfSmikejpr}
47