ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Collects users from all providers. More...
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().
ilAwarenessUserCollector::collectUsers | ( | $a_online_only = false | ) |
Collect users.
Definition at line 109 of file class.ilAwarenessUserCollector.php.
References $collection, $collections, $i, $user_id, array, ilAwarenessUserProviderFactory\getAllProviders(), ilAwarenessUserCollection\getInstance(), ilLoggerFactory\getLogger(), ilObjUser\getUsersAgreed(), ilObjUser\getUserSubsetByPreferenceValue(), ilTermsOfServiceHelper\isEnabled(), ilAwarenessUserProvider\MODE_INACTIVE, ilAwarenessUserProvider\MODE_INCL_OFFLINE, ilAwarenessUserProvider\MODE_ONLINE_ONLY, removeUsersFromCollections(), and settings().
|
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().
|
static |
Get online users.
Definition at line 85 of file class.ilAwarenessUserCollector.php.
References array, and ilContext\directCall().
Referenced by ilAwarenessData\getData(), and ilAwarenessData\getOnlineUserData().
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.
Referenced by collectUsers().
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.
|
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().