Property | Type | Description | |
---|---|---|---|
$activation | |||
$id | |||
$login | |||
$name | |||
$password | |||
$registered | |||
$status | |||
$url | |||
$username |
Property | Type | Description | |
---|---|---|---|
$permissions | array |
Method | Description | |
---|---|---|
getId ( ) | ||
getPassword ( ) | ||
getStatusText ( ) | ||
getStatuses ( ) | ||
getUsername ( ) | ||
hasAccess ( string $expression ) : boolean | Check if the user has access for a provided access expression. | |
hasPermission ( string $permission ) : boolean | Check if the user has access for a provided permission identifier | |
isActive ( ) : boolean | Check if the user is active. | |
isAdministrator ( ) : boolean | Check if the user has the administrator role. | |
isAnonymous ( ) : boolean | Check if the user has the anonymous role. | |
isAuthenticated ( ) : boolean | Check if the user has the authenticated role. | |
isBlocked ( ) : boolean | Check if the user is blocked. | |
jsonSerialize ( ) | ||
validate ( ) |
public hasPermission ( string $permission ) : boolean | ||
$permission | string | |
return | boolean |
public isAdministrator ( ) : boolean | ||
return | boolean |
public isAnonymous ( ) : boolean | ||
return | boolean |
public isAuthenticated ( ) : boolean | ||
return | boolean |