original_string: protected function _getMboxFormatOb($mailbox, $list = false)
      {
          if ($this->_capability()->isEnabled('UTF8=ACCEPT')) {
              try {
                  return $list
                      ? new Horde_Imap_Client_Data_Format_ListMailbox_Utf8($mailbox)
                      : new Horde_Imap_Client_Data_Format_Mailbox_Utf8($mailbox);
              } catch (Horde_Imap_Client_Data_Format_Exception $e) {}
          }
  
          return $list
              ? new Horde_Imap_Client_Data_Format_ListMailbox($mailbox)
              : new Horde_Imap_Client_Data_Format_Mailbox($mailbox);
      }
code: protected function _getMboxFormatOb($mailbox, $list = false)
      {
          if ($this->_capability()->isEnabled('UTF8=ACCEPT')) {
              try {
                  return $list
                      ? new Horde_Imap_Client_Data_Format_ListMailbox_Utf8($mailbox)
                      : new Horde_Imap_Client_Data_Format_Mailbox_Utf8($mailbox);
              } catch (Horde_Imap_Client_Data_Format_Exception $e) {}
          }
  
          return $list
              ? new Horde_Imap_Client_Data_Format_ListMailbox($mailbox)
              : new Horde_Imap_Client_Data_Format_Mailbox($mailbox);
      }
code_tokens: protected function _getMboxFormatOb ( $ mailbox , $ list = false ) { if ( $ this -> _capability ( ) -> isEnabled ( 'UTF8=ACCEPT' ) ) { try { return $ list ? new Horde_Imap_Client_Data_Format_ListMailbox_Utf8 ( $ mailbox ) : new Horde_Imap_Client_Data_Format_Mailbox_Utf8 ( $ mailbox ) ; } catch ( Horde_Imap_Client_Data_Format_Exception $ e ) { } } return $ list ? new Horde_Imap_Client_Data_Format_ListMailbox ( $ mailbox ) : new Horde_Imap_Client_Data_Format_Mailbox ( $ mailbox ) ; }
docstring: Return the proper mailbox format object based on the server's
  capabilities.
  
  @param string $mailbox  The mailbox.
  @param boolean $list    Is this object used in a LIST command?
  
  @return Horde_Imap_Client_Data_Format_Mailbox  A mailbox format object.
docstring_tokens: Return the proper mailbox format object based on the server s capabilities .