예제 #1
0
파일: Select.php 프로젝트: alab1001101/zf2
 /**
  * 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;
 }