| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Inheritance diagram for ilTestResultsToXML:
 Collaboration diagram for ilTestResultsToXML:Public Member Functions | |
| __construct (private int $test_id, private ilDBInterface $db, private ResourceStorage $irss, private string $objects_export_directory, private bool $anonymized=false,) | |
| isIncludeRandomTestQuestionsEnabled () | |
| setIncludeRandomTestQuestionsEnabled (bool $include_random_test_questions_enabled) | |
| getXML () | |
| xmlDumpMem (bool $format=true) | |
| xmlDumpFile (string $file, bool $format=true) | |
  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 | |
| $active_ids | |
Definition at line 23 of file class.ilTestResultsToXML.php.
| ilTestResultsToXML::__construct | ( | private int | $test_id, | 
| private ilDBInterface | $db, | ||
| private ResourceStorage | $irss, | ||
| private string | $objects_export_directory, | ||
| private bool | $anonymized = false  | 
        ||
| ) | 
Definition at line 29 of file class.ilTestResultsToXML.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 49 of file class.ilTestResultsToXML.php.
References 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 | 
| array{value1 | string, value2: string} $uploaded_files | 
Definition at line 231 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 96 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 179 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 117 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 201 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 139 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 158 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 253 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 272 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 39 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 44 of file class.ilTestResultsToXML.php.
References $include_random_test_questions_enabled.
Referenced by ilTestExport\buildExportFileXML().
 Here is the caller graph for this function:| ilTestResultsToXML::xmlDumpFile | ( | string | $file, | 
| bool | $format = true  | 
        ||
| ) | 
Definition at line 299 of file class.ilTestResultsToXML.php.
References getXML().
 Here is the call graph for this function:| ilTestResultsToXML::xmlDumpMem | ( | bool | $format = true | ) | 
Definition at line 293 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().