original_string: public function createMailbox($mailbox, array $opts = array())
      {
          $this->login();
  
          if (!$this->_capability('CREATE-SPECIAL-USE')) {
              unset($opts['special_use']);
          }
  
          $this->_createMailbox(Horde_Imap_Client_Mailbox::get($mailbox), $opts);
      }
code: public function createMailbox($mailbox, array $opts = array())
      {
          $this->login();
  
          if (!$this->_capability('CREATE-SPECIAL-USE')) {
              unset($opts['special_use']);
          }
  
          $this->_createMailbox(Horde_Imap_Client_Mailbox::get($mailbox), $opts);
      }
code_tokens: public function createMailbox ( $ mailbox , array $ opts = array ( ) ) { $ this -> login ( ) ; if ( ! $ this -> _capability ( 'CREATE-SPECIAL-USE' ) ) { unset ( $ opts [ 'special_use' ] ) ; } $ this -> _createMailbox ( Horde_Imap_Client_Mailbox :: get ( $ mailbox ) , $ opts ) ; }
docstring: Create a mailbox.
  
  @param mixed $mailbox  The mailbox to create. Either a
  Horde_Imap_Client_Mailbox object or a string
  (UTF-8).
  @param array $opts     Additional options:
  - special_use: (array) An array of special-use flags to mark the
  mailbox with. The server MUST support RFC 6154.
  
  @throws Horde_Imap_Client_Exception
docstring_tokens: Create a mailbox .