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