ILIAS
release_8 Revision v8.23
|
For components that needs to integrate the assessment question service in the way, that questions act as independent assessment items client side, the former implementation is mostly kept but has been moved to the assessment question service. More...
Public Member Functions | |
__construct () | |
exPageContentQuestions constructor. More... | |
getQuestionOfflinePresentations ($a_no_interaction, $a_mode) | |
Protected Attributes | |
$qstResourcesCollector | |
For components that needs to integrate the assessment question service in the way, that questions act as independent assessment items client side, the former implementation is mostly kept but has been moved to the assessment question service.
Future visions tries to unify the assessment and the offline presentation like known from the learning module, but up to now there is no technical concept available. Existing visions for feature requests to support offline and/or cached test scenarios will address the requirement of a presentation implementation that acts similar to the presentation in the learning module, but connected to a qualified ajax backend for solution submissions.
Definition at line 14 of file class.exPageContentQuestions.php.
exPageContentQuestions::__construct | ( | ) |
exPageContentQuestions constructor.
Definition at line 24 of file class.exPageContentQuestions.php.
References $DIC.
exPageContentQuestions::getQuestionOfflinePresentations | ( | $a_no_interaction, | |
$a_mode | |||
) |
$a_no_interaction | // enables a kind of preview mode |
$a_mode | // currently required by content pages |
the current integration of questions in e.g. the learning module stores question references containing the instId and the qstId
the consumer of offline question presentation currently needs to control the path for question resources like media files or mobs
the actual rendering of the question depends on an ilAsqQuestionInstance that got correctly configured. therefore the question instance is build by a corresponding ilAsqFactory method
the exporter for the question offline presentation can be requested from the ilAsqFactory
the ilAsqQuestionOfflinePresentationExporter returns a renderable component.
an instance of ilAsqQuestionResourcesCollector needs to be injected that collects all kind resources the consumer needs to organize for the offline presentation. (js/css files, media files, mobs)
Definition at line 36 of file class.exPageContentQuestions.php.
References $DIC, and ilInternalLink\_extractObjIdOfTarget().
|
protected |
Definition at line 19 of file class.exPageContentQuestions.php.