14c135060Smikejpr<?php 23976b470SGreg Roach 34c135060Smikejpr/** 44c135060Smikejpr * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 64c135060Smikejpr * This program is free software: you can redistribute it and/or modify 74c135060Smikejpr * it under the terms of the GNU General Public License as published by 84c135060Smikejpr * the Free Software Foundation, either version 3 of the License, or 94c135060Smikejpr * (at your option) any later version. 104c135060Smikejpr * This program is distributed in the hope that it will be useful, 114c135060Smikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of 124c135060Smikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 134c135060Smikejpr * GNU General Public License for more details. 144c135060Smikejpr * 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/>. 164c135060Smikejpr */ 17fcfa147eSGreg Roach 18e7f56f2aSGreg Roachdeclare(strict_types=1); 1915d603e7SGreg Roach 204c135060Smikejprnamespace Fisharebest\Webtrees\Census; 214c135060Smikejpr 224c135060Smikejpr/** 234c135060Smikejpr * Definitions for a census 244c135060Smikejpr */ 25c1010edaSGreg Roachclass CensusOfFrance1946 extends CensusOfFrance implements CensusInterface 26c1010edaSGreg Roach{ 274c135060Smikejpr /** 284c135060Smikejpr * When did this census occur. 294c135060Smikejpr * 304c135060Smikejpr * @return string 314c135060Smikejpr */ 328f53f488SRico Sonntag public function censusDate(): string 33c1010edaSGreg Roach { 3473c569abSGreg Roach return '17 JAN 1946'; 354c135060Smikejpr } 364c135060Smikejpr 374c135060Smikejpr /** 384c135060Smikejpr * The columns of the census. 394c135060Smikejpr * 4009482a55SGreg Roach * @return array<CensusColumnInterface> 414c135060Smikejpr */ 428f53f488SRico Sonntag public function columns(): array 43c1010edaSGreg Roach { 4413abd6f3SGreg Roach return [ 4570b62f9aSJonathan Jaubart new CensusColumnSurname($this, 'Nom', 'Nom de famille'), 4670b62f9aSJonathan Jaubart new CensusColumnGivenNames($this, 'Prénom', 'Prénom usuel'), 4770b62f9aSJonathan Jaubart new CensusColumnRelationToHead($this, 'Parenté', 'Parenté avec le chef de ménage ou situation dans le ménage'), 484c135060Smikejpr new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), 4900225b98SGreg Roach new CensusColumnNationality($this, 'Nationalité', ''), 5070b62f9aSJonathan Jaubart new CensusColumnOccupation($this, 'Profession', ''), 5113abd6f3SGreg Roach ]; 524c135060Smikejpr } 534c135060Smikejpr} 54