ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Collects users from all providers. More...
Public Member Functions | |
__construct (int $user_id, int $ref_id, InternalDataService $data_service, InternalRepoService $repo_service, InternalDomainService $domain_service) | |
collectUsers (bool $a_online_only=false) | |
Collect users. More... | |
collectUsersFromProvider (Provider $prov, ?array $online_users) | |
Static Public Member Functions | |
static | getOnlineUsers () |
Protected Member Functions | |
removeUsersFromCollections (array $a_remove_users) | |
Remove users from collection. More... | |
Static Protected Attributes | |
static array | $online_users = null |
static array | $online_user_ids = array() |
Collects users from all providers.
Definition at line 30 of file class.Collector.php.
ILIAS\Awareness\User\Collector::__construct | ( | int | $user_id, |
int | $ref_id, | ||
InternalDataService | $data_service, | ||
InternalRepoService | $repo_service, | ||
InternalDomainService | $domain_service | ||
) |
Definition at line 46 of file class.Collector.php.
References ILIAS\Awareness\User\Collector\$data_service, ILIAS\Awareness\User\Collector\$ref_id, ILIAS\Awareness\User\Collector\$repo_service, ILIAS\Awareness\User\Collector\$user_id, ILIAS\Awareness\InternalDomainService\admin(), ILIAS\Repository\settings(), and ILIAS\Awareness\InternalDomainService\userProvider().
ILIAS\Awareness\User\Collector::collectUsers | ( | bool | $a_online_only = false | ) |
Collect users.
Definition at line 85 of file class.Collector.php.
References ILIAS\Awareness\User\Collector\$collection, ILIAS\Awareness\User\Collector\$collections, $DIC, ILIAS\Awareness\User\Collector\$online_user_ids, ILIAS\Awareness\User\Collector\$online_users, ILIAS\Awareness\User\Collector\$rbacreview, ILIAS\Awareness\User\Collector\$user_id, ILIAS\Awareness\User\Collection\addUser(), ANONYMOUS_USER_ID, ILIAS\Awareness\User\Collector\collectUsersFromProvider(), ilLoggerFactory\getLogger(), ILIAS\Awareness\User\Collector\getOnlineUsers(), ilObjUser\getUserSubsetByPreferenceValue(), ILIAS\Awareness\User\Collector\removeUsersFromCollections(), and ILIAS\Repository\settings().
ILIAS\Awareness\User\Collector::collectUsersFromProvider | ( | Provider | $prov, |
?array | $online_users | ||
) |
Definition at line 169 of file class.Collector.php.
References ILIAS\Awareness\User\Collector\$online_users, ILIAS\Awareness\User\Collector\$user_id, ILIAS\Awareness\User\Collection\addUser(), and ILIAS\Awareness\User\Provider\getInitialUserSet().
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
|
static |
Definition at line 64 of file class.Collector.php.
References ILIAS\Awareness\User\Collector\$online_users, ilObjUser\_getUsersOnline(), and ilContext\directCall().
Referenced by ILIAS\Awareness\User\Collector\collectUsers(), and ILIAS\Notifications\Provider\AwarenessToastProvider\getToasts().
|
protected |
Remove users from collection.
int[] | $a_remove_users | array of user IDs |
Definition at line 184 of file class.Collector.php.
References $c.
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
|
protected |
Definition at line 36 of file class.Collector.php.
|
protected |
Definition at line 39 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
|
protected |
Definition at line 40 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
|
protected |
Definition at line 37 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\__construct().
|
staticprotected |
Definition at line 34 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
|
staticprotected |
Definition at line 32 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\collectUsers(), ILIAS\Awareness\User\Collector\collectUsersFromProvider(), and ILIAS\Awareness\User\Collector\getOnlineUsers().
|
protected |
Definition at line 38 of file class.Collector.php.
|
protected |
Definition at line 35 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
|
protected |
Definition at line 42 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\__construct().
|
protected |
Definition at line 44 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\__construct().
|
protected |
Definition at line 43 of file class.Collector.php.
|
protected |
Definition at line 41 of file class.Collector.php.
Referenced by ILIAS\Awareness\User\Collector\__construct(), ILIAS\Awareness\User\Collector\collectUsers(), and ILIAS\Awareness\User\Collector\collectUsersFromProvider().