4include_once(
"./Modules/Exercise/classes/class.ilExerciseSubmissionTableGUI.php");
 
   25                $this->
setId(
"exc_part");
 
   30                        if(trim($name[
"login"]))
 
   34                                $this->
setTitle($lng->txt(
"exc_participant").
": ".
 
   35                                        $name[
"lastname"].
", ".$name[
"firstname"].
" [".$name[
"login"].
"]");             
 
   57                if(!$ilAccess->checkAccessOfUser($this->user->getId(), 
"read",
"", $this->exc->getRefId()) &&
 
   58                        is_array(
$info = $ilAccess->getInfo()))
 
   68                        $member_status = $ass->getMemberStatus($this->
user->getId());
 
   71                        if($this->filter[
"status"] &&
 
   72                                $member_status->getStatus() != $this->filter[
"status"])
 
   78                        $idl = $ass->getIndividualDeadlines();          
 
   80                        if($this->filter[
"subm"])
 
   82                                if($this->filter[
"subm"] == 
"y" &&
 
   83                                        !$submission->getLastSubmission())
 
   87                                else if($this->filter[
"subm"] == 
"n" &&
 
   88                                        $submission->getLastSubmission())
 
   96                                "submission_obj" => $submission,
 
   97                                "name" => $ass->getTitle(),
 
   98                                "status" => $member_status->getStatus(),
 
   99                                "mark" => $member_status->getMark(),
 
  100                                "sent_time" => $member_status->getSentTime(),
 
  101                                "status_time" => $member_status->getStatusTime(),
 
  102                                "feedback_time" => $member_status->getFeedbackTime(),
 
  103                                "submission" => $submission->getLastSubmission(),                               
 
  104                                "notice" => $member_status->getNotice(),
 
  105                                "comment" => $member_status->getComment()                               
 
  112                                $row[
"team"] = array();
 
  113                                foreach($submission->getTeam()->getMembers() as $user_id)
 
  119                                $team_id = $team_map[$this->
user->getId()];
 
  120                                if(is_numeric($team_id))
 
  122                                        $idl_team_id = 
"t".$team_id;
 
  123                                        if(array_key_exists($idl_team_id, $idl))
 
  125                                                $row[
"idl"] = $idl[$idl_team_id];       
 
  131                                if(array_key_exists($this->
user->getId(), $idl))
 
  133                                        $row[
"idl"] = $idl[$this->
user->getId()];       
 
  147                $cols[
"name"] = array($this->lng->txt(
"exc_assignment"), 
"name");       
 
  148                $cols[
"team_members"] = array($this->lng->txt(
"exc_tbl_team"));                 
 
  149                $cols[
"idl"] = array($this->lng->txt(
"exc_tbl_individual_deadline"), 
"idl");    
 
  158                $ilCtrl->setParameter($this->parent_obj, 
"member_id", $this->
user->getId());
 
  159                $ilCtrl->setParameter($this->parent_obj, 
"ass_id", $a_item[
"ass"]->
getId());
 
  162                $this->tpl->setVariable(
"NAME_ID", 
"ass");                      
 
  163                $this->tpl->setVariable(
"VAL_ID", $a_item[
"ass"]->
getId());                     
 
  165                $this->
parseRow($this->
user->getId(), $a_item[
"ass"], $a_item);                                                                 
 
  167                $ilCtrl->setParameter($this->parent_obj, 
"ass_id", 
"");
 
  168                $ilCtrl->setParameter($this->parent_obj, 
"member_id", $this->
user->getId());                    
 
An exception for terminatinating execution or to throw for unit testing.
static getAssignmentTeamMap($a_ass_id)
Get team structure for assignment.
static getInstancesByExercise($a_exc_id)
Exercise participant table.
fillRow($a_item)
Standard Version of Fill Row.
Exercise submission table.
parseRow($a_user_id, ilExAssignment $a_ass, array $a_row)
static _lookupName($a_user_id)
lookup user name
static _lookupFullname($a_user_id)
Lookup Full Name.
getParentCmd()
Get parent command.
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
setDescription($a_val)
Set description.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.