1c18c4744SGreg Roach<?php 2c18c4744SGreg Roach 3c18c4744SGreg Roach/** 4c18c4744SGreg Roach * webtrees: online genealogy 5c18c4744SGreg Roach * Copyright (C) 2016 webtrees development team 6c18c4744SGreg Roach * This program is free software: you can redistribute it and/or modify 7c18c4744SGreg Roach * it under the terms of the GNU General Public License as published by 8c18c4744SGreg Roach * the Free Software Foundation, either version 3 of the License, or 9c18c4744SGreg Roach * (at your option) any later version. 10c18c4744SGreg Roach * This program is distributed in the hope that it will be useful, 11c18c4744SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 12c18c4744SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13c18c4744SGreg Roach * GNU General Public License for more details. 14c18c4744SGreg Roach * You should have received a copy of the GNU General Public License 15*89f7189bSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>. 16c18c4744SGreg Roach */ 17c18c4744SGreg Roach 18c18c4744SGreg Roachnamespace Fisharebest\Webtrees\Census; 19c18c4744SGreg Roach 20c18c4744SGreg Roach/** 21c18c4744SGreg Roach * Definitions for a census 22c18c4744SGreg Roach */ 23c18c4744SGreg Roachclass CensusOfSlovakia extends Census implements CensusPlaceInterface 24c18c4744SGreg Roach{ 25c18c4744SGreg Roach /** 26c18c4744SGreg Roach * All available censuses for this census place. 27c18c4744SGreg Roach * 28c18c4744SGreg Roach * @return CensusInterface[] 29c18c4744SGreg Roach */ 30c18c4744SGreg Roach public function allCensusDates(): array 31c18c4744SGreg Roach { 32c18c4744SGreg Roach return [ 33c18c4744SGreg Roach new CensusOfSlovakia1869(), 34c18c4744SGreg Roach ]; 35c18c4744SGreg Roach } 36c18c4744SGreg Roach 37c18c4744SGreg Roach /** 38c18c4744SGreg Roach * Where did this census occur, in GEDCOM format. 39c18c4744SGreg Roach * 40c18c4744SGreg Roach * @return string 41c18c4744SGreg Roach */ 42c18c4744SGreg Roach public function censusPlace(): string 43c18c4744SGreg Roach { 44c18c4744SGreg Roach return 'Slovensko'; 45c18c4744SGreg Roach } 46d5b0584dSGreg Roach 47d5b0584dSGreg Roach /** 48d5b0584dSGreg Roach * In which language was this census written. 49d5b0584dSGreg Roach * 50d5b0584dSGreg Roach * @return string 51d5b0584dSGreg Roach */ 52d5b0584dSGreg Roach public function censusLanguage(): string 53d5b0584dSGreg Roach { 54d5b0584dSGreg Roach return 'sk'; 55d5b0584dSGreg Roach } 56c18c4744SGreg Roach} 57