52         $this->tree = $DIC->repositoryTree();
    54         $this->
setId(
'crsr_mem_confirmation');
    73         $this->
setRowTemplate(
'tpl.crsr_mem_deletion_confirmation_row.html', 
'Modules/CourseReference');
    82         $this->
addColumn($this->
lng->txt(
'type'), 
'type', 
'50px');
    92         foreach ($this->participants as $part_id) {
    95             $row[
'id'] = $part_id;
    99             $row[
'title'] = ($name[
'lastname'] . 
', ' . $name[
'firstname'] . 
' [' . $name[
'login'] . 
']');
   111         $this->tpl->setVariable(
'HIDDEN_NAME', $a_set[
'id']);
   113         $this->tpl->setVariable(
'ALT_USR', $this->
lng->txt(
'obj_usr'));
   114         $this->tpl->setVariable(
'VAL_LOGIN', $a_set[
'title']);
   117         foreach ($linked_course_assignments as $course_ref_id) {
   119             $path->enableHideLeaf(
false);
   120             $path->enableTextOnly(
false);
   121             $this->tpl->setCurrentBlock(
'reference_path');
   122             $this->tpl->setVariable(
'CHECK_USER_NAME', 
'refs[' . $a_set[
'id'] . 
'][' . $course_ref_id . 
']');
   123             $this->tpl->setVariable(
'CHECK_USER_VAL', 1);
   125             $this->tpl->parseCurrentBlock();
   129         if (count($linked_course_assignments)) {
   130             $this->tpl->setCurrentBlock(
'reference_select');
   131             $this->tpl->setVariable(
'RUID', $a_set[
'id']);
   132             $this->tpl->setVariable(
'RFORM_ID', $this->formname);
   133             $this->tpl->setVariable(
'SEL_ALL', $this->
lng->txt(
'select_all'));
   134             $this->tpl->parseCurrentBlock();
   143         $childs = $this->tree->getChildsByType($this->member_obj->getRefId(), 
'crsr');
   144         $assigned_references = [];
   145         foreach ($childs as $tree_node) {
   147             if (!$path_info->hasParentCourse()) {
   150             if (!$path_info->isMemberUpdateEnabled()) {
   153             if (!$path_info->checkManagmentAccess()) {
   156             $course_ref_id = $path_info->getTargetId();
   158             if ($part->isMember($part_id)) {
   159                 $assigned_references[] = $course_ref_id;
   162         return $assigned_references;
 
Creates a path for a start and endnode. 
 
setParticipants(array $participants)
 
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="")
 
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
static getInstance(int $a_ref_id)
 
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
static _lookupName(int $a_user_id)
lookup user name 
 
__construct($gui, $member_obj, string $cmd)
ilCourseReferenceDeleteConfirmationTableGUI constructor. 
 
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
readLinkedCourseAssignments($part_id)
 
parse()
Parse table content. 
 
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)
 
static getInstanceByRefId(int $ref_id, int $target_ref_id=0)