eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZUserFunctionCollection

class eZUserFunctionCollection

Methods

eZUserFunctionCollection()

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 22
public eZUserFunctionCollection()

at line 26
public fetchCurrentUser()

at line 41
public fetchIsLoggedIn($userID)

Parameters

$userID

at line 47
public fetchLoggedInCount()

at line 53
public fetchAnonymousCount()

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

Parameters

$sortBy
$offset
$limit

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

Parameters

$sortBy
$offset
$limit

at line 78
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 164
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 175
public hasAccessTo($module, $view, $userID)

Parameters

$module
$view
$userID