original_string: public function login()
      {
          if (!$this->_isAuthenticated && $this->_login()) {
              if ($this->getParam('id')) {
                  try {
                      $this->sendID();
                      /* ID is queued - force sending the queued command. */
                      $this->_sendCmd($this->_pipeline());
                  } catch (Horde_Imap_Client_Exception_NoSupportExtension $e) {
                      // Ignore if server doesn't support ID extension.
                  }
              }
  
              if ($this->getParam('comparator')) {
                  try {
                      $this->setComparator();
                  } catch (Horde_Imap_Client_Exception_NoSupportExtension $e) {
                      // Ignore if server doesn't support I18NLEVEL=2
                  }
              }
          }
  
          $this->_isAuthenticated = true;
      }
code: public function login()
      {
          if (!$this->_isAuthenticated && $this->_login()) {
              if ($this->getParam('id')) {
                  try {
                      $this->sendID();
                      /* ID is queued - force sending the queued command. */
                      $this->_sendCmd($this->_pipeline());
                  } catch (Horde_Imap_Client_Exception_NoSupportExtension $e) {
                      // Ignore if server doesn't support ID extension.
                  }
              }
  
              if ($this->getParam('comparator')) {
                  try {
                      $this->setComparator();
                  } catch (Horde_Imap_Client_Exception_NoSupportExtension $e) {
                      // Ignore if server doesn't support I18NLEVEL=2
                  }
              }
          }
  
          $this->_isAuthenticated = true;
      }
code_tokens: public function login ( ) { if ( ! $ this -> _isAuthenticated && $ this -> _login ( ) ) { if ( $ this -> getParam ( 'id' ) ) { try { $ this -> sendID ( ) ; /* ID is queued - force sending the queued command. */ $ this -> _sendCmd ( $ this -> _pipeline ( ) ) ; } catch ( Horde_Imap_Client_Exception_NoSupportExtension $ e ) { // Ignore if server doesn't support ID extension. } } if ( $ this -> getParam ( 'comparator' ) ) { try { $ this -> setComparator ( ) ; } catch ( Horde_Imap_Client_Exception_NoSupportExtension $ e ) { // Ignore if server doesn't support I18NLEVEL=2 } } } $ this -> _isAuthenticated = true ; }
docstring: Login to the IMAP server.
  
  @throws Horde_Imap_Client_Exception
docstring_tokens: Login to the IMAP server .