public function __construct($dbAdapter) { parent::__construct($dbAdapter); }
/** * Constructs the object. */ public function __construct(TableDataGateway $tableDataGateway, array $records = array()) { $this->tableDataGateway = $tableDataGateway; $this->indexRecords($records); $this->idColumn = $tableDataGateway->getIdColumn(); }