3 declare(strict_types=1);
    56         $this->
setId(self::TABLE_ID . $tableId);
    58         $this->_parent = $a_parent_obj;
    60         $DIC->language()->loadLanguageModule(
'assessment');
    62         $this->
setRowTemplate(
'tpl.lti_consumer_scoring_table_row.html', 
'Modules/LTIConsumer');
    64         if ($tableId === 
'highscore') {
    67                     $DIC->language()->txt(
'toplist_top_n_results'),
    68                     $this->_parent->getObject()->getHighscoreTopNum()
    72             $this->
setTitle($DIC->language()->txt(
'toplist_your_result'));
    91         $this->
addColumn($DIC->language()->txt(
'toplist_col_rank'));
    92         $this->
addColumn($DIC->language()->txt(
'toplist_col_participant'));
    94         if ($this->_parent->getObject()->getHighscoreAchievedTS()) {
    95             $this->
addColumn($DIC->language()->txt(
'toplist_col_achieved'));
    98         if ($this->_parent->getObject()->getHighscorePercentage()) {
    99             $this->
addColumn($DIC->language()->txt(
'toplist_col_percentage'));
   102         if ($this->_parent->getObject()->getHighscoreWTime()) {
   103             $this->
addColumn($DIC->language()->txt(
'toplist_col_wtime'));
   107         $this->
setLimit($this->_parent->getObject()->getHighscoreTopNum());
   110     protected function fillRow(array $a_set): void
   114         $this->tpl->setVariable(
'SCORE_RANK', $a_set[
'rank']);
   116         $this->tpl->setCurrentBlock(
'personal');
   117         $this->tpl->setVariable(
'SCORE_USER', $this->
getUsername($a_set));
   118         $this->tpl->parseCurrentBlock();
   120         if ($this->_parent->getObject()->getHighscoreAchievedTS()) {
   121             $this->tpl->setCurrentBlock(
'achieved');
   122             $this->tpl->setVariable(
'SCORE_ACHIEVED', $a_set[
'date']);
   123             $this->tpl->parseCurrentBlock();
   127         if ($this->_parent->getObject()->getHighscorePercentage()) {
   128             $this->tpl->setCurrentBlock(
'percentage');
   129             $this->tpl->setVariable(
'SCORE_PERCENTAGE', (
float) $a_set[
'score'] * 100);
   130             $this->tpl->parseCurrentBlock();
   133         if ($this->_parent->getObject()->getHighscoreWTime()) {
   134             $this->tpl->setCurrentBlock(
'wtime');
   135             $this->tpl->setVariable(
'SCORE_DURATION', $a_set[
'duration']);
   136             $this->tpl->parseCurrentBlock();
   139         $highlight = $a_set[
'ilias_user_id'] == $DIC->user()->getId() ? 
'tblrowmarked' : 
'';
   140         $this->tpl->setVariable(
'HIGHLIGHT', $highlight);
   147         if ($this->hasOutcomeAccess) {
   151                 return $user->getFullname();
   154             return $DIC->language()->txt(
'deleted_user');
   157         return $data[
'user'];
 ilLTIConsumerScoringGUI $_parent
 
resetOffset(bool $a_in_determination=false)
 
setExternalSorting(bool $a_val)
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
__construct(ilLTIConsumerScoringGUI $a_parent_obj, string $a_parent_cmd, bool $isMultiActorReport, string $tableId, bool $hasOutcomeAccess)
ilLTIConsumerScoringTableGUI constructor. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id 
 
setEnableNumInfo(bool $a_val)
 
setLimit(int $a_limit=0, int $a_default_limit=0)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
setMaxCount(int $a_max_count)
set max. 
 
setExternalSegmentation(bool $a_val)