1*fbf0a249SGreg Roach<?php 2*fbf0a249SGreg Roach/** 3*fbf0a249SGreg Roach * webtrees: online genealogy 4*fbf0a249SGreg Roach * Copyright (C) 2015 webtrees development team 5*fbf0a249SGreg Roach * This program is free software: you can redistribute it and/or modify 6*fbf0a249SGreg Roach * it under the terms of the GNU General Public License as published by 7*fbf0a249SGreg Roach * the Free Software Foundation, either version 3 of the License, or 8*fbf0a249SGreg Roach * (at your option) any later version. 9*fbf0a249SGreg Roach * This program is distributed in the hope that it will be useful, 10*fbf0a249SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 11*fbf0a249SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12*fbf0a249SGreg Roach * GNU General Public License for more details. 13*fbf0a249SGreg Roach * You should have received a copy of the GNU General Public License 14*fbf0a249SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>. 15*fbf0a249SGreg Roach */ 16*fbf0a249SGreg Roachnamespace Fisharebest\Webtrees\Census; 17*fbf0a249SGreg Roach 18*fbf0a249SGreg Roach/** 19*fbf0a249SGreg Roach * Definitions for a census 20*fbf0a249SGreg Roach */ 21*fbf0a249SGreg Roachclass CensusOfCzechRepublic1900 extends CensusOfCzechRepublic implements CensusInterface { 22*fbf0a249SGreg Roach /** 23*fbf0a249SGreg Roach * When did this census occur. 24*fbf0a249SGreg Roach * 25*fbf0a249SGreg Roach * @return string 26*fbf0a249SGreg Roach */ 27*fbf0a249SGreg Roach public function censusDate() { 28*fbf0a249SGreg Roach return '31 DEC 1900'; 29*fbf0a249SGreg Roach } 30*fbf0a249SGreg Roach 31*fbf0a249SGreg Roach /** 32*fbf0a249SGreg Roach * The columns of the census. 33*fbf0a249SGreg Roach * 34*fbf0a249SGreg Roach * @return CensusColumnInterface[] 35*fbf0a249SGreg Roach */ 36*fbf0a249SGreg Roach public function columns() { 37*fbf0a249SGreg Roach return array( 38*fbf0a249SGreg Roach new CensusColumnFullName($this, 'Jméno', ''), 39*fbf0a249SGreg Roach new CensusColumnRelationToHead($this, 'Vztah', ''), 40*fbf0a249SGreg Roach new CensusColumnSexMZ($this, 'Pohlaví', ''), 41*fbf0a249SGreg Roach new CensusColumnBirthDaySlashMonthYear($this, 'Narození', 'Datum narození'), 42*fbf0a249SGreg Roach new CensusColumnBirthPlace($this, 'Rodiště', 'Místo narození'), 43*fbf0a249SGreg Roach new CensusColumnNull($this, 'Přísluší', 'Domovské právo'), 44*fbf0a249SGreg Roach new CensusColumnReligion($this, 'Vyznání', ''), 45*fbf0a249SGreg Roach new CensusColumnNull($this, 'Stav', 'Rodinný stav'), 46*fbf0a249SGreg Roach new CensusColumnNull($this, 'Jazyk', 'Jazyk v obcování'), 47*fbf0a249SGreg Roach new CensusColumnOccupation($this, 'Povolání', ''), 48*fbf0a249SGreg Roach new CensusColumnNull($this, 'Postavení', 'Postavení v zaměstnání'), 49*fbf0a249SGreg Roach new CensusColumnNull($this, 'Gramotnost', 'Znalost čtení a psaní'), 50*fbf0a249SGreg Roach new CensusColumnNull($this, 'Druh pobytu', 'Pobyt dočasný nebo trvalý'), 51*fbf0a249SGreg Roach new CensusColumnNull($this, 'Od roku', 'Počátek pobytu'), 52*fbf0a249SGreg Roach ); 53*fbf0a249SGreg Roach } 54*fbf0a249SGreg Roach} 55