Horde_Kolab_Session::connect PHP Method

connect() public method

Try to connect the session handler.
public connect ( string $user_id = null, array $credentials = null ) : null
$user_id string The user ID to connect with.
$credentials array An array of login credentials. For Kolab, this must contain a "password" entry.
return null
    public function connect($user_id = null, array $credentials = null);

Usage Example

Exemplo n.º 1
0
 /**
  * Try to connect the session handler.
  *
  * @param string $user_id     The user ID to connect with.
  * @param array  $credentials An array of login credentials. For Kolab,
  *                            this must contain a "password" entry.
  *
  * @return NULL
  *
  * @throws Horde_Kolab_Session_Exception If the connection failed.
  */
 public function connect($user_id = null, array $credentials = null)
 {
     $this->_session->connect($user_id, $credentials);
 }