Zend_Db_Table_Select::setTable PHP Method

setTable() public method

Sets the primary table name and retrieves the table schema.
public setTable ( Zend_Db_Table_Abstract $table ) : Zend_Db_Select
$table Zend_Db_Table_Abstract
return Zend_Db_Select This Zend_Db_Select object.
    public function setTable(Zend_Db_Table_Abstract $table)
    {
        $this->_adapter = $table->getAdapter();
        $this->_info = $table->info();
        $this->_table = $table;
        return $this;
    }