eZPublish(LegacyStack)  5.1
eZUserFunctionCollection Class Reference

The class eZUserFunctionCollection does. More...

Public Member Functions

 eZUserFunctionCollection ()
 
 fetchAnonymousCount ()
 
 fetchCurrentUser ()
 
 fetchIsLoggedIn ($userID)
 
 fetchLoggedInCount ()
 
 fetchLoggedInList ($sortBy, $offset, $limit)
 
 fetchLoggedInUsers ($sortBy, $offset, $limit)
 
 fetchMemberOf ($id)
 Fetch role list Used by fetch( 'user', 'member_of', hash( 'id', $id ) ) template function. More...
 
 fetchUserRole ($id)
 Fetch policy list Used by fetch( 'user', 'user_role', hash( 'user_id', $id ) ) template function. More...
 
 hasAccessTo ($module, $view, $userID)
 

Detailed Description

The class eZUserFunctionCollection does.

Member Function Documentation

eZUserFunctionCollection::eZUserFunctionCollection ( )

Constructor

eZUserFunctionCollection::fetchAnonymousCount ( )
eZUserFunctionCollection::fetchCurrentUser ( )
eZUserFunctionCollection::fetchIsLoggedIn (   $userID)
eZUserFunctionCollection::fetchLoggedInCount ( )
eZUserFunctionCollection::fetchLoggedInList (   $sortBy,
  $offset,
  $limit 
)
eZUserFunctionCollection::fetchLoggedInUsers (   $sortBy,
  $offset,
  $limit 
)
eZUserFunctionCollection::fetchMemberOf (   $id)

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

Parameters
int$idUser id or normal content object id in case of none user object (user group)
Returns
array(string=>array)
eZUserFunctionCollection::fetchUserRole (   $id)

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

Parameters
int$idUser id or normal content object id in case of none user object (user group)
Returns
array(string=>array)
eZUserFunctionCollection::hasAccessTo (   $module,
  $view,
  $userID 
)

The documentation for this class was generated from the following file: