43 $component_repository = $DIC[
'component.repository'];
45 $list =
new ilAssQuestionList($DIC->database(), $DIC->language(), $DIC->refinery(), $component_repository);
49 return $list->getQuestionDataArray();
66 $component_repository = $DIC[
'component.repository'];
68 $list =
new ilAssQuestionList($DIC->database(), $DIC->language(), $DIC->refinery(), $component_repository);
72 $questionInstances = array();
74 foreach ($list->getQuestionDataArray() as $questionId => $questionData) {
78 return $questionInstances;
124 return $presentationGUI;
140 $questionInstance->
setId($questionId);
141 $questionInstance->load();
143 return $questionInstance;
159 return $questionInstance;
175 $questionInstance->
setId($questionId);
176 $questionInstance->load();
178 $questionInstance->setOfflineExportImagePath($a_image_path);
179 $questionInstance->setOfflineExportPagePresentationMode($a_output_mode);
181 return $questionInstance;
190 $qstOffPresentationExporter;
198 $qstOffPresentationExporter->setQuestion($offlineExportableQuestionInstance);
200 return $qstOffPresentationExporter;
223 $questionSolutionInstance;
230 $questionSolutionInstance->setSolutionId($solutionId);
231 $questionSolutionInstance->load();
233 return $questionSolutionInstance;
242 $emptySolutionInstance;
251 return $emptySolutionInstance;
269 $resultCalculator->setSolution($solutionInstance);
271 return $resultCalculator;
getOfflineExportableQuestionInstance($questionId, $a_image_path=null, $a_output_mode='presentation')
getEmptyQuestionInstance($questionType)
setQuestionId($questionId)
getResultCalculator(ilAsqQuestion $questionInstance, ilAsqQuestionSolution $solutionInstance)
getQuestionDataArray($parentObjectId)
getQuestionInstance($questionId)
setQuestion(ilAsqQuestion $question)
getQuestionInstances($parentObjectId)
setQuestion(ilAsqQuestion $question)
setQuestion(ilAsqQuestion $question)
getAuthoringCommandInstance($questionInstance)
getQuestionSolutionInstance($questionId, $solutionId)
const RENDER_PURPOSE_PLAYBACK
render purpose constants that are required to get corresponding presentation renderer ...
getQuestionOfflinePresentationExporter(ilAsqQuestion $offlineExportableQuestionInstance)
getQuestionPresentationInstance($questionInstance, $renderPurpose)
const RENDER_PURPOSE_PREVIEW
getQuestionResourcesCollector()
getEmptyQuestionSolutionInstance($questionId)
const RENDER_PURPOSE_DEMOPLAY
setParentObjIdsFilter($parentObjIdsFilter)
const RENDER_PURPOSE_INPUT_VALUE
const RENDER_PURPOSE_PRINT_PDF