public function __construct() { // Give the TableViewController parent the data it needs to construct the table view and methods parent::__construct(new WorkHistory(), new WorkHistoryType(), WorkHistoryTableView::getDataName(), WorkHistoryTableView::getTypeName()); }