Fetch functions
| Name | Summary |
|---|---|
| anonymous_count | Fetches the number of anonymous users. |
| current_user | Fetches the user that is currently logged in. |
| has_access_to | Checks if a user has access to a certain function of a module. |
| is_logged_in | Checks if a specific user is logged in. |
| logged_in_count | Fetches the number of users that are logged in. |
| logged_in_list | Fetches the names of the users that are logged in. |
| logged_in_users | Fetches the users that are logged in. |
| member_of | Fetches the roles that are assigned to a user. |
| user_role | Fetches the policies that are available for a user. |
In this section
- anonymous_count The number of anonymous users as an integer.
- current_user An ezuser object.
- has_access_to TRUE if access is allowed, FALSE otherwise.
- is_logged_in TRUE if the specified user is logged in, FALSE otherwise.
- logged_in_count The number of logged in users (as an integer).
- logged_in_list An associative array or FALSE.
- logged_in_users An array with ezuser objects or FALSE.
- member_of An array with ezrole objects or FALSE.
- user_role An array of hashes or FALSE.
Contributors
- Balazs Halasy Updated
Comments
Add a comment