1<?php 2/** 3 * webtrees: online genealogy 4 * Copyright (C) 2015 webtrees development team 5 * This program is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * You should have received a copy of the GNU General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 */ 16 17namespace Fisharebest\Webtrees\Census; 18 19/** 20 * Definitions for a census 21 */ 22class CensusOfDeutschland1919 extends CensusOfDeutschland implements CensusInterface 23{ 24 /** 25 * When did this census occur. 26 * 27 * @return string 28 */ 29 public function censusDate() 30 { 31 return '08 OCT 1919'; 32 } 33 34 /** 35 * Where did this census occur, in GEDCOM format. 36 * 37 * @return string 38 */ 39 public function censusPlace() 40 { 41 return 'Mecklenburg-Schwerin, Deutschland'; 42 } 43 44 /** 45 * The columns of the census. 46 * 47 * @return CensusColumnInterface[] 48 */ 49 public function columns() 50 { 51 return [ 52 new CensusColumnNull($this, 'Nummer', 'Laufende Nummer'), 53 new CensusColumnGivenNames($this, 'Vorname', 'Vorname'), 54 new CensusColumnSurname($this, 'Familienname', 'Familienname'), 55 new CensusColumnRelationToHeadGerman($this, 'Stellung im Haushalt', 'Stellung im Haushalt'), 56 new CensusColumnNull($this, 'männlich', 'Geschlecht männlich'), 57 new CensusColumnNull($this, 'weiblich', 'Geschlecht weiblich'), 58 new CensusColumnNull($this, 'Familienstand', 'Familienstand'), 59 new CensusColumnBirthDay($this, 'Geburts-Tag', 'Geburts-Tag'), 60 new CensusColumnBirthMonth($this, 'Geburts-Monat', 'Geburts-Monat'), 61 new CensusColumnBirthYear($this, 'Geburts-Jahr', 'Geburts-Jahr'), 62 new CensusColumnBirthPlace($this, 'Geburtsort', 'Name des Geburtsorts'), 63 new CensusColumnNull($this, 'Amt, Kreis, Bezirk', 'Amt, Kreis oder sonstiger obrigkeitlicher Bezirk'), 64 new CensusColumnNull($this, 'StA', 'Staatsangehörigkeit'), 65 new CensusColumnNull($this, 'Gemeinde Brotversorgung', 'Gemeinde der Brotversorgung'), 66 new CensusColumnNull($this, 'Wohn-/ Aufenthaltsort', 'Wohnort bei nur vorübergehend Anwesenden. Aufenthaltsort bei vorübergehend Abwesenden'), 67 new CensusColumnNull($this, 'Dienstgrad', 'Für Militärpersonen: Angabe des Dienstgrades'), 68 new CensusColumnNull($this, 'Kriegsgefangener', 'Angabe ob Kriegsgefangener'), 69 ]; 70 } 71} 72