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