PHP 클래스 Contao\BackendUser

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

보호된 프로퍼티들

프로퍼티 타입 설명
$alexf array Allowed excluded fields
$arrFilemountIds array File mount IDs
$objInstance object Current object instance (do not remove)
$strCookie string Name of the current cookie
$strTable string Name of the corresponding table

공개 메소드들

메소드 설명
__get ( string $strKey ) : mixed Extend parent getter class and modify some parameters
authenticate ( ) : boolean Redirect to the login screen if authentication fails
canEditFieldsOf ( string $table ) : boolean Return true if there is at least one allowed excluded field
hasAccess ( string $field, array $array ) : boolean Check whether the current user has a certain access right
isAllowed ( integer $int, array $row ) : boolean Return true if the current user is allowed to do the current operation on the current page
navigation ( boolean $blnShowAll = false ) : array Generate the navigation menu and return it as array
save ( ) Restore the original numeric file mounts (see #5083)

보호된 메소드들

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

authenticate() 공개 메소드

Redirect to the login screen if authentication fails
public authenticate ( ) : boolean
리턴 boolean True if the user could be authenticated

canEditFieldsOf() 공개 메소드

Return true if there is at least one allowed excluded field
public canEditFieldsOf ( string $table ) : boolean
$table string
리턴 boolean

hasAccess() 공개 메소드

Check whether the current user has a certain access right
public hasAccess ( string $field, array $array ) : boolean
$field string
$array array
리턴 boolean

isAllowed() 공개 메소드

Return true if the current user is allowed to do the current operation on the current page
public isAllowed ( integer $int, array $row ) : boolean
$int integer
$row array
리턴 boolean

navigation() 공개 메소드

Generate the navigation menu and return it as array
public navigation ( boolean $blnShowAll = false ) : array
$blnShowAll boolean
리턴 array

save() 공개 메소드

Restore the original numeric file mounts (see #5083)
public save ( )

setUserFromDb() 보호된 메소드

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

프로퍼티 상세

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

Allowed excluded fields
protected array $alexf
리턴 array

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

File mount IDs
protected array $arrFilemountIds
리턴 array

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

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

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

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

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

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