\Xima\XmTools\Classes\Typo3FeUser

Helper for FeUser

Summary

Methods
Properties
Constants
__construct()
getUid()
getUser()
getGroupData()
feUserIsAuthenticated()
feUserHasRole()
feUserHasRoleId()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$user
$groupData
N/A

Properties

Methods

__construct()

__construct() 

Constructor

getUid()

getUid() : integer

Returns

integer

getUser()

getUser() : array

Returns

array

getGroupData()

getGroupData() : array

Returns

array

feUserIsAuthenticated()

feUserIsAuthenticated() : boolean

Checks if fe_user is authenticated.

Returns

boolean

feUserHasRole()

feUserHasRole(string  $role) : boolean

Checks if fe_user is authenticated and has given role.

Parameters

string $role

Returns

boolean

feUserHasRoleId()

feUserHasRoleId(integer  $roleId) : boolean

Checks if fe_user is authenticated and has given role id.

Parameters

integer $roleId

Returns

boolean