26 protected \ILIAS\Exercise\InternalGUIService
$gui;
36 $this->
ctrl = $DIC->ctrl();
37 $this->
lng = $DIC->language();
38 $ilCtrl = $DIC->ctrl();
39 $lng = $DIC->language();
44 $this->
setData($this->ass->getMemberListData());
45 $this->
setTitle(
$lng->
txt(
"exc_assignment") .
": " . $this->ass->getTitle());
57 $this->
setRowTemplate(
"tpl.exc_public_submissions_row.html",
"Modules/Exercise");
60 $this->gui = $DIC->exercise()->internal()->gui();
67 protected function fillRow(array $a_set): void
72 $member_id = $a_set[
"usr_id"];
78 $this->tpl->setVariable(
82 $this->tpl->setVariable(
84 "[" . $a_set[
"login"] .
"]" 88 $this->tpl->setVariable(
90 $mem_obj->getPersonalPicturePath(
"xxsmall")
92 $this->tpl->setVariable(
"USR_ALT",
$lng->
txt(
"personal_picture"));
99 $sub_cnt = count($sub->getFiles());
101 $this->tpl->setVariable(
"TXT_SUBMITTED_FILES",
$lng->
txt(
"exc_files_returned"));
102 $this->tpl->setVariable(
"VAL_SUBMITTED_FILES", $sub_cnt);
106 $ilCtrl->setParameterByClass(
"ilExSubmissionFileGUI",
"member_id", $member_id);
107 $url = $ilCtrl->getLinkTargetByClass(
"ilExSubmissionFileGUI",
"downloadReturned");
108 $ilCtrl->setParameterByClass(
"ilExSubmissionFileGUI",
"member_id",
"");
111 $button = $this->gui->button(
112 $lng->
txt(
"exc_download_files"),
115 $this->tpl->setVariable(
"BTN_DOWNLOAD", $button->render());
118 $this->tpl->parseCurrentBlock();
setTopCommands(bool $a_val)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
setFormAction(string $a_form_action, bool $a_multipart=false)
setEnableTitle(bool $a_enabletitle)
__construct(object $a_parent_obj, string $a_parent_cmd, ilExAssignment $a_ass)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setDefaultOrderField(string $a_defaultorderfield)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setDefaultOrderDirection(string $a_defaultorderdirection)
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS Exercise InternalGUIService $gui
setEnableHeader(bool $a_enableheader)