35 $this->
ctrl = $DIC->ctrl();
36 $this->
lng = $DIC->language();
37 $ilCtrl = $DIC->ctrl();
38 $lng = $DIC->language();
43 $this->
setData($this->ass->getMemberListData());
44 $this->
setTitle(
$lng->
txt(
"exc_assignment") .
": " . $this->ass->getTitle());
56 $this->
setRowTemplate(
"tpl.exc_public_submissions_row.html",
"Modules/Exercise");
65 protected function fillRow(array $a_set): void
70 $member_id = $a_set[
"usr_id"];
76 $this->tpl->setVariable(
80 $this->tpl->setVariable(
82 "[" . $a_set[
"login"] .
"]" 86 $this->tpl->setVariable(
88 $mem_obj->getPersonalPicturePath(
"xxsmall")
90 $this->tpl->setVariable(
"USR_ALT",
$lng->
txt(
"personal_picture"));
97 $sub_cnt = count($sub->getFiles());
99 $this->tpl->setVariable(
"TXT_SUBMITTED_FILES",
$lng->
txt(
"exc_files_returned"));
100 $this->tpl->setVariable(
"VAL_SUBMITTED_FILES", $sub_cnt);
104 $ilCtrl->setParameterByClass(
"ilExSubmissionFileGUI",
"member_id", $member_id);
105 $url = $ilCtrl->getLinkTargetByClass(
"ilExSubmissionFileGUI",
"downloadReturned");
106 $ilCtrl->setParameterByClass(
"ilExSubmissionFileGUI",
"member_id",
"");
110 $button->setCaption(
"exc_download_files");
111 $button->setUrl(
$url);
112 $button->setOmitPreventDoubleSubmission(
true);
113 $this->tpl->setVariable(
"BTN_DOWNLOAD", $button->render());
116 $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
__construct(Container $dic, ilPlugin $plugin)
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...
setEnableHeader(bool $a_enableheader)