3 declare(strict_types=1);
    40     private \ILIAS\DI\Container 
$dic;
    50         bool $isMultiActorReport,
    52         bool $hasOutcomeAccess
    59         $this->
setId(self::TABLE_ID . $tableId);
    61         $this->_parent = $a_parent_obj;
    63         $DIC->language()->loadLanguageModule(
'assessment');
    65         $this->
setRowTemplate(
'tpl.cmix_scoring_table_row.html', 
'components/ILIAS/CmiXapi');
    67         if ($tableId === 
'highscore') {
    69                 sprintf($this->
language->txt(
'toplist_top_n_results'), $this->_parent->object->getHighscoreTopNum())
    92         if ($this->_parent->object->getHighscoreAchievedTS()) {
    96         if ($this->_parent->object->getHighscorePercentage()) {
   100         if ($this->_parent->object->getHighscoreWTime()) {
   105         $this->
setLimit($this->_parent->object->getHighscoreTopNum());
   108     protected function fillRow(array $a_set): void
   110         $this->tpl->setVariable(
'SCORE_RANK', $a_set[
'rank']);
   112         $this->tpl->setCurrentBlock(
'personal');
   113         $this->tpl->setVariable(
'SCORE_USER', $this->
getUsername($a_set));
   114         $this->tpl->parseCurrentBlock();
   116         if ($this->_parent->object->getHighscoreAchievedTS()) {
   117             $this->tpl->setCurrentBlock(
'achieved');
   118             $this->tpl->setVariable(
'SCORE_ACHIEVED', $a_set[
'date']);
   119             $this->tpl->parseCurrentBlock();
   122         if ($this->_parent->object->getHighscorePercentage()) {
   123             $this->tpl->setCurrentBlock(
'percentage');
   124             $this->tpl->setVariable(
'SCORE_PERCENTAGE', (
float) $a_set[
'score'] * 100);
   125             $this->tpl->parseCurrentBlock();
   128         if ($this->_parent->object->getHighscoreWTime()) {
   129             $this->tpl->setCurrentBlock(
'wtime');
   130             $this->tpl->setVariable(
'SCORE_DURATION', $a_set[
'duration']);
   131             $this->tpl->parseCurrentBlock();
   134         $highlight = $a_set[
'ilias_user_id'] == $this->dic->user()->getId() ? 
'tblrowmarked' : 
'';
   135         $this->tpl->setVariable(
'HIGHLIGHT', $highlight);
   146         if ($this->hasOutcomeAccess) {
   148                 return $user->getFullname();
   150             return $this->
language->txt(
'deleted_user');
   152             if ($user->getId() == $this->dic->user()->getId()) {
   153                 return $user->getFullname();
 
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. 
 
__construct(ilCmiXapiScoringGUI $a_parent_obj, string $a_parent_cmd, bool $isMultiActorReport, string $tableId, bool $hasOutcomeAccess)
ilCmiXapiScoringTableGUI constructor. 
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
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 
 
ilCmiXapiScoringGUI $_parent
 
setEnableNumInfo(bool $a_val)
 
__construct(Container $dic, ilPlugin $plugin)
 
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)
 
language()
 description: > Example for rendring a language glyph. 
 
setMaxCount(int $a_max_count)
set max. 
 
setExternalSegmentation(bool $a_val)