. */ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ class CensusOfUnitedStates1840 extends CensusOfUnitedStates implements CensusInterface { /** * When did this census occur. * * @return string */ public function censusDate() { return '01 JUN 1840'; } /** * The columns of the census. * * @return CensusColumnInterface[] */ public function columns() { return array( new CensusColumnFullName($this, 'Name', 'Name'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnAge($this, 'Age', 'Age'), new CensusColumnSexMF($this, 'Sex', 'Sex'), new CensusColumnNull($this, 'Slaves', 'Slaves'), new CensusColumnNull($this, 'Free colored', 'Free colored persons'), new CensusColumnNull($this, 'Infirm', 'Whether deaf and dumb or blind'), new CensusColumnNull($this, 'FNR', 'Foreigners not naturalized'), new CensusColumnNull($this, 'Other Infirm', 'Slaves & colored deaf and dumb or blind'), ); } }