xref: /webtrees/app/Census/CensusOfFrance1936.php (revision d11be7027e34e3121be11cc025421873364403f9)
14d3937b5Smikejpr<?php
23976b470SGreg Roach
34d3937b5Smikejpr/**
44d3937b5Smikejpr * webtrees: online genealogy
5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
64d3937b5Smikejpr * This program is free software: you can redistribute it and/or modify
74d3937b5Smikejpr * it under the terms of the GNU General Public License as published by
84d3937b5Smikejpr * the Free Software Foundation, either version 3 of the License, or
94d3937b5Smikejpr * (at your option) any later version.
104d3937b5Smikejpr * This program is distributed in the hope that it will be useful,
114d3937b5Smikejpr * but WITHOUT ANY WARRANTY; without even the implied warranty of
124d3937b5Smikejpr * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
134d3937b5Smikejpr * GNU General Public License for more details.
144d3937b5Smikejpr * 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/>.
164d3937b5Smikejpr */
17fcfa147eSGreg Roach
18e7f56f2aSGreg Roachdeclare(strict_types=1);
1915d603e7SGreg Roach
204d3937b5Smikejprnamespace Fisharebest\Webtrees\Census;
214d3937b5Smikejpr
224d3937b5Smikejpr/**
234d3937b5Smikejpr * Definitions for a census
244d3937b5Smikejpr */
25c1010edaSGreg Roachclass CensusOfFrance1936 extends CensusOfFrance implements CensusInterface
26c1010edaSGreg Roach{
274d3937b5Smikejpr    /**
284d3937b5Smikejpr     * When did this census occur.
294d3937b5Smikejpr     *
304d3937b5Smikejpr     * @return string
314d3937b5Smikejpr     */
328f53f488SRico Sonntag    public function censusDate(): string
33c1010edaSGreg Roach    {
3473c569abSGreg Roach        return '16 JAN 1936';
354d3937b5Smikejpr    }
364d3937b5Smikejpr
374d3937b5Smikejpr    /**
384d3937b5Smikejpr     * The columns of the census.
394d3937b5Smikejpr     *
4009482a55SGreg Roach     * @return array<CensusColumnInterface>
414d3937b5Smikejpr     */
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', ''),
474d3937b5Smikejpr            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        ];
544d3937b5Smikejpr    }
554d3937b5Smikejpr}
56