diff options
Diffstat (limited to 'app/Census/CensusOfScotland1891.php')
| -rw-r--r-- | app/Census/CensusOfScotland1891.php | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/app/Census/CensusOfScotland1891.php b/app/Census/CensusOfScotland1891.php index b0ad81efc7..810c4abf00 100644 --- a/app/Census/CensusOfScotland1891.php +++ b/app/Census/CensusOfScotland1891.php @@ -19,35 +19,38 @@ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ -class CensusOfScotland1891 extends CensusOfScotland implements CensusInterface { - /** - * When did this census occur. - * - * @return string - */ - public function censusDate() { - return '05 APR 1891'; - } +class CensusOfScotland1891 extends CensusOfScotland implements CensusInterface +{ + /** + * When did this census occur. + * + * @return string + */ + public function censusDate() + { + return '05 APR 1891'; + } - /** - * The columns of the census. - * - * @return CensusColumnInterface[] - */ - public function columns() { - return [ - new CensusColumnFullName($this, 'Name', 'Name and surname'), - new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), - new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), - new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'), - new CensusColumnAgeFemale($this, 'AgeF', 'Age (females)'), - new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), - new CensusColumnNull($this, 'Empl', 'Employer'), - new CensusColumnNull($this, 'Empd', 'Employed'), - new CensusColumnNull($this, 'OAC', 'Own account'), - new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), - new CensusColumnNull($this, 'Lang', 'Language spoken'), - new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic or imbecile'), - ]; - } + /** + * The columns of the census. + * + * @return CensusColumnInterface[] + */ + public function columns() + { + return [ + new CensusColumnFullName($this, 'Name', 'Name and surname'), + new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), + new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), + new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'), + new CensusColumnAgeFemale($this, 'AgeF', 'Age (females)'), + new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), + new CensusColumnNull($this, 'Empl', 'Employer'), + new CensusColumnNull($this, 'Empd', 'Employed'), + new CensusColumnNull($this, 'OAC', 'Own account'), + new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), + new CensusColumnNull($this, 'Lang', 'Language spoken'), + new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic or imbecile'), + ]; + } } |
