ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
service () | |
getQuestionDataArray ($parentObjectId) | |
getQuestionInstances ($parentObjectId) | |
getAuthoringCommandInstance ($questionInstance) | |
getQuestionPresentationInstance ($questionInstance, $renderPurpose) | |
getQuestionInstance ($questionId) | |
getEmptyQuestionInstance ($questionType) | |
getOfflineExportableQuestionInstance ($questionId, $a_image_path=null, $a_output_mode='presentation') | |
getQuestionOfflinePresentationExporter (ilAsqQuestion $offlineExportableQuestionInstance) | |
getQuestionResourcesCollector () | |
getQuestionSolutionInstance ($questionId, $solutionId) | |
getEmptyQuestionSolutionInstance ($questionId) | |
getResultCalculator (ilAsqQuestion $questionInstance, ilAsqQuestionSolution $solutionInstance) | |
Data Fields | |
const | RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
render purpose constants that are required to get corresponding presentation renderer More... | |
const | RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
const | RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
const | RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
const | RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
Definition at line 24 of file class.ilAsqFactory.php.
ilAsqFactory::getAuthoringCommandInstance | ( | $questionInstance | ) |
ilAsqQuestion | $questionInstance |
initialise $authoringGUI as an instance of the question type corresponding authoring class that implements ilAsqQuestionAuthoring depending on the given $questionInstance
Definition at line 85 of file class.ilAsqFactory.php.
References ilAsqQuestionAuthoring\setQuestion().
ilAsqFactory::getEmptyQuestionInstance | ( | $questionType | ) |
string | $questionId |
initialise $questionInstance as an instance of the question type corresponding object class that implements ilAsqQuestion depending on the given $questionType
Definition at line 150 of file class.ilAsqFactory.php.
ilAsqFactory::getEmptyQuestionSolutionInstance | ( | $questionId | ) |
integer | $questionId |
initialise $emptySolutionInstance as an instance of the question type corresponding object class that implements ilAsqQuestionSolution depending on the given $questionId
Definition at line 240 of file class.ilAsqFactory.php.
References ilAsqQuestionSolution\setQuestionId().
ilAsqFactory::getOfflineExportableQuestionInstance | ( | $questionId, | |
$a_image_path = null , |
|||
$a_output_mode = 'presentation' |
|||
) |
integer | $questionId |
initialise $questionInstance as an instance of the question type corresponding object class that implements ilAsqQuestion depending on the given $questionId
Definition at line 166 of file class.ilAsqFactory.php.
References ilAsqQuestion\setId().
ilAsqFactory::getQuestionDataArray | ( | $parentObjectId | ) |
integer | $parentObjectId |
TBD: Should we return an iterator with ilAsqQuestion instances? Issue: ilTable(2) does not support this kind object structure.
Definition at line 38 of file class.ilAsqFactory.php.
References $DIC, and ilAssQuestionList\setParentObjIdsFilter().
ilAsqFactory::getQuestionInstance | ( | $questionId | ) |
integer | $questionId |
initialise $questionInstance as an instance of the question type corresponding object class that implements ilAsqQuestion depending on the given $questionId
Definition at line 131 of file class.ilAsqFactory.php.
References ilAsqQuestion\setId().
Referenced by getQuestionInstances().
ilAsqFactory::getQuestionInstances | ( | $parentObjectId | ) |
integer | $parentObjectId |
Definition at line 61 of file class.ilAsqFactory.php.
References $DIC, getQuestionInstance(), and ilAssQuestionList\setParentObjIdsFilter().
ilAsqFactory::getQuestionOfflinePresentationExporter | ( | ilAsqQuestion | $offlineExportableQuestionInstance | ) |
ilAsqQuestion | $offlineExportableQuestionInstance |
initialise $qstOffPresentationExporter as an instance of the question type corresponding object class that implements ilAsqQuestionOfflinePresentationExporter depending on the given $offlineExportableQuestionInstance
Definition at line 188 of file class.ilAsqFactory.php.
ilAsqFactory::getQuestionPresentationInstance | ( | $questionInstance, | |
$renderPurpose | |||
) |
ilAsqQuestion | $questionInstance |
initialise $presentationGUI as an instance of the question type corresponding presentation class that implements ilAsqQuestionPresentation depending on the given $questionInstance and depending on the given render purpose.
Definition at line 112 of file class.ilAsqFactory.php.
References ilAsqQuestionPresentation\setQuestion().
ilAsqFactory::getQuestionResourcesCollector | ( | ) |
this collector is able to manage all kind resources that aredepencies for the offline presentation of a question (like js/css, media files, mobs).
Definition at line 206 of file class.ilAsqFactory.php.
ilAsqFactory::getQuestionSolutionInstance | ( | $questionId, | |
$solutionId | |||
) |
integer | $questionId | |
integer | $solutionId |
initialise $questionSolutionInstance as an instance of the question type corresponding object class that implements ilAsqQuestionSolution depending on the given $questionId and $solutionId
Definition at line 221 of file class.ilAsqFactory.php.
References ilAsqQuestionSolution\setQuestionId().
ilAsqFactory::getResultCalculator | ( | ilAsqQuestion | $questionInstance, |
ilAsqQuestionSolution | $solutionInstance | ||
) |
ilAsqQuestion | $questionInstance | |
ilAsqQuestionSolution | $solutionInstance |
initialise $resultCalculator as an instance of the question type corresponding object class that implements ilAsqResultCalculator depending on the given $questionInstance and $solutionInstance
Definition at line 259 of file class.ilAsqFactory.php.
References ilAsqResultCalculator\setQuestion().
ilAsqFactory::service | ( | ) |
Definition at line 29 of file class.ilAsqFactory.php.
const ilAsqFactory::RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
Definition at line 103 of file class.ilAsqFactory.php.
const ilAsqFactory::RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
Definition at line 106 of file class.ilAsqFactory.php.
const ilAsqFactory::RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
render purpose constants that are required to get corresponding presentation renderer
Definition at line 102 of file class.ilAsqFactory.php.
const ilAsqFactory::RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
Definition at line 104 of file class.ilAsqFactory.php.
const ilAsqFactory::RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
Definition at line 105 of file class.ilAsqFactory.php.