4 require_once
'Modules/Test/classes/class.ilTestSkillLevelThresholdImport.php';
5 require_once
'Modules/Test/classes/class.ilTestSkillLevelThresholdImportList.php';
74 $this->characterDataBuffer =
'';
82 $this->characterDataBuffer .= $characterData;
152 xml_set_object($xmlParser, $this);
153 xml_set_element_handler($xmlParser,
'handlerBeginTag',
'handlerEndTag');
154 xml_set_character_data_handler($xmlParser,
'handlerCharacterData');
159 if ($tagName !=
'SkillsLevelThresholds' && !$this->
isParsingActive()) {
164 case 'SkillsLevelThresholds':
169 case 'QuestionsAssignedSkill':
174 case 'OriginalSkillTitle':
178 case 'OriginalSkillPath':
184 $ilDB = $DIC[
'ilDB'];
188 $skillLevelThreshold->setImportLevelId($tagAttributes[
'Id']);
189 $skillLevelThreshold->setOrderIndex($tagAttributes[
'Nr']);
193 case 'ThresholdPercentage':
197 case 'OriginalLevelTitle':
201 case 'OriginalLevelDescription':
214 case 'SkillsLevelThresholds':
218 case 'QuestionsAssignedSkill':
223 case 'OriginalSkillTitle':
232 case 'OriginalSkillPath':
248 case 'ThresholdPercentage':
253 case 'OriginalLevelTitle':
258 case 'OriginalLevelDescription':
271 if ($charData !=
"\n") {
273 $charData = preg_replace(
"/\t+/",
" ", $charData);
handlerCharacterData($xmlParser, $charData)
appendToCharacterDataBuffer($characterData)
setCurSkillTrefId($curSkillTrefId)
getSkillLevelThresholdImportList()
getCurSkillLevelThreshold()
setParsingActive($parsingActive)
resetCharacterDataBuffer()
handlerBeginTag($xmlParser, $tagName, $tagAttributes)
setCurSkillBaseId($curSkillBaseId)
Base class for sax-based expat parsing extended classes need to overwrite the method setHandlers and ...
handlerEndTag($xmlParser, $tagName)
setCurSkillLevelThreshold($curSkillLevelThreshold)
$skillLevelThresholdImportList
initSkillLevelThresholdImportList()