kernel/user/ezuserfunctioncollection.php
\eZUserFunctionCollection
Package:
Methods

fetchLoggedInList(
$sortBy, $offset, $limit
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $sortBy | ||
| $offset | ||
| $limit |

fetchLoggedInUsers(
$sortBy, $offset, $limit
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $sortBy | ||
| $offset | ||
| $limit |

fetchMemberOf(
int $id
)
:
\array(string=>array)Fetch role list Used by fetch( 'user', 'member_of', hash( 'id', $id ) ) template function.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $id | int | User id or normal content object id in case of none user object (user group) |
| Type | Description |
|---|---|
| \array(string=>array) |

fetchUserRole(
int $id
)
:
\array(string=>array)Fetch policy list Used by fetch( 'user', 'user_role', hash( 'user_id', $id ) ) template function.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $id | int | User id or normal content object id in case of none user object (user group) |
| Type | Description |
|---|---|
| \array(string=>array) |