1e2a6fd20Smikejpr<?php 23976b470SGreg Roach 3e2a6fd20Smikejpr/** 4e2a6fd20Smikejpr * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 6e2a6fd20Smikejpr * This program is free software: you can redistribute it and/or modify 7e2a6fd20Smikejpr * it under the terms of the GNU General Public License as published by 8e2a6fd20Smikejpr * the Free Software Foundation, either version 3 of the License, or 9e2a6fd20Smikejpr * (at your option) any later version. 10e2a6fd20Smikejpr * This program is distributed in the hope that it will be useful, 11e2a6fd20Smikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of 12e2a6fd20Smikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13e2a6fd20Smikejpr * GNU General Public License for more details. 14e2a6fd20Smikejpr * 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/>. 16e2a6fd20Smikejpr */ 17fcfa147eSGreg Roach 18e7f56f2aSGreg Roachdeclare(strict_types=1); 1915d603e7SGreg Roach 20e2a6fd20Smikejprnamespace Fisharebest\Webtrees\Census; 21e2a6fd20Smikejpr 22e2a6fd20Smikejpr/** 23e2a6fd20Smikejpr * Definitions for a census 24e2a6fd20Smikejpr */ 25c1010edaSGreg Roachclass CensusOfFrance1831 extends CensusOfFrance implements CensusInterface 26c1010edaSGreg Roach{ 27e2a6fd20Smikejpr /** 28e2a6fd20Smikejpr * When did this census occur. 29e2a6fd20Smikejpr * 30e2a6fd20Smikejpr * @return string 31e2a6fd20Smikejpr */ 328f53f488SRico Sonntag public function censusDate(): string 33c1010edaSGreg Roach { 3473c569abSGreg Roach return '20 JAN 1831'; 35e2a6fd20Smikejpr } 36e2a6fd20Smikejpr 37e2a6fd20Smikejpr /** 38e2a6fd20Smikejpr * The columns of the census. 39e2a6fd20Smikejpr * 4009482a55SGreg Roach * @return array<CensusColumnInterface> 41e2a6fd20Smikejpr */ 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', ''), 4700225b98SGreg Roach new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), 4800225b98SGreg Roach new CensusColumnConditionFrenchGarcon($this, 'Garçons', ''), 4900225b98SGreg Roach new CensusColumnConditionFrenchHomme($this, 'Hommes', 'Hommes mariés'), 5000225b98SGreg Roach new CensusColumnConditionFrenchVeuf($this, 'Veufs', ''), 5100225b98SGreg Roach new CensusColumnConditionFrenchFille($this, 'Filles', ''), 5200225b98SGreg Roach new CensusColumnConditionFrenchFemme($this, 'Femmes', 'Femmes mariées'), 5300225b98SGreg Roach new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), 5400225b98SGreg Roach new CensusColumnAge($this, 'Âge', ''), 5513abd6f3SGreg Roach ]; 56e2a6fd20Smikejpr } 57e2a6fd20Smikejpr} 58