4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
    5 include_once(
"./Modules/Exercise/classes/class.ilExAssignment.php");
 
   21         function __construct($a_parent_obj, $a_parent_cmd, $a_exc, $a_ass_id)
 
   26                 $this->exc_id = $this->exc->getId();
 
   28                 include_once(
"./Modules/Exercise/classes/class.ilExAssignment.php");
 
   30                 $this->ass_id = $a_ass_id;
 
   34                 $this->
setTitle($lng->txt(
"exc_assignment").
": ".
 
   39                 $this->
addColumn($this->lng->txt(
"name"), 
"name");
 
   40                 $this->
addColumn($this->lng->txt(
"exc_submission"), 
"");
 
   47                 $this->
setRowTemplate(
"tpl.exc_public_submissions_row.html", 
"Modules/Exercise");
 
   59                 include_once 
"./classes/class.ilObjectFactory.php";             
 
   60                 $member_id = $member[
"usr_id"];
 
   67                 $this->tpl->setVariable(
"TXT_NAME",
 
   69                 $this->tpl->setVariable(
"TXT_LOGIN",
 
   70                         "[".$member[
"login"].
"]");
 
   73                 $this->tpl->setVariable(
"USR_IMAGE",
 
   74                         $mem_obj->getPersonalPicturePath(
"xxsmall"));
 
   75                 $this->tpl->setVariable(
"USR_ALT", $lng->txt(
"personal_picture"));
 
   91                 $this->tpl->setVariable(
"TXT_SUBMITTED_FILES",
 
   92                         $lng->txt(
"exc_files_returned"));
 
   94                 $this->tpl->setVariable(
"VAL_SUBMITTED_FILES",
 
   98                 $ilCtrl->setParameter($this->parent_obj, 
"member_id", $member_id);
 
  101                         $this->tpl->setCurrentBlock(
"download_link");
 
  102                         $this->tpl->setVariable(
"LINK_DOWNLOAD",
 
  103                                 $ilCtrl->getLinkTarget($this->parent_obj, 
"downloadReturned"));
 
  104                         $this->tpl->setVariable(
"TXT_DOWNLOAD",
 
  105                                 $lng->txt(
"exc_download_files"));
 
  106                         $this->tpl->parseCurrentBlock();
 
  110                 $this->tpl->parseCurrentBlock();