PHP Класс Horde_Kolab_Session_Decorator_Anonymous, 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.
Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_Kolab_Session_Decorator_Base
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Horde_Kolab_Session $session, string $user, string $pass ) Constructor.
connect ( string $user_id = null, array $credentials = null ) : null Try to connect the session handler.
getId ( ) : string Return the user id used for connecting the session.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Horde_Kolab_Session $session, string $user, string $pass )
$session Horde_Kolab_Session The this instance should provide anonymous access for.
$user string ID of the anonymous user.
$pass string Password of the anonymous user.

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

getId() публичный Метод

Return the user id used for connecting the session.
public getId ( ) : string
Результат string The user id.