diff options
Diffstat (limited to 'app/Census/CensusOfEngland1901.php')
| -rw-r--r-- | app/Census/CensusOfEngland1901.php | 59 |
1 files changed, 31 insertions, 28 deletions
diff --git a/app/Census/CensusOfEngland1901.php b/app/Census/CensusOfEngland1901.php index 53f1ef1fae..a9380ae9e4 100644 --- a/app/Census/CensusOfEngland1901.php +++ b/app/Census/CensusOfEngland1901.php @@ -19,33 +19,36 @@ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ -class CensusOfEngland1901 extends CensusOfEngland implements CensusInterface { - /** - * When did this census occur. - * - * @return string - */ - public function censusDate() { - return '31 MAR 1901'; - } +class CensusOfEngland1901 extends CensusOfEngland implements CensusInterface +{ + /** + * When did this census occur. + * + * @return string + */ + public function censusDate() + { + return '31 MAR 1901'; + } - /** - * 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, 'Emp', 'Employer, worker or own account'), - new CensusColumnNull($this, 'Home', 'Working at home'), - new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), - new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic, imbecile, feeble-minded'), - ]; - } + /** + * 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, 'Emp', 'Employer, worker or own account'), + new CensusColumnNull($this, 'Home', 'Working at home'), + new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), + new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic, imbecile, feeble-minded'), + ]; + } } |
