diff options
Diffstat (limited to 'app/Census/CensusOfEngland1891.php')
| -rw-r--r-- | app/Census/CensusOfEngland1891.php | 61 |
1 files changed, 32 insertions, 29 deletions
diff --git a/app/Census/CensusOfEngland1891.php b/app/Census/CensusOfEngland1891.php index c0f2aa761d..843689115b 100644 --- a/app/Census/CensusOfEngland1891.php +++ b/app/Census/CensusOfEngland1891.php @@ -19,34 +19,37 @@ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ -class CensusOfEngland1891 extends CensusOfEngland implements CensusInterface { - /** - * When did this census occur. - * - * @return string - */ - public function censusDate() { - return '05 APR 1891'; - } +class CensusOfEngland1891 extends CensusOfEngland 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, '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, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic or imbecile'), + ]; + } } |
