|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collects users from all providers. More...
Collaboration diagram for ilAwarenessUserCollector:Public Member Functions | |
| setRefId ($a_val) | |
| Set ref id. More... | |
| getRefId () | |
| Get ref id. More... | |
| collectUsers ($a_online_only=false) | |
| Collect users. More... | |
Static Public Member Functions | |
| static | getInstance ($a_user_id) |
| Get instance (for a user) More... | |
| static | getOnlineUsers () |
| Get online users. More... | |
Protected Member Functions | |
| __construct ($a_user_id) | |
| Constructor. More... | |
| removeUsersFromCollections ($a_remove_users) | |
| Remove users from collection. More... | |
Protected Attributes | |
| $collection | |
| $collections | |
| $user_id | |
| $ref_id | |
| $settings | |
Static Protected Attributes | |
| static | $instances = array() |
| static | $online_users = false |
| static | $online_user_ids = array() |
Collects users from all providers.
Definition at line 12 of file class.ilAwarenessUserCollector.php.
|
protected |
Constructor.
| int | $a_user_id | user id |
Definition at line 36 of file class.ilAwarenessUserCollector.php.
References $DIC, and settings().
Here is the call graph for this function:| ilAwarenessUserCollector::collectUsers | ( | $a_online_only = false | ) |
Collect users.
Definition at line 109 of file class.ilAwarenessUserCollector.php.
References $collection, $collections, $i, $user_id, ilAwarenessUserProviderFactory\getAllProviders(), ilAwarenessUserCollection\getInstance(), ilLoggerFactory\getLogger(), getOnlineUsers(), ilObjUser\getUsersAgreed(), ilObjUser\getUserSubsetByPreferenceValue(), ilTermsOfServiceHelper\isEnabled(), ilAwarenessUserProvider\MODE_INACTIVE, ilAwarenessUserProvider\MODE_INCL_OFFLINE, ilAwarenessUserProvider\MODE_ONLINE_ONLY, removeUsersFromCollections(), and settings().
Here is the call graph for this function:
|
static |
Get instance (for a user)
| int | $a_user_id | user id |
Definition at line 70 of file class.ilAwarenessUserCollector.php.
Referenced by ilAwarenessData\__construct().
Here is the caller graph for this function:
|
static |
Get online users.
return
Definition at line 85 of file class.ilAwarenessUserCollector.php.
References $online_users, and ilContext\directCall().
Referenced by collectUsers(), ilAwarenessData\getData(), and ilAwarenessData\getOnlineUserData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAwarenessUserCollector::getRefId | ( | ) |
Get ref id.
Definition at line 59 of file class.ilAwarenessUserCollector.php.
References $ref_id.
|
protected |
Remove users from collection.
| array | $a_remove_users | array of user IDs |
Definition at line 203 of file class.ilAwarenessUserCollector.php.
References $c.
Referenced by collectUsers().
Here is the caller graph for this function:| ilAwarenessUserCollector::setRefId | ( | $a_val | ) |
Set ref id.
| int | $a_val | ref id |
Definition at line 49 of file class.ilAwarenessUserCollector.php.
|
protected |
Definition at line 21 of file class.ilAwarenessUserCollector.php.
Referenced by collectUsers().
|
protected |
Definition at line 22 of file class.ilAwarenessUserCollector.php.
Referenced by collectUsers().
|
staticprotected |
Definition at line 14 of file class.ilAwarenessUserCollector.php.
|
staticprotected |
Definition at line 16 of file class.ilAwarenessUserCollector.php.
|
staticprotected |
Definition at line 15 of file class.ilAwarenessUserCollector.php.
Referenced by getOnlineUsers().
|
protected |
Definition at line 24 of file class.ilAwarenessUserCollector.php.
Referenced by getRefId().
|
protected |
Definition at line 29 of file class.ilAwarenessUserCollector.php.
|
protected |
Definition at line 23 of file class.ilAwarenessUserCollector.php.
Referenced by collectUsers().