|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilTestResultsToXML:
Collaboration diagram for ilTestResultsToXML:Public Member Functions | |
| __construct (private readonly ilObjTest $test_obj, private readonly ilDBInterface $db, private readonly ResourceStorage $irss, private readonly ilObjUser $user, private readonly ilLanguage $lng, private string $objects_export_directory) | |
| isIncludeRandomTestQuestionsEnabled () | |
| setIncludeRandomTestQuestionsEnabled (bool $include_random_test_questions_enabled) | |
| getXML () | |
| xmlDumpMem (bool $format=true) | |
| Returns xml document from memory. More... | |
| xmlDumpFile (string $file, bool $format=true) | |
| Dumps xml document from memory into a file. More... | |
Public Member Functions inherited from ilXmlWriter | |
| __construct (string $version="1.0", string $outEnc="utf-8", string $inEnc="utf-8") | |
| xmlSetDtdDef (string $dtdDef) | |
| Sets dtd definition. More... | |
| xmlSetGenCmt (string $genCmt) | |
| Sets generated comment. More... | |
| xmlFormatData (string $data) | |
| Indents text for better reading. More... | |
| xmlHeader () | |
| Writes xml header. More... | |
| xmlStartTag (string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true) | |
| Writes a starttag. More... | |
| xmlEndTag (string $tag) | |
| Writes an endtag. More... | |
| xmlData (string $data, bool $encode=true, bool $escape=true) | |
| Writes data. More... | |
| xmlElement (string $tag, $attrs=null, $data=null, $encode=true, $escape=true) | |
| Writes a basic element (no children, just textual content) More... | |
| xmlDumpFile (string $file, bool $format=true) | |
| Dumps xml document from memory into a file. More... | |
| xmlDumpMem (bool $format=true) | |
| Returns xml document from memory. More... | |
| appendXML (string $a_str) | |
| append xml string to document More... | |
| xmlClear () | |
| clears xmlStr More... | |
Protected Member Functions | |
| exportActiveIDs () | |
| exportPassResult () | |
| exportResultCache () | |
| exportTestSequence () | |
| exportTestSolutions () | |
| exportRandomTestQuestions () | |
| exportTestResults () | |
| exportParticipantUploadedFiles (array $uploaded_files) | |
| exportTestTimes () | |
Protected Attributes | |
| bool | $include_random_test_questions_enabled = false |
Private Attributes | |
| array | $active_ids = [] |
Definition at line 23 of file class.ilTestResultsToXML.php.
| ilTestResultsToXML::__construct | ( | private readonly ilObjTest | $test_obj, |
| private readonly ilDBInterface | $db, | ||
| private readonly ResourceStorage | $irss, | ||
| private readonly ilObjUser | $user, | ||
| private readonly ilLanguage | $lng, | ||
| private string | $objects_export_directory | ||
| ) |
Definition at line 29 of file class.ilTestResultsToXML.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
protected |
Definition at line 50 of file class.ilTestResultsToXML.php.
References ILIAS\Repository\lng(), ilDBConstants\T_INTEGER, ILIAS\Repository\user(), 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 |
| array{value1 | string, value2: string} $uploaded_files |
Definition at line 227 of file class.ilTestResultsToXML.php.
References ilFileUtils\makeDirParents().
Referenced by exportTestResults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 92 of file class.ilTestResultsToXML.php.
References 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 175 of file class.ilTestResultsToXML.php.
References 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 113 of file class.ilTestResultsToXML.php.
References 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 197 of file class.ilTestResultsToXML.php.
References exportParticipantUploadedFiles(), assQuestion\instantiateQuestion(), 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 135 of file class.ilTestResultsToXML.php.
References 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 154 of file class.ilTestResultsToXML.php.
References 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 249 of file class.ilTestResultsToXML.php.
References 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 268 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 40 of file class.ilTestResultsToXML.php.
References $include_random_test_questions_enabled.
Referenced by getXML().
Here is the caller graph for this function:| ilTestResultsToXML::setIncludeRandomTestQuestionsEnabled | ( | bool | $include_random_test_questions_enabled | ) |
Definition at line 45 of file class.ilTestResultsToXML.php.
References $include_random_test_questions_enabled.
| ilTestResultsToXML::xmlDumpFile | ( | string | $file, |
| bool | $format = true |
||
| ) |
Dumps xml document from memory into a file.
Reimplemented from ilXmlWriter.
Definition at line 295 of file class.ilTestResultsToXML.php.
References getXML().
Here is the call graph for this function:| ilTestResultsToXML::xmlDumpMem | ( | bool | $format = true | ) |
Returns xml document from memory.
Reimplemented from ilXmlWriter.
Definition at line 289 of file class.ilTestResultsToXML.php.
References getXML().
Here is the call graph for this function:
|
private |
Definition at line 25 of file class.ilTestResultsToXML.php.
|
protected |
Definition at line 27 of file class.ilTestResultsToXML.php.
Referenced by isIncludeRandomTestQuestionsEnabled(), and setIncludeRandomTestQuestionsEnabled().