. */ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ class CensusOfUnitedStates1790 extends CensusOfUnitedStates implements CensusInterface { /** * When did this census occur. * * @return string */ public function censusDate() { return '02 AUG 1790'; } /** * 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 CensusColumnOccupation($this, 'Occupation', 'Profession, occupation, or trade'), new CensusColumnAgeMaleOvr16Years($this, 'White Male 16+', 'White male of 16 yrs upward'), new CensusColumnAgeMaleUnder16Years($this, 'White Male 16-', 'White males of under 16 yrs'), new CensusColumnAllFemales($this, 'White Female', 'All White Females'), new CensusColumnNull($this, 'Other Free', 'All other free persons'), new CensusColumnNull($this, 'Slaves', 'Number of slaves'), ); } }