/**
  * Show grades overview
  */
 function showGradesOverviewObject()
 {
     global $rbacsystem, $tree, $tpl, $ilToolbar, $ilCtrl, $ilTabs, $lng;
     $this->checkPermission("write");
     $ilTabs->activateTab("grades");
     $this->addSubmissionSubTabs("grades");
     include_once "./Modules/Exercise/classes/class.ilExAssignment.php";
     $mem_obj = new ilExerciseMembers($this->object);
     $mems = $mem_obj->getMembers();
     if (count($mems) > 0) {
         $ilToolbar->addButton($lng->txt("exc_export_excel"), $ilCtrl->getLinkTarget($this, "exportExcel"));
     }
     include_once "./Modules/Exercise/classes/class.ilExGradesTableGUI.php";
     $grades_tab = new ilExGradesTableGUI($this, "showGradesOverview", $this->object, $mem_obj);
     $tpl->setContent($grades_tab->getHTML());
 }
 /**
  * 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());
 }