Example #1
0
 /**
  * Connect to the server.
  *
  * @param string $guid The global unique id of the user.
  * @param string $pass The password.
  *
  * @return NULL.
  *
  * @throws Horde_Kolab_Server_Exception If the connection failed.
  */
 public function connectGuid($guid = null, $pass = null)
 {
     $this->_server->connectGuid($guid, $pass);
     if (!isset($this->_count['connectGuid'])) {
         $this->_count['connectGuid'] = 1;
     } else {
         $this->_count['connectGuid']++;
     }
 }
Example #2
0
File: Log.php Project: horde/horde
 /**
  * Connect to the server.
  *
  * @param string $guid The global unique id of the user.
  * @param string $pass The password.
  *
  * @return NULL.
  *
  * @throws Horde_Kolab_Server_Exception If the connection failed.
  */
 public function connectGuid($guid = null, $pass = null)
 {
     try {
         $this->_server->connectGuid($guid, $pass);
         $this->_logger->debug(sprintf("Successfully connected to the Kolab Server as \"%s\".", $guid));
     } catch (Horde_Kolab_Server_Exception $e) {
         $this->_logger->debug(sprintf("Failed connecting to the Kolab Server as \"%s\"! Error: %s", $guid, $e->getMessage()));
         throw $e;
     }
 }
Example #3
0
 /**
  * Connect to the server.
  *
  * @param string $guid The global unique id of the user.
  * @param string $pass The password.
  *
  * @return NULL.
  *
  * @throws Horde_Kolab_Server_Exception If the connection failed.
  */
 public function connectGuid($guid = null, $pass = null)
 {
     $this->_server->connectGuid($guid, $pass);
 }
Example #4
0
 /**
  * Connect to the server.
  *
  * @param string $guid The global unique id of the user.
  * @param string $pass The password.
  *
  * @return NULL.
  *
  * @throws Horde_Kolab_Server_Exception If the connection failed.
  */
 public function connectGuid($guid = '', $pass = '')
 {
     $this->_server->connectGuid($guid, $pass);
 }