$_session
$_session : \Horde_Kolab_Session
The session handler this instance provides with anonymous access.
The Horde_Kolab_Session_Anonymous class allows anonymous access to the Kolab system.
Copyright 2009-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
$_session : \Horde_Kolab_Session
The session handler this instance provides with anonymous access.
__construct(\Horde_Kolab_Session $session, string $user, string $pass)
Constructor.
\Horde_Kolab_Session | $session | The this instance should provide anonymous access for. |
string | $user | ID of the anonymous user. |
string | $pass | Password of the anonymous user. |
connect(string $user_id = null, array $credentials = null) : NULL
Try to connect the session handler.
string | $user_id | The user ID to connect with. |
array | $credentials | An array of login credentials. For Kolab, this must contain a "password" entry. |
If the connection failed.