PHP Класс Horde_Kolab_Session_Decorator_Logged, horde
Copyright 2009-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Описание методов
__construct()
публичный Метод
The provided logger class needs to implement the methods debug() and
err().
public __construct ( Horde_Kolab_Session $session, mixed $logger ) |
$session |
Horde_Kolab_Session |
The session handler. |
$logger |
mixed |
The logger instance. |
connect()
публичный Метод
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. |
Результат |
null |
|
Export the session data as array.
Import the session data from an array.