14c135060Smikejpr<?php 24c135060Smikejpr/** 34c135060Smikejpr * webtrees: online genealogy 44c135060Smikejpr * Copyright (C) 2016 webtrees development team 54c135060Smikejpr * This program is free software: you can redistribute it and/or modify 64c135060Smikejpr * it under the terms of the GNU General Public License as published by 74c135060Smikejpr * the Free Software Foundation, either version 3 of the License, or 84c135060Smikejpr * (at your option) any later version. 94c135060Smikejpr * This program is distributed in the hope that it will be useful, 104c135060Smikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of 114c135060Smikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 124c135060Smikejpr * GNU General Public License for more details. 134c135060Smikejpr * You should have received a copy of the GNU General Public License 144c135060Smikejpr * along with this program. If not, see <http://www.gnu.org/licenses/>. 154c135060Smikejpr */ 164c135060Smikejprnamespace Fisharebest\Webtrees\Census; 174c135060Smikejpr 184c135060Smikejpr/** 194c135060Smikejpr * Definitions for a census 204c135060Smikejpr */ 214c135060Smikejprclass CensusOfFrance1946 extends CensusOfFrance implements CensusInterface { 224c135060Smikejpr /** 234c135060Smikejpr * When did this census occur. 244c135060Smikejpr * 254c135060Smikejpr * @return string 264c135060Smikejpr */ 274c135060Smikejpr public function censusDate() { 2873c569abSGreg Roach return '17 JAN 1946'; 294c135060Smikejpr } 304c135060Smikejpr 314c135060Smikejpr /** 324c135060Smikejpr * The columns of the census. 334c135060Smikejpr * 344c135060Smikejpr * @return CensusColumnInterface[] 354c135060Smikejpr */ 364c135060Smikejpr public function columns() { 374c135060Smikejpr return array( 38*70b62f9aSJonathan Jaubart new CensusColumnSurname($this, 'Nom', 'Nom de famille'), 39*70b62f9aSJonathan Jaubart new CensusColumnGivenNames($this, 'Prénom', 'Prénom usuel'), 40*70b62f9aSJonathan Jaubart new CensusColumnRelationToHead($this, 'Parenté', 'Parenté avec le chef de ménage ou situation dans le ménage'), 414c135060Smikejpr new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), 4200225b98SGreg Roach new CensusColumnNationality($this, 'Nationalité', ''), 43*70b62f9aSJonathan Jaubart new CensusColumnOccupation($this, 'Profession', ''), 444c135060Smikejpr ); 454c135060Smikejpr } 464c135060Smikejpr} 47