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