4include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
    5include_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;
 
   32                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   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 
"./Services/Object/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);
 
  102                        include_once(
"./Services/UIComponent/Button/classes/class.ilLinkButton.php");
 
  104                        $button->setCaption(
"exc_download_files");
 
  105                        $button->setUrl(
$ilCtrl->getLinkTarget($this->parent_obj, 
"downloadReturned"));                                                 
 
  106                        $button->setOmitPreventDoubleSubmission(
true);                  
 
  107                        $this->tpl->setVariable(
"BTN_DOWNLOAD", $button->render());                     
 
  110                $this->tpl->parseCurrentBlock();
 
static formatDate(ilDateTime $date)
Format a date @access public.
@classDescription Date and time handling
static getLastSubmission($a_ass_id, $a_user_id)
Get the date of the last submission of a user for the assignment.
getMemberListData($a_exc_id, $a_ass_id)
get member list data
getDeliveredFiles($a_exc_id, $a_ass_id, $a_user_id, $a_filter_empty_filename=false)
was: getDeliveredFiles($a_member_id)
static lookupTitle($a_id)
Lookup title.
getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
__construct($a_parent_obj, $a_parent_cmd, $a_exc, $a_ass_id)
Constructor.
fillRow($member)
Fill table row.
setTopCommands($a_val)
Set top commands (display command buttons on top of table, too)
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
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.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.