示例#1
0
 /**
  * Sets the primary table name and retrieves the table schema.
  *
  * @param JO_Db_Table_Abstract $adapter
  * @return JO_Db_Select This JO_Db_Select object.
  */
 public function setTable(JO_Db_Table_Abstract $table)
 {
     $this->_adapter = $table->getAdapter();
     $this->_info = $table->info();
     $this->_table = $table;
     return $this;
 }