public function setTable(Zend_Db_Table_Abstract $table)
    {
        $this->_table = $table;
        $this->_connected = false;
        // @todo This works only if we have iterated through
        // the result set once to instantiate the rows.
        foreach ($this as $row) {
            $connected = $row->setTable($table);
            if ($connected == true) {
                $this->_connected = true;
            }
        }
        return $this->_connected;
    }
public function setTable(Zend_Db_Table_Abstract $table)
    {
        $this->_table = $table;
        $this->_connected = false;
        // @todo This works only if we have iterated through
        // the result set once to instantiate the rows.
        foreach ($this as $row) {
            $connected = $row->setTable($table);
            if ($connected == true) {
                $this->_connected = true;
            }
        }
        return $this->_connected;
    }
public function setTable ( Zend_Db_Table_Abstract $ table ) { $ this -> _table = $ table ; $ this -> _connected = false ; // @todo This works only if we have iterated through // the result set once to instantiate the rows. foreach ( $ this as $ row ) { $ connected = $ row -> setTable ( $ table ) ; if ( $ connected == true ) { $ this -> _connected = true ; } } return $ this -> _connected ; }
Set the table object, to re-establish a live connection
to the database for a Rowset that has been de-serialized.

@param Zend_Db_Table_Abstract $table
@return boolean
@throws Zend_Db_Table_Row_Exception
Set the table object to re - establish a live connection to the database for a Rowset that has been de - serialized .