4include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
    5include_once 
"Modules/Exercise/classes/class.ilExSubmission.php";
 
   26        $this->ctrl = 
$DIC->ctrl();
 
   27        $this->lng = 
$DIC->language();
 
   33        include_once(
"./Modules/Exercise/classes/class.ilExAssignment.php");
 
   35        parent::__construct($a_parent_obj, $a_parent_cmd);
 
   36        $this->
setData($this->ass->getMemberListData());
 
   37        $this->
setTitle(
$lng->txt(
"exc_assignment") . 
": " . $this->ass->getTitle());
 
   41        $this->
addColumn($this->lng->txt(
"name"), 
"name");
 
   42        $this->
addColumn($this->lng->txt(
"exc_submission"), 
"");
 
   49        $this->
setRowTemplate(
"tpl.exc_public_submissions_row.html", 
"Modules/Exercise");
 
   62        include_once 
"./Services/Object/classes/class.ilObjectFactory.php";
 
   63        $member_id = $member[
"usr_id"];
 
   69        $this->tpl->setVariable(
 
   73        $this->tpl->setVariable(
 
   75            "[" . $member[
"login"] . 
"]" 
   79        $this->tpl->setVariable(
 
   81            $mem_obj->getPersonalPicturePath(
"xxsmall")
 
   83        $this->tpl->setVariable(
"USR_ALT", 
$lng->txt(
"personal_picture"));
 
   89        $last_sub = $sub->getLastSubmission();
 
   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", 
"");
 
  109            include_once(
"./Services/UIComponent/Button/classes/class.ilLinkButton.php");
 
  111            $button->setCaption(
"exc_download_files");
 
  112            $button->setUrl(
$url);
 
  113            $button->setOmitPreventDoubleSubmission(
true);
 
  114            $this->tpl->setVariable(
"BTN_DOWNLOAD", $button->render());
 
  117        $this->tpl->parseCurrentBlock();
 
An exception for terminatinating execution or to throw for unit testing.
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false)
Format a date @access public.
@classDescription Date and time handling
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
fillRow($member)
Fill table row.
__construct($a_parent_obj, $a_parent_cmd, ilExAssignment $a_ass)
Constructor.
setTopCommands($a_val)
Set top commands (display command buttons on top of table, too)
setEnableHeader($a_enableheader)
Set Enable Header.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setEnableTitle($a_enabletitle)
Set Enable Title.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
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.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.