PHP 인터페이스 Horde_Kolab_Session, horde

Horde_Kolab_Server currently has no caching so we mainly cache some core user information in the Kolab session handler as reading this data is expensive and it is sufficient to read it once per session. The users account id needs to be provided from the outside. Any additional Kolab user data relevant for the user session should be accessed via the Horde_Kolab_Session class. Copyright 2008-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.
파일 보기 프로젝트 열기: horde/horde 0 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

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() 공개 메소드

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

getFreebusyServer() 공개 메소드

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

getId() 공개 메소드

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

getImapServer() 공개 메소드

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

getMail() 공개 메소드

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

getName() 공개 메소드

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

getUid() 공개 메소드

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

import() 공개 메소드

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

purge() 공개 메소드

Clear the session data.
public purge ( ) : null
리턴 null