3 declare(strict_types=1);
    56         $this->
lng->loadLanguageModule(
'grp');
    60         $this->
addColumn($this->
lng->txt(
'name'), 
'name', 
'20%');
    61         $this->
addColumn($this->
lng->txt(
'login'), 
'login', 
'25%');
    63         if ($this->privacy->enabledGroupAccessTimes()) {
    64             $this->
addColumn($this->
lng->txt(
'last_access'), 
'access_time');
    66         $this->
addColumn($this->
lng->txt(
'grp_mem_contacts'), 
'contact');
    67         $this->
addColumn($this->
lng->txt(
'grp_notification'), 
'notification');
    73         $this->
setRowTemplate(
"tpl.edit_participants_row.html", 
"Modules/Group");
    81     protected function fillRow(array $a_set): void
    83         $this->tpl->setVariable(
'VAL_ID', $a_set[
'usr_id']);
    84         $this->tpl->setVariable(
'VAL_NAME', $a_set[
'lastname'] . 
', ' . $a_set[
'firstname']);
    86         $this->tpl->setVariable(
'VAL_LOGIN', $a_set[
'login']);
    88         if ($this->privacy->enabledGroupAccessTimes()) {
    89             $this->tpl->setVariable(
'VAL_ACCESS', $a_set[
'access_time']);
    91         $this->tpl->setVariable(
'VAL_CONTACT_CHECKED', $a_set[
'contact'] ? 
'checked="checked"' : 
'');
    92         $this->tpl->setVariable(
'VAL_NOTIFICATION_ID', $a_set[
'usr_id']);
    93         $this->tpl->setVariable(
'VAL_NOTIFICATION_CHECKED', $a_set[
'notification'] ? 
'checked="checked"' : 
'');
    95         $this->tpl->setVariable(
'NUM_ROLES', count($this->participants->getRoles()));
    97         $assigned = $this->participants->getAssignedRoles((
int) $a_set[
'usr_id']);
    98         foreach ($this->rep_object->getLocalGroupRoles(
true) as $name => $role_id) {
    99             $this->tpl->setCurrentBlock(
'roles');
   100             $this->tpl->setVariable(
'ROLE_ID', $role_id);
   101             $this->tpl->setVariable(
'ROLE_NAME', $name);
   103             if (in_array($role_id, $assigned)) {
   104                 $this->tpl->setVariable(
'ROLE_CHECKED', 
'selected="selected"');
   106             $this->tpl->parseCurrentBlock();
 enable(string $a_module_name)
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
setFormName(string $a_name="")
 
Singleton class that stores all privacy settings. 
 
ilParticipants $participants
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
__construct(object $a_parent_obj, ilObject $rep_object)
Constructor. 
 
Base class for course and group participants. 
 
static _getInstanceByObjId(int $a_obj_id)
Get singleton instance. 
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
disable(string $a_module_name)
 
ilPrivacySettings $privacy