◆ __construct()
◆ buildTableGUI()
ilLTIConsumerScoringGUI::buildTableGUI |
( |
string |
$tableId | ) |
|
|
protected |
◆ executeCommand()
ilLTIConsumerScoringGUI::executeCommand |
( |
| ) |
|
◆ getObject()
ilLTIConsumerScoringGUI::getObject |
( |
| ) |
|
◆ getTableDataRange()
ilLTIConsumerScoringGUI::getTableDataRange |
( |
?bool |
$scopeUserRank = false | ) |
|
|
private |
◆ initHighScoreTable()
ilLTIConsumerScoringGUI::initHighScoreTable |
( |
| ) |
|
|
protected |
◆ initTableData()
ilLTIConsumerScoringGUI::initTableData |
( |
| ) |
|
|
protected |
- Returns
- $this
Definition at line 108 of file class.ilLTIConsumerScoringGUI.php.
References ilCmiXapiLrsType\buildBasicAuth(), and ILIAS\Repository\object().
Referenced by showCmd().
110 $aggregateEndPointUrl = str_replace(
112 'api/statements/aggregate',
113 $this->
object->getProvider()->getXapiLaunchUrl()
117 $this->
object->getProvider()->getXapiLaunchKey(),
118 $this->
object->getProvider()->getXapiLaunchSecret()
122 $filter->setActivityId($this->
object->getActivityId());
126 $aggregateEndPointUrl,
135 $scoringReport = $request->queryReport($this->
object->getId());
137 if (
true === $scoringReport->initTableData()) {
138 $this->tableData = $scoringReport->getTableData();
139 $this->userRank = $scoringReport->getUserRank();
static buildBasicAuth($lrsKey, $lrsSecret)
◆ initUserRankTable()
ilLTIConsumerScoringGUI::initUserRankTable |
( |
| ) |
|
|
protected |
◆ showCmd()
ilLTIConsumerScoringGUI::showCmd |
( |
| ) |
|
|
protected |
Definition at line 83 of file class.ilLTIConsumerScoringGUI.php.
References $DIC, Vendor\Package\$e, buildTableGUI(), and initTableData().
89 ->initHighScoreTable()
93 $this->main_tpl->setOnScreenMessage(
'failure', $e->getMessage());
96 $table->setData(array());
97 $table->setMaxCount(0);
98 $table->resetOffset();
99 $this->tableHtml = $table->getHTML();
102 $DIC->ui()->mainTemplate()->setContent($this->tableHtml);
buildTableGUI(string $tableId)
◆ $access
◆ $main_tpl
◆ $object
◆ $tableData
array ilLTIConsumerScoringGUI::$tableData |
|
private |
◆ $tableHtml
string ilLTIConsumerScoringGUI::$tableHtml = '' |
|
private |
◆ $userRank
int ilLTIConsumerScoringGUI::$userRank |
|
private |
◆ PART_FILTER_ACTIVE_ONLY
const ilLTIConsumerScoringGUI::PART_FILTER_ACTIVE_ONLY = 1 |
◆ PART_FILTER_ALL_USERS
const ilLTIConsumerScoringGUI::PART_FILTER_ALL_USERS = 3 |
◆ PART_FILTER_INACTIVE_ONLY
const ilLTIConsumerScoringGUI::PART_FILTER_INACTIVE_ONLY = 2 |
◆ PART_FILTER_MANSCORING_DONE
const ilLTIConsumerScoringGUI::PART_FILTER_MANSCORING_DONE = 4 |
◆ PART_FILTER_MANSCORING_NONE
const ilLTIConsumerScoringGUI::PART_FILTER_MANSCORING_NONE = 5 |
The documentation for this class was generated from the following file: