PHP Class Horde_Kolab_Session_Decorator_Stored, 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.
Inheritance: extends Horde_Kolab_Session_Decorator_Base
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Horde_Kolab_Session $session, Horde_Kolab_Session_Storage $storage ) Constructor.
connect ( string $user_id = null, array $credentials = null ) : null Try to connect the session handler.
import ( array $session_data ) : null Import the session data from an array.
purge ( ) : null Clear the session data.
shutdown ( ) : null Write any modified data to the session.

Method Details

__construct() public méthode

Constructor.
public __construct ( Horde_Kolab_Session $session, Horde_Kolab_Session_Storage $storage )
$session Horde_Kolab_Session The session handler.
$storage Horde_Kolab_Session_Storage Store the session here.

connect() public méthode

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.
Résultat null

import() public méthode

Import the session data from an array.
public import ( array $session_data ) : null
$session_data array
Résultat null

purge() public méthode

Clear the session data.
public purge ( ) : null
Résultat null

shutdown() public méthode

Write any modified data to the session.
public shutdown ( ) : null
Résultat null