38        $this->
setId(
'qst_usage_' . $question->
getId());
 
   41        $this->
setRowTemplate(
'tpl.il_as_qpl_question_cumulated_stats_table_row.html', 
'Modules/TestQuestionPool');
 
   47        $this->
setTitle($this->
lng->txt(
'question_cumulated_statistics'));
 
   74        $total_of_answers = $this->question->getTotalAnswers();
 
   76        if ($total_of_answers) {
 
   78                'result' => $this->
lng->txt(
'qpl_assessment_total_of_answers'),
 
   79                'value' => $total_of_answers,
 
   84                'result' => $this->
lng->txt(
'qpl_assessment_total_of_right_answers'),
 
  101        if (
'value' == $a_field) {
 
  113        $this->tpl->setVariable(
'VAL_RESULT', $a_set[
'result']);
 
  114        $this->tpl->setVariable(
'VAL_VALUE', $a_set[
'is_percent'] ? sprintf(
"%2.2f", $a_set[
'value'])
 
  115                                                                  . 
' %' : $a_set[
'value']);
 
Abstract basic class which is to be extended by the concrete assessment question type classes.
 
static _getTotalRightAnswers(int $a_q_id)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct($controller, $cmd, $template_context, assQuestion $question)
 
numericOrdering(string $a_field)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setLimit(int $a_limit=0, int $a_default_limit=0)
set max.
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
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)
 
setDefaultOrderField(string $a_defaultorderfield)
 
setNoEntriesText(string $a_text)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
setData(array $a_data)
Set table data.
 
disable(string $a_module_name)
 
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc