Class

eZUserFunctionCollection

class eZUserFunctionCollection

Methods

fetchCurrentUser()

fetchIsLoggedIn($userID)

fetchLoggedInCount()

fetchAnonymousCount()

fetchLoggedInList($sortBy, $offset, $limit)

fetchLoggedInUsers($sortBy, $offset, $limit)

array(string=>array) fetchUserRole(int $id)

Fetch policy list Used by fetch( 'user', 'userrole', hash( 'userid', $id ) ) template function.

array(string=>array) fetchMemberOf(int $id)

Fetch role list Used by fetch( 'user', 'member_of', hash( 'id', $id ) ) template function.

hasAccessTo($module, $view, $userID)

Details

at line 19
public fetchCurrentUser()

at line 34
public fetchIsLoggedIn($userID)

Parameters

$userID

at line 40
public fetchLoggedInCount()

at line 46
public fetchAnonymousCount()

at line 52
public fetchLoggedInList($sortBy, $offset, $limit)

Parameters

$sortBy
$offset
$limit

at line 58
public fetchLoggedInUsers($sortBy, $offset, $limit)

Parameters

$sortBy
$offset
$limit

at line 71
public array(string=>array) fetchUserRole(int $id)

Fetch policy list Used by fetch( 'user', 'userrole', hash( 'userid', $id ) ) template function.

Parameters

int $id User id or normal content object id in case of none user object (user group)

Return Value

array(string=>array)

at line 157
public array(string=>array) fetchMemberOf(int $id)

Fetch role list Used by fetch( 'user', 'member_of', hash( 'id', $id ) ) template function.

Parameters

int $id User id or normal content object id in case of none user object (user group)

Return Value

array(string=>array)

at line 168
public hasAccessTo($module, $view, $userID)

Parameters

$module
$view
$userID