original_string: protected function _loadMailbox($mailbox, $uidvalid = null)
      {
          if (!isset($this->_mbox[$mailbox]) &&
              ($ob = $this->_hash->get($this->_getCid($mailbox)))) {
              try {
                  $this->_mbox[$mailbox] = $this->_pack->unpack($ob);
              } catch (Horde_Pack_Exception $e) {}
          }
  
          if (isset($this->_mbox[$mailbox])) {
              if (is_null($uidvalid) ||
                  ($uidvalid == $this->_mbox[$mailbox]['d']['uidvalid'])) {
                  return;
              }
              $this->deleteMailbox($mailbox);
          }
  
          $this->_mbox[$mailbox] = array(
              // Metadata storage
              // By default includes UIDVALIDITY of mailbox.
              'd' => array('uidvalid' => $uidvalid),
              // List of UIDs
              'u' => new Horde_Imap_Client_Ids()
          );
      }
code: protected function _loadMailbox($mailbox, $uidvalid = null)
      {
          if (!isset($this->_mbox[$mailbox]) &&
              ($ob = $this->_hash->get($this->_getCid($mailbox)))) {
              try {
                  $this->_mbox[$mailbox] = $this->_pack->unpack($ob);
              } catch (Horde_Pack_Exception $e) {}
          }
  
          if (isset($this->_mbox[$mailbox])) {
              if (is_null($uidvalid) ||
                  ($uidvalid == $this->_mbox[$mailbox]['d']['uidvalid'])) {
                  return;
              }
              $this->deleteMailbox($mailbox);
          }
  
          $this->_mbox[$mailbox] = array(
              // Metadata storage
              // By default includes UIDVALIDITY of mailbox.
              'd' => array('uidvalid' => $uidvalid),
              // List of UIDs
              'u' => new Horde_Imap_Client_Ids()
          );
      }
code_tokens: protected function _loadMailbox ( $ mailbox , $ uidvalid = null ) { if ( ! isset ( $ this -> _mbox [ $ mailbox ] ) && ( $ ob = $ this -> _hash -> get ( $ this -> _getCid ( $ mailbox ) ) ) ) { try { $ this -> _mbox [ $ mailbox ] = $ this -> _pack -> unpack ( $ ob ) ; } catch ( Horde_Pack_Exception $ e ) { } } if ( isset ( $ this -> _mbox [ $ mailbox ] ) ) { if ( is_null ( $ uidvalid ) || ( $ uidvalid == $ this -> _mbox [ $ mailbox ] [ 'd' ] [ 'uidvalid' ] ) ) { return ; } $ this -> deleteMailbox ( $ mailbox ) ; } $ this -> _mbox [ $ mailbox ] = array ( // Metadata storage // By default includes UIDVALIDITY of mailbox. 'd' => array ( 'uidvalid' => $ uidvalid ) , // List of UIDs 'u' => new Horde_Imap_Client_Ids ( ) ) ; }
docstring: Loads basic mailbox information.
  
  @param string $mailbox    The mailbox to load.
  @param integer $uidvalid  The IMAP uidvalidity value of the mailbox.
docstring_tokens: Loads basic mailbox information .