3 declare(strict_types=1);
    43         $this->
setRowTemplate(
"tpl.edit_participants_row.html", 
"components/ILIAS/LearningSequence");
    45         $this->
addColumn($this->
lng->txt(
'name'), 
'name', 
'20%');
    46         $this->
addColumn($this->
lng->txt(
'login'), 
'login', 
'25%');
    47         $this->
addColumn($this->
lng->txt(
'lso_notification'), 
'notification');
    50         if ($this->privacy_settings->enabledLearningSequenceAccessTimes()) {
    51             $this->
addColumn($this->
lng->txt(
'last_access'), 
'access_time');
    63     protected function fillRow(array $a_set): void
    65         $this->tpl->setVariable(
'VAL_ID', $a_set[
'usr_id']);
    66         $this->tpl->setVariable(
'VAL_NAME', $a_set[
'lastname'] . 
', ' . $a_set[
'firstname']);
    67         $this->tpl->setVariable(
'VAL_LOGIN', $a_set[
'login']);
    68         $this->tpl->setVariable(
'VAL_NOTIFICATION_ID', $a_set[
'usr_id']);
    69         $this->tpl->setVariable(
'VAL_NOTIFICATION_CHECKED', $a_set[
'notification'] ? 
'checked="checked"' : 
'');
    70         $this->tpl->setVariable(
'NUM_ROLES', count($this->ls_participants->getRoles()));
    72         if ($this->privacy_settings->enabledLearningSequenceAccessTimes()) {
    73             $this->tpl->setVariable(
'VAL_ACCESS', $a_set[
'access_time']);
    76         $assigned = $this->ls_participants->getAssignedRoles((
int) $a_set[
'usr_id']);
    77         foreach ($this->ls_object->getLocalLearningSequenceRoles(
true) as $name => $role_id) {
    78             $this->tpl->setCurrentBlock(
'roles');
    79             $this->tpl->setVariable(
'ROLE_ID', $role_id);
    80             $this->tpl->setVariable(
'ROLE_NAME', $name);
    82             if (in_array($role_id, $assigned)) {
    83                 $this->tpl->setVariable(
'ROLE_CHECKED', 
'selected="selected"');
    86             $this->tpl->parseCurrentBlock();
 enable(string $a_module_name)
 
ilLearningSequenceMembershipGUI $parent_gui
 
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="")
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Singleton class that stores all privacy settings. 
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
__construct(ilLearningSequenceMembershipGUI $parent_gui, ilObjLearningSequence $ls_object, ilLearningSequenceParticipants $ls_participants, ilPrivacySettings $privacy_settings)
 
ilObjLearningSequence $ls_object
 
__construct(Container $dic, ilPlugin $plugin)
 
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)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilLearningSequenceParticipants $ls_participants
 
GUI class for learning sequence membership features. 
 
ilPrivacySettings $privacy_settings