5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
30 public function __construct($a_parent_obj, $a_parent_cmd, $a_ass)
34 $this->ctrl = $DIC->ctrl();
35 $this->lng = $DIC->language();
36 $this->access = $DIC->access();
37 $this->
user = $DIC->user();
39 $lng = $DIC->language();
40 $ilAccess = $DIC->access();
41 $lng = $DIC->language();
45 $this->
setId(
"exc_mdf_upload");
46 parent::__construct($a_parent_obj, $a_parent_cmd);
48 $this->
setData($this->ass->getMultiFeedbackFiles(
$ilUser->getId()));
53 $this->
addColumn($this->lng->txt(
"lastname"),
"lastname");
54 $this->
addColumn($this->lng->txt(
"firstname"),
"firstname");
55 $this->
addColumn($this->lng->txt(
"login"),
"login");
56 $this->
addColumn($this->lng->txt(
"file"),
"file");
59 $this->
setRowTemplate(
"tpl.multi_feedback_confirmation_row.html",
"Modules/Exercise");
72 $this->tpl->setVariable(
"FIRSTNAME", $a_set[
"firstname"]);
73 $this->tpl->setVariable(
"LASTNAME", $a_set[
"lastname"]);
74 $this->tpl->setVariable(
"LOGIN", $a_set[
"login"]);
75 $this->tpl->setVariable(
"FILE", $a_set[
"file"]);
76 $this->tpl->setVariable(
"POST_FILE", md5($a_set[
"file"]));
77 $this->tpl->setVariable(
"USER_ID", $a_set[
"user_id"]);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($a_set)
Fill table row.
__construct($a_parent_obj, $a_parent_cmd, $a_ass)
Constructor.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
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.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
setLimit($a_limit=0, $a_default_limit=0)