/**
  * Constructor
  */
 function ilEphorusMemberTableGUI($a_parent_obj, $a_parent_cmd, $a_eph, $a_ass_id)
 {
     global $ilCtrl, $lng, $ilAccess, $lng;
     $this->eph = $a_eph;
     $this->eph_id = $this->eph->getId();
     $this->setId("eph_mem_" . $a_ass_id);
     include_once "./Customizing/global/plugins/Services/Repository/RepositoryObject/Ephorus/classes/class.ilFSStorageEphorus.php";
     $this->storage = new ilFSStorageEphorus($this->eph_id, $a_ass_id);
     include_once "./Customizing/global/plugins/Services/Repository/RepositoryObject/Ephorus/classes/class.ilEphAssignment.php";
     $this->ass_id = $a_ass_id;
     //var_dump(ilEphAssignment::getMemberListData($this->eph_id, $this->ass_id));
     parent::__construct($a_parent_obj, $a_parent_cmd);
     $this->setData(ilEphAssignment::getMemberListData($this->eph_id, $this->ass_id));
     $this->setTitle($lng->txt("rep_robj_xeph_assignment") . ": " . ilEphAssignment::lookupTitle($a_ass_id));
     $this->setTopCommands(true);
     //$this->setLimit(9999);
     $this->addColumn("", "", "1", true);
     $this->addColumn($this->lng->txt("image"), "", "1");
     $this->addColumn($this->lng->txt("name"), "name");
     $this->addColumn($this->lng->txt("login"), "login");
     $this->sent_col = ilEphAssignment::lookupAnyEphorusSent($this->eph->getId(), $this->ass_id);
     if ($this->sent_col) {
         $this->addColumn($this->lng->txt("rep_robj_xeph_exercise_sent"), "sent_time");
     }
     $this->addColumn($this->lng->txt("rep_robj_xeph_submission"), "submission");
     $this->addColumn($this->lng->txt("rep_robj_xeph_reports"), "reports");
     $this->addColumn($this->lng->txt("rep_robj_xeph_grading"), "solved_time");
     $this->addColumn($this->lng->txt("feedback"), "feedback_time");
     $this->setDefaultOrderField("name");
     $this->setDefaultOrderDirection("asc");
     $this->setEnableHeader(true);
     $this->setFormAction($ilCtrl->getFormAction($a_parent_obj));
     $this->setRowTemplate("tpl.eph_members_row.html", "Customizing/global/plugins/Services/Repository/RepositoryObject/Ephorus");
     //$this->disable("footer");
     $this->setEnableTitle(true);
     $this->setSelectAllCheckbox("member");
     $this->addMultiCommand("saveStatus", $lng->txt("rep_robj_xeph_save"));
     $this->addMultiCommand("redirectFeedbackMail", $lng->txt("rep_robj_xeph_send_mail"));
     $this->addMultiCommand("sendMembers", $lng->txt("rep_robj_xeph_send_assignment"));
     $this->addMultiCommand("confirmDeassignMembers", $lng->txt("rep_robj_xeph_deassign_members"));
     if (count(ilEphAssignment::getAllDeliveredFiles($this->eph_id, $this->ass_id))) {
         $this->addCommandButton("downloadAllDeliveredFiles", $lng->txt("download_all_returned_files"));
     }
 }
 /**
  * Constructor
  */
 function __construct($a_parent_obj, $a_parent_cmd, $a_eph, $a_ass_id)
 {
     global $ilCtrl, $lng, $ilAccess, $lng;
     $this->eph = $a_eph;
     $this->eph_id = $this->eph->getId();
     include_once "./Customizing/global/plugins/Services/Repository/RepositoryObject/Ephorus/classes/class.ilEphAssignment.php";
     $this->ass_id = $a_ass_id;
     parent::__construct($a_parent_obj, $a_parent_cmd);
     $this->setData(ilEphAssignment::getMemberListData($this->eph_id, $this->ass_id));
     $this->setTitle($lng->txt("rep_robj_xeph_assignment") . ": " . ilEphAssignment::lookupTitle($a_ass_id));
     $this->setTopCommands(true);
     //$this->setLimit(9999);
     $this->addColumn($this->lng->txt("name"), "name");
     $this->addColumn($this->lng->txt("rep_robj_xeph_submission"), "");
     $this->setDefaultOrderField("name");
     $this->setDefaultOrderDirection("asc");
     $this->setEnableHeader(true);
     $this->setFormAction($ilCtrl->getFormAction($a_parent_obj));
     $this->setRowTemplate("tpl.eph_public_submissions_row.html", "Customizing/global/plugins/Services/Repository/RepositoryObject/Ephorus");
     //$this->disable("footer");
     $this->setEnableTitle(true);
 }