PHP 클래스 Contao\FrontendUser

상속: extends User
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$arrGroups array Groups
$objInstance FrontendUser Current object instance (do not remove)
$strCookie string Name of the current cookie
$strLoginPage string Group login page
$strTable string Name of the corresponding table

공개 메소드들

메소드 설명
__get ( string $strKey ) : mixed Extend parent getter class and modify some parameters
__set ( string $strKey, mixed $varValue ) Extend parent setter class and modify some parameters
authenticate ( ) : boolean Authenticate a user
findBy ( string $strColumn, mixed $varValue ) : boolean Save the original group membership
login ( ) : boolean Add the auto login resources
logout ( ) : boolean Remove the auto login resources
save ( ) Restore the original group membership

보호된 메소드들

메소드 설명
__construct ( ) Initialize the object
setUserFromDb ( ) Set all user properties from a database record

메소드 상세

__construct() 보호된 메소드

Initialize the object
protected __construct ( )

__get() 공개 메소드

Extend parent getter class and modify some parameters
public __get ( string $strKey ) : mixed
$strKey string
리턴 mixed

__set() 공개 메소드

Extend parent setter class and modify some parameters
public __set ( string $strKey, mixed $varValue )
$strKey string
$varValue mixed

authenticate() 공개 메소드

Authenticate a user
public authenticate ( ) : boolean
리턴 boolean

findBy() 공개 메소드

Save the original group membership
public findBy ( string $strColumn, mixed $varValue ) : boolean
$strColumn string
$varValue mixed
리턴 boolean

login() 공개 메소드

Add the auto login resources
public login ( ) : boolean
리턴 boolean

logout() 공개 메소드

Remove the auto login resources
public logout ( ) : boolean
리턴 boolean

save() 공개 메소드

Restore the original group membership
public save ( )

setUserFromDb() 보호된 메소드

Set all user properties from a database record
protected setUserFromDb ( )

프로퍼티 상세

$arrGroups 보호되어 있는 프로퍼티

Groups
protected array $arrGroups
리턴 array

$objInstance 보호되어 있는 정적으로 프로퍼티

Current object instance (do not remove)
protected static FrontendUser,contao $objInstance
리턴 FrontendUser

$strCookie 보호되어 있는 프로퍼티

Name of the current cookie
protected string $strCookie
리턴 string

$strLoginPage 보호되어 있는 프로퍼티

Group login page
protected string $strLoginPage
리턴 string

$strTable 보호되어 있는 프로퍼티

Name of the corresponding table
protected string $strTable
리턴 string