19declare(strict_types=1);
64 $this->character_data_buffer =
'';
69 $this->character_data_buffer .= $characterData;
120 case 'SkillAssignments':
124 case 'TriggerQuestion':
128 case 'TriggeredSkill':
131 $assignment->setImportSkillBaseId((
int) $tag_attributes[
'BaseId']);
132 $assignment->setImportSkillTrefId((
int) $tag_attributes[
'TrefId']);
133 $assignment->initImportSolutionComparisonExpressionList();
137 case 'OriginalSkillPath':
138 case 'OriginalSkillTitle':
142 case 'EvalByQuestionResult':
147 case 'EvalByQuestionSolution':
151 case 'SolutionComparisonExpression':
153 $expression->setPoints((
int) $tag_attributes[
'Points']);
154 $expression->setOrderIndex((
int) $tag_attributes[
'Index']);
168 case 'SkillAssignments':
172 case 'TriggerQuestion':
176 case 'TriggeredSkill':
181 case 'OriginalSkillTitle':
186 case 'OriginalSkillPath':
191 case 'EvalByQuestionSolution':
192 case 'EvalByQuestionResult':
195 case 'SolutionComparisonExpression':
210 if ($char_data !==
"\n") {
__construct(?string $xml_file)
setCurExpression(?ilAssQuestionSolutionComparisonExpressionImport $cur_expression)
handlerBeginTag($xml_parser, $tag_name, $tag_attributes)
handlerEndTag($xml_parser, $tag_name)
setCurAssignment(?ilAssQuestionSkillAssignmentImport $cur_assignment)
ilAssQuestionSkillAssignmentImportList $assignment_list
appendToCharacterDataBuffer(string $characterData)
ilAssQuestionSkillAssignmentImport $cur_assignment
handlerCharacterData($xml_parser, $char_data)
setHandlers($a_xml_parser)
resetCharacterDataBuffer()
string $character_data_buffer
setParsingActive(bool $parsing_active)
ilAssQuestionSolutionComparisonExpressionImport $cur_expression
setCurQuestionid(?int $cur_question_id)
const string EVAL_MODE_BY_QUESTION_SOLUTION
const string EVAL_MODE_BY_QUESTION_RESULT
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc