original_string: public function reset()
      {
          $keep = array(
              Horde_Imap_Client::STATUS_SYNCFLAGUIDS,
              Horde_Imap_Client::STATUS_SYNCMODSEQ,
              Horde_Imap_Client::STATUS_SYNCVANISHED
          );
  
          foreach (array_diff(array_keys($this->_status), $keep) as $val) {
              unset($this->_status[$val]);
          }
  
          $this->map = new Horde_Imap_Client_Ids_Map();
          $this->open = $this->sync = false;
      }
code: public function reset()
      {
          $keep = array(
              Horde_Imap_Client::STATUS_SYNCFLAGUIDS,
              Horde_Imap_Client::STATUS_SYNCMODSEQ,
              Horde_Imap_Client::STATUS_SYNCVANISHED
          );
  
          foreach (array_diff(array_keys($this->_status), $keep) as $val) {
              unset($this->_status[$val]);
          }
  
          $this->map = new Horde_Imap_Client_Ids_Map();
          $this->open = $this->sync = false;
      }
code_tokens: public function reset ( ) { $ keep = array ( Horde_Imap_Client :: STATUS_SYNCFLAGUIDS , Horde_Imap_Client :: STATUS_SYNCMODSEQ , Horde_Imap_Client :: STATUS_SYNCVANISHED ) ; foreach ( array_diff ( array_keys ( $ this -> _status ) , $ keep ) as $ val ) { unset ( $ this -> _status [ $ val ] ) ; } $ this -> map = new Horde_Imap_Client_Ids_Map ( ) ; $ this -> open = $ this -> sync = false ; }
docstring: Reset the mailbox information.
docstring_tokens: Reset the mailbox information .