/**
  * Create member status record for a new assignment for all participants
  */
 static function createNewAssignmentRecords($a_ass_id, $a_eph)
 {
     global $ilDB;
     include_once "./Customizing/global/plugins/Services/Repository/RepositoryObject/Ephorus/classes/class.ilEphorusMembers.php";
     $ephmem = new ilEphorusMembers($a_eph);
     $mems = $ephmem->getMembers();
     foreach ($mems as $mem) {
         $ilDB->replace("rep_robj_xeph_ass_stat", array("ass_id" => array("integer", $a_ass_id), "user_id" => array("integer", $mem)), array("status" => array("text", "notgraded")));
     }
 }
 /**
  * Show grades
  */
 function showGradesOverview()
 {
     global $tree, $tpl, $ilToolbar, $ilCtrl, $ilTabs, $lng;
     $ilTabs->activateTab("submissions");
     $this->addSubmissionSubTabs("grades");
     include_once "./Customizing/global/plugins/Services/Repository/RepositoryObject/Ephorus/classes/class.ilEphAssignment.php";
     $mem_obj = new ilEphorusMembers($this->object);
     $members = $mem_obj->getMembers();
     if (count($members) > 0) {
         foreach ($members as $mem) {
             $this->object->updateUserStatus($mem);
         }
         $ilToolbar->addButton($lng->txt("rep_robj_xeph_export_excel"), $ilCtrl->getLinkTarget($this, "exportExcel"));
     }
     include_once "./Customizing/global/plugins/Services/Repository/RepositoryObject/Ephorus/classes/class.ilEphGradesTableGUI.php";
     $grades_tab = new ilExGradesTableGUI($this, "showGradesOverview", $this->object, $mem_obj);
     $tpl->setContent($grades_tab->getHTML());
 }