30     protected \ilLanguage 
$lng;
    31     protected \ILIAS\Awareness\StandardGUIRequest 
$request;
    32     protected \ILIAS\DI\RBACServices 
$rbac;
    33     protected \ilDBInterface 
$db;
    39         $this->db = $DIC->database();
    40         $this->tree = $DIC->repositoryTree();
    41         $this->
access = $DIC->access();
    42         $this->
rbac = $DIC->rbac();
    43         $this->
lng = $DIC->language();
    44         $this->request = $DIC->awareness()
    65         $this->
lng->loadLanguageModule(
"crs");
    66         return $this->
lng->txt(
"crs_awrn_current_course");
    75         $this->
lng->loadLanguageModule(
"crs");
    76         return $this->
lng->txt(
"crs_awrn_current_course_info");
    89         $rbacreview = $this->
rbac->review();
    95         $ref_id = $this->request->getRefId();
    98             foreach (
$path as $p) {
    99                 if ($p[
"type"] == 
"crs" &&
   100                     ($ilAccess->checkAccess(
"write", 
"", $p[
"child"]) ||
   102                     $lrol = $rbacreview->getRolesOfRoleFolder($p[
"child"], 
false);
   103                     $set = 
$ilDB->query(
'SELECT DISTINCT(usr_id) FROM rbac_ua ' .
   104                         'WHERE ' . 
$ilDB->in(
'rol_id', $lrol, 
false, 
'integer'));
   109                     while ($rec = 
$ilDB->fetchAssoc($set)) {
   110                         $ub[] = $rec[
"usr_id"];
   112                         $awrn_logger->debug(
"ilAwarenessUserProviderCurrentCourse: obj_id: " . $p[
"obj_id"] . 
", " .
   113                             "Collected User: " . $rec[
"usr_id"]);
 
static getLogger(string $a_component_id)
Get component logger. 
 
static lookupShowMembersEnabled(int $a_obj_id)
 
getInitialUserSet(?array $user_ids=null)
Get initial set of users. 
 
ILIAS DI RBACServices $rbac
 
isHighlighted()
Is highlighted. 
 
__construct(Container $DIC)
 
getInfo()
Provider info (used in administration settings) 
 
getTitle()
Provider title (used in awareness overlay and in administration settings) 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
All members of the same courses/groups as the user. 
 
getProviderId()
Get provider id. 
 
ILIAS Awareness StandardGUIRequest $request