|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Export class for tests. More...
Inheritance diagram for ilTestExport:
Collaboration diagram for ilTestExport:Public Member Functions | |
| __construct (public ilObjTest $test_obj, public string $mode="xml") | |
| isResultExportingEnabledForTestExport () | |
| setResultExportingEnabledForTestExport (bool $resultExprtingEnabledForTestExport) | |
| getForcedAccessFilteredParticipantList () | |
| setForcedAccessFilteredParticipantList (ilTestParticipantList $forcedAccessFilteredParticipantList) | |
| getAccessFilteredParticipantList () | |
| getExtension () | |
| getInstId () | |
| buildExportFile () | |
| buildExportResultFile () | |
| buildExportFileXML () | |
| exportXHTMLMediaObjects ($a_export_dir) | |
Protected Member Functions | |
| initXmlExport () | |
| getQuestionIds () | |
| populateQuestionSetConfigXml (ilXmlWriter $xmlWriter) | |
| getQtiXml () | |
| getQuestionsQtiXml () | |
| getQuestionQtiXml ($questionId) | |
| populateQuestionSkillAssignmentsXml (ilXmlWriter $a_xml_writer, ilAssQuestionSkillAssignmentList $assignmentList, array $questions) | |
| populateSkillLevelThresholdsXml (ilXmlWriter $a_xml_writer, ilAssQuestionSkillAssignmentList $assignmentList) | |
| buildQuestionSkillAssignmentList () | |
Protected Attributes | |
| bool | $resultExportingEnabledForTestExport = false |
| ilTestParticipantList | $forcedAccessFilteredParticipantList = null |
| ilBenchmark | $bench |
| ilErrorHandling | $err |
| ilDBInterface | $db |
| ILIAS | $ilias |
| string | $inst_id |
Private Attributes | |
| string | $export_dir |
| string | $subdir |
| string | $qti_filename |
| string | $filename |
| string | $resultsfile |
| ilXmlWriter | $xml |
| ilLanguage | $lng |
| ResourceStorage | $irss |
| ilTestExport::__construct | ( | public ilObjTest | $test_obj, |
| public string | $mode = "xml" |
||
| ) |
Definition at line 59 of file class.ilTestExport.php.
References $DIC, getExtension(), IL_INST_ID, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilTestExport::buildExportFile | ( | ) |
Definition at line 144 of file class.ilTestExport.php.
References buildExportFileXML(), and buildExportResultFile().
Here is the call graph for this function:| ilTestExport::buildExportFileXML | ( | ) |
Definition at line 190 of file class.ilTestExport.php.
References $db, $irss, buildQuestionSkillAssignmentList(), exportXHTMLMediaObjects(), getQtiXml(), getQuestionIds(), initXmlExport(), isResultExportingEnabledForTestExport(), ilFileUtils\makeDir(), populateQuestionSetConfigXml(), populateQuestionSkillAssignmentsXml(), populateSkillLevelThresholdsXml(), ilTestResultsToXML\setIncludeRandomTestQuestionsEnabled(), and ilFileUtils\zip().
Referenced by buildExportFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestExport::buildExportResultFile | ( | ) |
Definition at line 156 of file class.ilTestExport.php.
References $data, $filename, ilTestEvaluationData\FILTER_BY_NONE, getExtension(), getQuestionIds(), initXmlExport(), and ilFileUtils\makeDir().
Referenced by buildExportFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 365 of file class.ilTestExport.php.
Referenced by buildExportFileXML().
Here is the caller graph for this function:| ilTestExport::exportXHTMLMediaObjects | ( | $a_export_dir | ) |
Definition at line 315 of file class.ilTestExport.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), and getQuestionIds().
Referenced by buildExportFileXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestExport::getAccessFilteredParticipantList | ( | ) |
Definition at line 118 of file class.ilTestExport.php.
References getForcedAccessFilteredParticipantList().
Here is the call graph for this function:| ilTestExport::getExtension | ( | ) |
Definition at line 127 of file class.ilTestExport.php.
Referenced by __construct(), and buildExportResultFile().
Here is the caller graph for this function:| ilTestExport::getForcedAccessFilteredParticipantList | ( | ) |
Definition at line 108 of file class.ilTestExport.php.
References $forcedAccessFilteredParticipantList.
Referenced by getAccessFilteredParticipantList().
Here is the caller graph for this function:| ilTestExport::getInstId | ( | ) |
|
protected |
Definition at line 287 of file class.ilTestExport.php.
References getQuestionsQtiXml().
Referenced by buildExportFileXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
Referenced by buildExportFileXML(), buildExportResultFile(), and exportXHTMLMediaObjects().
Here is the caller graph for this function:
|
protected |
Definition at line 303 of file class.ilTestExport.php.
References $xml, and assQuestion\instantiateQuestion().
Referenced by ilTestExportFixedQuestionSet\getQuestionsQtiXml(), and ilTestExportRandomQuestionSet\getQuestionsQtiXml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
|
abstractprotected |
Referenced by buildExportFileXML(), and buildExportResultFile().
Here is the caller graph for this function:| ilTestExport::isResultExportingEnabledForTestExport | ( | ) |
Definition at line 98 of file class.ilTestExport.php.
References $resultExportingEnabledForTestExport.
Referenced by buildExportFileXML().
Here is the caller graph for this function:
|
abstractprotected |
|
protected |
Definition at line 338 of file class.ilTestExport.php.
Referenced by buildExportFileXML().
Here is the caller graph for this function:
|
protected |
Definition at line 350 of file class.ilTestExport.php.
Referenced by buildExportFileXML().
Here is the caller graph for this function:| ilTestExport::setForcedAccessFilteredParticipantList | ( | ilTestParticipantList | $forcedAccessFilteredParticipantList | ) |
Definition at line 113 of file class.ilTestExport.php.
References $forcedAccessFilteredParticipantList.
| ilTestExport::setResultExportingEnabledForTestExport | ( | bool | $resultExprtingEnabledForTestExport | ) |
Definition at line 103 of file class.ilTestExport.php.
|
protected |
Definition at line 50 of file class.ilTestExport.php.
|
protected |
Definition at line 53 of file class.ilTestExport.php.
Referenced by buildExportFileXML().
|
protected |
Definition at line 52 of file class.ilTestExport.php.
|
private |
Definition at line 38 of file class.ilTestExport.php.
|
private |
Definition at line 41 of file class.ilTestExport.php.
Referenced by buildExportResultFile().
|
protected |
Definition at line 49 of file class.ilTestExport.php.
Referenced by getForcedAccessFilteredParticipantList(), and setForcedAccessFilteredParticipantList().
|
protected |
Definition at line 54 of file class.ilTestExport.php.
|
protected |
Definition at line 56 of file class.ilTestExport.php.
Referenced by getInstId().
|
private |
Definition at line 57 of file class.ilTestExport.php.
Referenced by buildExportFileXML().
|
private |
Definition at line 45 of file class.ilTestExport.php.
|
private |
Definition at line 40 of file class.ilTestExport.php.
|
protected |
Definition at line 47 of file class.ilTestExport.php.
Referenced by isResultExportingEnabledForTestExport().
|
private |
Definition at line 42 of file class.ilTestExport.php.
|
private |
Definition at line 39 of file class.ilTestExport.php.
|
private |
Definition at line 44 of file class.ilTestExport.php.
Referenced by getQuestionQtiXml().