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.
상속: extends Horde_Kolab_Session_Decorator_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Session $session, mixed $logger ) Constructor.
connect ( string $user_id = null, array $credentials = null ) : null Try to connect the session handler.
export ( ) : array Export the session data as array.
import ( array $session_data ) : null Import the session data from an array.
purge ( ) : null Clear the session data.

메소드 상세

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

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

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