5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
20 public function __construct($a_parent_obj, $a_user_id, $a_completed_courses)
22 $this->folder = $a_folder;
24 parent::__construct($a_parent_obj,
"");
25 $this->user_id = $a_user_id;
28 $this->
addColumn($this->lng->txt(
"title"));
30 $this->
setRowTemplate(
"tpl.acknowledge_completed_courses_row.html",
"Modules/StudyProgramme");
32 $this->
setData($a_completed_courses);
40 $this->tpl->setVariable(
"USR_ID", $this->user_id);
41 $this->tpl->setVariable(
"PRG_REF_ID", $a_set[
"prg_ref_id"]);
42 $this->tpl->setVariable(
"CRS_ID", $a_set[
"crs_id"]);
43 $this->tpl->setVariable(
"CRSR_ID", $a_set[
"crsr_id"]);
44 $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...
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.
fillRow($a_set)
Fill table row.