original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Set the table object to re - establish a live connection to the database for a Rowset that has been de - serialized .