1c1ace64bSmikejpr<?php 23976b470SGreg Roach 3c1ace64bSmikejpr/** 4c1ace64bSmikejpr * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 6c1ace64bSmikejpr * This program is free software: you can redistribute it and/or modify 7c1ace64bSmikejpr * it under the terms of the GNU General Public License as published by 8c1ace64bSmikejpr * the Free Software Foundation, either version 3 of the License, or 9c1ace64bSmikejpr * (at your option) any later version. 10c1ace64bSmikejpr * This program is distributed in the hope that it will be useful, 11c1ace64bSmikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of 12c1ace64bSmikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13c1ace64bSmikejpr * GNU General Public License for more details. 14c1ace64bSmikejpr * You should have received a copy of the GNU General Public License 1589f7189bSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>. 16c1ace64bSmikejpr */ 17fcfa147eSGreg Roach 18e7f56f2aSGreg Roachdeclare(strict_types=1); 1915d603e7SGreg Roach 20c1ace64bSmikejprnamespace Fisharebest\Webtrees\Census; 21c1ace64bSmikejpr 22c1ace64bSmikejpr/** 23c1ace64bSmikejpr * Definitions for a census 24c1ace64bSmikejpr */ 25c1010edaSGreg Roachclass CensusOfFrance1926 extends CensusOfFrance implements CensusInterface 26c1010edaSGreg Roach{ 27c1ace64bSmikejpr /** 28c1ace64bSmikejpr * When did this census occur. 29c1ace64bSmikejpr * 30c1ace64bSmikejpr * @return string 31c1ace64bSmikejpr */ 328f53f488SRico Sonntag public function censusDate(): string 33c1010edaSGreg Roach { 3473c569abSGreg Roach return '21 JAN 1926'; 35c1ace64bSmikejpr } 36c1ace64bSmikejpr 37c1ace64bSmikejpr /** 38c1ace64bSmikejpr * The columns of the census. 39c1ace64bSmikejpr * 4009482a55SGreg Roach * @return array<CensusColumnInterface> 41c1ace64bSmikejpr */ 428f53f488SRico Sonntag public function columns(): array 43c1010edaSGreg Roach { 4413abd6f3SGreg Roach return [ 4500225b98SGreg Roach new CensusColumnSurname($this, 'Noms', 'Noms de famille'), 4600225b98SGreg Roach new CensusColumnGivenNames($this, 'Prénoms', ''), 47c1ace64bSmikejpr new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), 4870b62f9aSJonathan Jaubart new CensusColumnBirthPlace($this, 'Lieu', 'Lieu de naissance'), 4900225b98SGreg Roach new CensusColumnNationality($this, 'Nationalité', ''), 5070b62f9aSJonathan Jaubart new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'), 5170b62f9aSJonathan Jaubart new CensusColumnOccupation($this, 'Profession', ''), 5270b62f9aSJonathan Jaubart new CensusColumnNull($this, 'Empl', ''), 5313abd6f3SGreg Roach ]; 54c1ace64bSmikejpr } 55c1ace64bSmikejpr} 56