|
ILIAS
release_8 Revision v8.24
|
Collects users from all providers. More...
Collaboration diagram for ILIAS\Awareness\User\Collector: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... | |
Protected Attributes | |
| ilRbacReview | $rbacreview |
| Awareness AdminManager | $admin_manager |
| Awareness InternalDataService | $data_service |
| ProviderFactory | $provider_factory |
| Collection | $collection |
| array | $collections |
| int | $user_id |
| int | $ref_id |
| ilSetting | $settings |
| InternalRepoService | $repo_service |
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().
Here is the call graph for this function:| 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, $i, 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\getUsersAgreed(), ilObjUser\getUserSubsetByPreferenceValue(), ilRbacReview\isAssigned(), ilTermsOfServiceHelper\isEnabled(), ILIAS\Awareness\User\Collector\removeUsersFromCollections(), ILIAS\Repository\settings(), SYSTEM_ROLE_ID, and SYSTEM_USER_ID.
Here is the call graph for this function:| ILIAS\Awareness\User\Collector::collectUsersFromProvider | ( | Provider | $prov, |
| ?array | $online_users | ||
| ) |
Definition at line 176 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Remove users from collection.
| int[] | $a_remove_users | array of user IDs |
Definition at line 191 of file class.Collector.php.
References $c.
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
Here is the caller graph for this function:
|
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().