85         $this->
ui = $DIC->ui();
   123         $elementList->completeContentsFromElementList(
   124             $question->getOrderingElementList()
   133             return parent::getInstanceId();
   262         $icon_name = 
'standard/icon_not_ok.svg';
   263         $label = $this->
lng->txt(
"answer_is_wrong");
   264         if ($correctness === 
'correct') {
   265             $icon_name = 
'standard/icon_ok.svg';
   266             $label = $this->
lng->txt(
"answer_is_right");
   269         $icon = $this->
ui->factory()->symbol()->icon()->custom(
   273         return $this->
ui->renderer()->render($icon);
   281         return new ilTemplate(
'tpl.prop_ass_nested_order_elem.html', 
true, 
true, 
'Modules/TestQuestionPool');
   308     protected function getItemHtml($element, $identifier, $position, $itemSubFieldPostVar, $itemSubFieldId): string
   316                 $tpl->setCurrentBlock(
'item_text');
   318                 $tpl->parseCurrentBlock();
   324                 $tpl->setCurrentBlock(
'item_image');
   327                 $tpl->parseCurrentBlock();
   332             $correctness = 
'not_correct';
   334                 $correctness = 
'correct';
   336             $tpl->setCurrentBlock(
'correctness_icon');
   339             $tpl->parseCurrentBlock();
   342         $tpl->setCurrentBlock(
'item');
   343         $tpl->setVariable(
"ITEM_ID", $itemSubFieldId);
   344         $tpl->setVariable(
"ITEM_POSTVAR", $itemSubFieldPostVar);
   346         $tpl->parseCurrentBlock();
   358         if (!isset($elementValues[$elementCounter])) {
   362         return $elementValues[$elementCounter][
'ordering_indentation'];
   372         if (!isset($elementValues[$elementCounter + 1])) {
   376         return $elementValues[$elementCounter + 1][
'ordering_indentation'];
   381         if (!is_array(
$data)) {
 
Abstract basic class which is to be extended by the concrete assessment question type classes...
 
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
static buildInstance(int $question_id, array $elements=[])
 
Provides fluid interface to RBAC services. 
 
getRandomIdentifierIndexedElements()