diff options
| author | mikejpr <michael_rapp@gmx.net> | 2016-02-25 23:01:14 +0100 |
|---|---|---|
| committer | mikejpr <michael_rapp@gmx.net> | 2016-02-25 23:01:14 +0100 |
| commit | 4d3937b5b3fa299158faa30cbc6ed64017b29769 (patch) | |
| tree | 4189e680bf677fdbb64c95a8af0074df734f9853 /app/Census/CensusOfFrance1936.php | |
| parent | 9b75738bcd7fb3311bee9e3d78ecb9c1254f8bd9 (diff) | |
| download | webtrees-4d3937b5b3fa299158faa30cbc6ed64017b29769.tar.gz webtrees-4d3937b5b3fa299158faa30cbc6ed64017b29769.tar.bz2 webtrees-4d3937b5b3fa299158faa30cbc6ed64017b29769.zip | |
Create CensusOfFrance1936.php
Diffstat (limited to 'app/Census/CensusOfFrance1936.php')
| -rw-r--r-- | app/Census/CensusOfFrance1936.php | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app/Census/CensusOfFrance1936.php b/app/Census/CensusOfFrance1936.php new file mode 100644 index 0000000000..a630dd7bf7 --- /dev/null +++ b/app/Census/CensusOfFrance1936.php @@ -0,0 +1,46 @@ +<?php +/** + * webtrees: online genealogy + * Copyright (C) 2016 webtrees development team + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +namespace Fisharebest\Webtrees\Census; + +/** + * Definitions for a census + */ +class CensusOfFrance1936 extends CensusOfFrance implements CensusInterface { + /** + * When did this census occur. + * + * @return string + */ + public function censusDate() { + return '1936'; + } + + /** + * The columns of the census. + * + * @return CensusColumnInterface[] + */ + public function columns() { + return array( + new CensusColumnSurname($this, 'Nom', 'Nom de famille'), + new CensusColumnGivenNames($this, 'Prénom', 'Prénom'), + new CensusColumnOccupation($this, 'Profession', 'Profession'), + new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), + new CensusColumnRelationToHead($this, 'Position', 'Position dans le ménage'), + new CensusColumnNationality($this, 'Nationalité', 'Nationalité'), + ); + } +} |
