|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Test results to XML class. More...
Inheritance diagram for ilTestResultsToXML:
Collaboration diagram for ilTestResultsToXML:Public Member Functions | |
| __construct ($test_id, $anonymized=false) | |
| isIncludeRandomTestQuestionsEnabled () | |
| setIncludeRandomTestQuestionsEnabled ($includeRandomTestQuestionsEnabled) | |
| getXML () | |
| xmlDumpMem ($format=true) | |
| Returns xml document from memory. More... | |
| xmlDumpFile ($file, $format=true) | |
| Dumps xml document from memory into a file. More... | |
Public Member Functions inherited from ilXmlWriter | |
| __construct ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
| constructor More... | |
| _ilXmlWriter () | |
| destructor @access public More... | |
| xmlSetDtdDef ($dtdDef) | |
| Sets dtd definition. More... | |
| xmlSetStSheet ($stSheet) | |
| Sets stylesheet. More... | |
| xmlSetGenCmt ($genCmt) | |
| Sets generated comment. More... | |
| xmlEncodeData ($data) | |
| Encodes text from input encoding into output encoding. More... | |
| xmlFormatData ($data) | |
| Indents text for better reading. More... | |
| xmlFormatElement ($array) | |
| Callback function for xmlFormatData; do not invoke directly. More... | |
| xmlHeader () | |
| Writes xml header @access public. More... | |
| xmlStartTag ($tag, $attrs=null, $empty=false, $encode=true, $escape=true) | |
| Writes a starttag. More... | |
| xmlEndTag ($tag) | |
| Writes an endtag. More... | |
| xmlComment ($comment) | |
| Writes a comment. More... | |
| xmlData ($data, $encode=true, $escape=true) | |
| Writes data. More... | |
| xmlElement ($tag, $attrs=null, $data=null, $encode=true, $escape=true) | |
| Writes a basic element (no children, just textual content) More... | |
| xmlDumpFile ($file, $format=true) | |
| Dumps xml document from memory into a file. More... | |
| xmlDumpMem ($format=true) | |
| Returns xml document from memory. More... | |
| appendXML ($a_str) | |
| append xml string to document More... | |
| xmlClear () | |
| clears xmlStr @access public More... | |
Protected Member Functions | |
| exportActiveIDs () | |
| exportPassResult () | |
| exportResultCache () | |
| exportTestSequence () | |
| exportTestSolutions () | |
| exportRandomTestQuestions () | |
| exportTestResults () | |
| exportTestTimes () | |
Protected Attributes | |
| $includeRandomTestQuestionsEnabled = false | |
Private Attributes | |
| $test_id = 0 | |
| $anonymized = false | |
| $active_ids | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlWriter | |
| static | _xmlEscapeData ($data) |
| Escapes reserved characters. More... | |
Data Fields inherited from ilXmlWriter | |
| $xmlStr | |
| $version | |
| $outEnc | |
| $inEnc | |
| $dtdDef = "" | |
| $stSheet = "" | |
| $genCmt = "Generated by ILIAS XmlWriter" | |
| ilTestResultsToXML::__construct | ( | $test_id, | |
$anonymized = false |
|||
| ) |
Definition at line 21 of file class.ilTestResultsToXML.php.
References $anonymized, $test_id, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
protected |
Definition at line 44 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $ilSetting, $result, ilObjTestAccess\_getParticipantData(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 96 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, $result, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 191 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $result, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 120 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, $result, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 216 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, $result, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 145 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, $result, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 167 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, $result, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 239 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, $result, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestResultsToXML::getXML | ( | ) |
Definition at line 261 of file class.ilTestResultsToXML.php.
References exportActiveIDs(), exportPassResult(), exportRandomTestQuestions(), exportResultCache(), exportTestResults(), exportTestSequence(), exportTestSolutions(), exportTestTimes(), isIncludeRandomTestQuestionsEnabled(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
Referenced by xmlDumpFile(), and xmlDumpMem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestResultsToXML::isIncludeRandomTestQuestionsEnabled | ( | ) |
Definition at line 31 of file class.ilTestResultsToXML.php.
References $includeRandomTestQuestionsEnabled.
Referenced by getXML().
Here is the caller graph for this function:| ilTestResultsToXML::setIncludeRandomTestQuestionsEnabled | ( | $includeRandomTestQuestionsEnabled | ) |
| boolean | $includeRandomTestQuestionsEnabled |
Definition at line 39 of file class.ilTestResultsToXML.php.
References $includeRandomTestQuestionsEnabled.
| ilTestResultsToXML::xmlDumpFile | ( | $file, | |
$format = true |
|||
| ) |
Dumps xml document from memory into a file.
| string | file name (full path) |
| boolean | indent text (TRUE) or not (FALSE) @access public |
Reimplemented from ilXmlWriter.
Definition at line 288 of file class.ilTestResultsToXML.php.
References $format, and getXML().
Here is the call graph for this function:| ilTestResultsToXML::xmlDumpMem | ( | $format = true | ) |
Returns xml document from memory.
| boolean | indent text (TRUE) or not (FALSE) |
Reimplemented from ilXmlWriter.
Definition at line 282 of file class.ilTestResultsToXML.php.
References $format, and getXML().
Here is the call graph for this function:
|
private |
Definition at line 17 of file class.ilTestResultsToXML.php.
|
private |
Definition at line 16 of file class.ilTestResultsToXML.php.
Referenced by __construct().
|
protected |
Definition at line 19 of file class.ilTestResultsToXML.php.
Referenced by isIncludeRandomTestQuestionsEnabled(), and setIncludeRandomTestQuestionsEnabled().
|
private |
Definition at line 15 of file class.ilTestResultsToXML.php.
Referenced by __construct().