/** * Sets the primary table name and retrieves the table schema. * * @param \Zend\DB\Table\AbstractTable $adapter * @return \Zend\DB\Select\Select This \Zend\DB\Select\Select object. */ public function setTable(Table\AbstractTable $table) { $this->_adapter = $table->getAdapter(); $this->_info = $table->info(); $this->_table = $table; return $this; }