5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
20 function __construct($a_parent_obj, $a_user_id, $a_completed_courses) {
21 $this->folder = $a_folder;
23 parent::__construct($a_parent_obj,
"");
24 $this->user_id = $a_user_id;
27 $this->
addColumn($this->lng->txt(
"title"));
29 $this->
setRowTemplate(
"tpl.acknowledge_completed_courses_row.html",
"Modules/StudyProgramme");
31 $this->
setData($a_completed_courses);
38 $this->tpl->setVariable(
"USR_ID", $this->user_id);
39 $this->tpl->setVariable(
"PRG_REF_ID", $a_set[
"prg_ref_id"]);
40 $this->tpl->setVariable(
"CRS_ID", $a_set[
"crs_id"]);
41 $this->tpl->setVariable(
"CRSR_ID", $a_set[
"crsr_id"]);
42 $this->tpl->setVariable(
"CRS_TITLE", $a_set[
"title"]);
__construct($a_parent_obj, $a_user_id, $a_completed_courses)
Constructor.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
TableGUI class for acknowledgement of completed courses for new members of a study programme...
fillRow($a_set)
Fill table row.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.