$_session
$_session : \Horde_Kolab_Session
The session handler this instance provides with anonymous access.
A logger for Horde_Kolab_Session handlers.
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, mixed $logger)
Constructor.
The provided logger class needs to implement the methods debug() and err().
\Horde_Kolab_Session | $session | The session handler. |
mixed | $logger | The logger instance. |
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.