◆ __construct()
◆ applyFilterCmd()
ilCmiXapiScoringGUI::applyFilterCmd |
( |
| ) |
|
|
protected |
◆ buildTableGUI()
ilCmiXapiScoringGUI::buildTableGUI |
( |
string |
$tableId | ) |
|
|
protected |
◆ executeCommand()
ilCmiXapiScoringGUI::executeCommand |
( |
| ) |
|
- Exceptions
-
Definition at line 63 of file class.ilCmiXapiScoringGUI.php.
63 : void
64 {
65 if (!$this->
access->hasHighscoreAccess()) {
67 }
68
69 switch ($this->dic->ctrl()->getNextClass($this)) {
70 default:
71 $cmd = $this->dic->ctrl()->getCmd('show') . 'Cmd';
72 $this->{$cmd}();
73 }
74 }
References ILIAS\Repository\access().
◆ getTableDataRange()
ilCmiXapiScoringGUI::getTableDataRange |
( |
bool |
$scopeUserRank = false | ) |
|
|
private |
◆ initHighScoreTable()
ilCmiXapiScoringGUI::initHighScoreTable |
( |
| ) |
|
|
protected |
◆ initTableData()
ilCmiXapiScoringGUI::initTableData |
( |
| ) |
|
|
protected |
Definition at line 112 of file class.ilCmiXapiScoringGUI.php.
112 : self
113 {
115 $filter->setActivityId($this->
object->getActivityId());
116
119 $this->object->getLrsType()->getLrsEndpointStatementsAggregationLink(),
120 $filter
121 );
122
124 $this->
object->getLrsType()->getBasicAuth(),
125 $linkBuilder
126 );
127
128 $scoringReport = $request->queryReport($this->
object->getId());
129 if (true === $scoringReport->initTableData()) {
130 $this->tableData = $scoringReport->getTableData();
131 $this->userRank = $scoringReport->getUserRank();
132 }
133 return $this;
134 }
References ILIAS\Repository\object().
Referenced by showCmd().
◆ initUserRankTable()
ilCmiXapiScoringGUI::initUserRankTable |
( |
| ) |
|
|
protected |
◆ resetFilterCmd()
ilCmiXapiScoringGUI::resetFilterCmd |
( |
| ) |
|
|
protected |
◆ showCmd()
ilCmiXapiScoringGUI::showCmd |
( |
| ) |
|
|
protected |
Definition at line 92 of file class.ilCmiXapiScoringGUI.php.
92 : void
93 {
94 try {
96 ->initHighScoreTable()
97 ->initUserRankTable()
98 ;
99
100 }
catch (Exception
$e) {
101 $this->main_tpl->setOnScreenMessage(
'failure',
$e->getMessage());
103 $table->setData(array());
104 $table->setMaxCount(0);
105 $table->resetOffset();
106 $this->tableHtml = $table->getHTML();
107 }
108
109 $this->dic->ui()->mainTemplate()->setContent($this->tableHtml);
110 }
References Vendor\Package\$e, buildTableGUI(), and initTableData().
Referenced by applyFilterCmd(), and resetFilterCmd().
◆ $access
◆ $dic
ILIAS DI Container ilCmiXapiScoringGUI::$dic |
|
private |
◆ $main_tpl
◆ $object
◆ $tableData
array ilCmiXapiScoringGUI::$tableData |
|
private |
◆ $tableHtml
string ilCmiXapiScoringGUI::$tableHtml = '' |
|
private |
◆ $userRank
int ilCmiXapiScoringGUI::$userRank = null |
|
private |
◆ PART_FILTER_ACTIVE_ONLY
const ilCmiXapiScoringGUI::PART_FILTER_ACTIVE_ONLY = 1 |
◆ PART_FILTER_ALL_USERS
const ilCmiXapiScoringGUI::PART_FILTER_ALL_USERS = 3 |
◆ PART_FILTER_INACTIVE_ONLY
const ilCmiXapiScoringGUI::PART_FILTER_INACTIVE_ONLY = 2 |
◆ PART_FILTER_MANSCORING_DONE
const ilCmiXapiScoringGUI::PART_FILTER_MANSCORING_DONE = 4 |
◆ PART_FILTER_MANSCORING_NONE
const ilCmiXapiScoringGUI::PART_FILTER_MANSCORING_NONE = 5 |
The documentation for this class was generated from the following file: