original_string: public function setMetaData($mailbox, $uidvalid, array $data = array())
      {
          unset($data['uidvalid']);
  
          if (!empty($data)) {
              if (!empty($uidvalid)) {
                  $data['uidvalid'] = $uidvalid;
              }
              $mailbox = strval($mailbox);
  
              $this->_backend->setMetaData($mailbox, $data);
  
              if ($this->_debug) {
                  $this->_debug->info(sprintf(
                      'CACHE: Stored metadata (%s [%s])',
                      implode(',', array_keys($data)),
                      $mailbox
                  ));
              }
          }
      }
code: public function setMetaData($mailbox, $uidvalid, array $data = array())
      {
          unset($data['uidvalid']);
  
          if (!empty($data)) {
              if (!empty($uidvalid)) {
                  $data['uidvalid'] = $uidvalid;
              }
              $mailbox = strval($mailbox);
  
              $this->_backend->setMetaData($mailbox, $data);
  
              if ($this->_debug) {
                  $this->_debug->info(sprintf(
                      'CACHE: Stored metadata (%s [%s])',
                      implode(',', array_keys($data)),
                      $mailbox
                  ));
              }
          }
      }
code_tokens: public function setMetaData ( $ mailbox , $ uidvalid , array $ data = array ( ) ) { unset ( $ data [ 'uidvalid' ] ) ; if ( ! empty ( $ data ) ) { if ( ! empty ( $ uidvalid ) ) { $ data [ 'uidvalid' ] = $ uidvalid ; } $ mailbox = strval ( $ mailbox ) ; $ this -> _backend -> setMetaData ( $ mailbox , $ data ) ; if ( $ this -> _debug ) { $ this -> _debug -> info ( sprintf ( 'CACHE: Stored metadata (%s [%s])' , implode ( ',' , array_keys ( $ data ) ) , $ mailbox ) ) ; } } }
docstring: Set metadata information for a mailbox.
  
  @param string $mailbox    An IMAP mailbox string.
  @param integer $uidvalid  The IMAP uidvalidity value of the mailbox.
  @param array $data        The list of data to save. The keys are the
  metadata IDs, the values are the associated
  data. The following labels are reserved:
  'uidvalid'.
docstring_tokens: Set metadata information for a mailbox .