◆ __construct()
ilTestToplistGUI::__construct |
( |
ilObjTest |
$testOBJ | ) |
|
◆ buildTableGUI()
ilTestToplistGUI::buildTableGUI |
( |
| ) |
|
|
protected |
◆ executeCommand()
ilTestToplistGUI::executeCommand |
( |
| ) |
|
◆ isOwnRankingTableRequired()
ilTestToplistGUI::isOwnRankingTableRequired |
( |
| ) |
|
|
protected |
◆ isTopTenRankingTableRequired()
ilTestToplistGUI::isTopTenRankingTableRequired |
( |
| ) |
|
|
protected |
◆ renderMedianMarkPanel()
ilTestToplistGUI::renderMedianMarkPanel |
( |
| ) |
|
|
protected |
- Returns
- string
Definition at line 98 of file class.ilTestToplistGUI.php.
References $data, $panel, ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by showResultsToplistsCmd().
100 $title = $this->
lng->txt(
'tst_median_mark_panel');
103 $activeId = $this->
object->getActiveIdOfUser($this->
user->getId());
104 $data = $this->
object->getCompleteEvaluationData();
105 $median =
$data->getStatistics()->getStatistics()->median();
106 $pct =
$data->getParticipant($activeId)->getMaxpoints() ? ($median /
$data->getParticipant($activeId)->getMaxpoints()) * 100.0 : 0;
107 $mark = $this->
object->mark_schema->getMatchingMark($pct);
108 $content = $mark->getShortName();
110 $panel = $this->uiFactory->panel()->standard(
112 $this->uiFactory->legacy($content)
115 return $this->uiRenderer->render(
$panel);
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
◆ renderResultsToplistByScore()
ilTestToplistGUI::renderResultsToplistByScore |
( |
| ) |
|
|
protected |
◆ renderResultsToplistByTime()
ilTestToplistGUI::renderResultsToplistByTime |
( |
| ) |
|
|
protected |
◆ showResultsToplistsCmd()
ilTestToplistGUI::showResultsToplistsCmd |
( |
| ) |
|
|
protected |
◆ $ctrl
◆ $lng
◆ $object
ilTestToplistGUI::$object |
|
protected |
◆ $tabs
◆ $toplist
ilTestToplistGUI::$toplist |
|
protected |
◆ $tpl
◆ $uiFactory
ilTestToplistGUI::$uiFactory |
|
private |
◆ $uiRenderer
ilTestToplistGUI::$uiRenderer |
|
private |
◆ $user
The documentation for this class was generated from the following file: