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() { 2873c569abSGreg 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( 38*00225b98SGreg Roach new CensusColumnSurname($this, 'Noms', 'Noms de famille'), 39*00225b98SGreg Roach new CensusColumnGivenNames($this, 'Prénoms', ''), 4066d72acfSmikejpr new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), 41*00225b98SGreg Roach new CensusColumnBirthPlace($this, 'Lieu', 'Lieu de naissance'), 42*00225b98SGreg Roach new CensusColumnNationality($this, 'Nationalité', ''), 43*00225b98SGreg Roach new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'), 44*00225b98SGreg Roach new CensusColumnOccupation($this, 'Profession', ''), 45*00225b98SGreg Roach new CensusColumnNull($this, 'Empl', ''), 4666d72acfSmikejpr ); 4766d72acfSmikejpr } 4866d72acfSmikejpr} 49