PHP 클래스 Horde_Kolab_Session_Valid_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.
상속: implements Horde_Kolab_Session_Valid
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Session_Valid $valid, mixed $logger ) Constructor.
getAuth ( ) : mixed Return the auth driver of this validator.
getSession ( ) : Horde_Kolab_Session Return the session this validator checks.
validate ( string $user = null ) : boolean Reset the current session information in case it does not match the authentication information anymore.

메소드 상세

__construct() 공개 메소드

The provided logger class needs to implement the methods debug() and err().
public __construct ( Horde_Kolab_Session_Valid $valid, mixed $logger )
$valid Horde_Kolab_Session_Valid The validator.
$logger mixed The logger instance.

getAuth() 공개 메소드

Return the auth driver of this validator.
public getAuth ( ) : mixed
리턴 mixed The user ID or false if no user is logged in.

getSession() 공개 메소드

Return the session this validator checks.
public getSession ( ) : Horde_Kolab_Session
리턴 Horde_Kolab_Session The session checked by this validator.

validate() 공개 메소드

Reset the current session information in case it does not match the authentication information anymore.
public validate ( string $user = null ) : boolean
$user string The user the session information is being requested for. This is usually empty, indicating the current user.
리턴 boolean True if the session is still valid.