19b75738bSmikejpr<?php 23976b470SGreg Roach 39b75738bSmikejpr/** 49b75738bSmikejpr * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 69b75738bSmikejpr * This program is free software: you can redistribute it and/or modify 79b75738bSmikejpr * it under the terms of the GNU General Public License as published by 89b75738bSmikejpr * the Free Software Foundation, either version 3 of the License, or 99b75738bSmikejpr * (at your option) any later version. 109b75738bSmikejpr * This program is distributed in the hope that it will be useful, 119b75738bSmikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of 129b75738bSmikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 139b75738bSmikejpr * GNU General Public License for more details. 149b75738bSmikejpr * 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/>. 169b75738bSmikejpr */ 17fcfa147eSGreg Roach 18e7f56f2aSGreg Roachdeclare(strict_types=1); 1915d603e7SGreg Roach 209b75738bSmikejprnamespace Fisharebest\Webtrees\Census; 219b75738bSmikejpr 229b75738bSmikejpr/** 239b75738bSmikejpr * Definitions for a census 249b75738bSmikejpr */ 25c1010edaSGreg Roachclass CensusOfFrance1931 extends CensusOfFrance implements CensusInterface 26c1010edaSGreg Roach{ 279b75738bSmikejpr /** 289b75738bSmikejpr * When did this census occur. 299b75738bSmikejpr * 309b75738bSmikejpr * @return string 319b75738bSmikejpr */ 328f53f488SRico Sonntag public function censusDate(): string 33c1010edaSGreg Roach { 3473c569abSGreg Roach return '15 JAN 1931'; 359b75738bSmikejpr } 369b75738bSmikejpr 379b75738bSmikejpr /** 389b75738bSmikejpr * The columns of the census. 399b75738bSmikejpr * 4009482a55SGreg Roach * @return array<CensusColumnInterface> 419b75738bSmikejpr */ 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', ''), 479b75738bSmikejpr 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 ]; 549b75738bSmikejpr } 559b75738bSmikejpr} 56