PHP Class Horde_Kolab_Session_Decorator_Base, 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: implements Horde_Kolab_Session
Datei anzeigen Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_session Horde_Kolab_Session The session handler this instance provides with anonymous access.

Public Methods

Method Description
__construct ( Horde_Kolab_Session $session ) Constructor.
connect ( string $user_id = null, array $credentials = null ) : null Try to connect the session handler.
export ( ) : array Export the session data as array.
getFreebusyServer ( ) : string Return the freebusy server.
getId ( ) : string Return the user id used for connecting the session.
getImapServer ( ) : string Return the imap server.
getMail ( ) : string Return the users mail address.
getName ( ) : string Return the users name.
getUid ( ) : string Return the users uid.
import ( array $session_data ) : null Import the session data from an array.
purge ( ) : null Clear the session data.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Kolab_Session $session )
$session Horde_Kolab_Session The this instance should provide anonymous access for.

connect() public method

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.
return null

export() public method

Export the session data as array.
public export ( ) : array
return array The session data.

getFreebusyServer() public method

Return the freebusy server.
public getFreebusyServer ( ) : string
return string The freebusy host for the current user.

getId() public method

Return the user id used for connecting the session.
public getId ( ) : string
return string The user id.

getImapServer() public method

Return the imap server.
public getImapServer ( ) : string
return string The imap host for the current user.

getMail() public method

Return the users mail address.
public getMail ( ) : string
return string The users mail address.

getName() public method

Return the users name.
public getName ( ) : string
return string The users name.

getUid() public method

Return the users uid.
public getUid ( ) : string
return string The users uid.

import() public method

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

purge() public method

Clear the session data.
public purge ( ) : null
return null

Property Details

$_session protected_oe property

The session handler this instance provides with anonymous access.
protected Horde_Kolab_Session $_session
return Horde_Kolab_Session