ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
|
Public Member Functions | |
__construct (?string $xmlFile) | |
isParsingActive () | |
setParsingActive (bool $parsingActive) | |
getCurQuestionId () | |
setCurQuestionId (?int $curQuestionId) | |
getCurAssignment () | |
setCurAssignment (?ilAssQuestionSkillAssignmentImport $curAssignment) | |
getAssignmentList () | |
getCurExpression () | |
setCurExpression (?ilAssQuestionSolutionComparisonExpressionImport $curExpression) | |
setHandlers ($a_xml_parser) | |
handlerBeginTag ($xmlParser, $tagName, $tagAttributes) | |
handlerEndTag ($xmlParser, $tagName) | |
handlerCharacterData ($xmlParser, $charData) | |
![]() | |
__construct (?string $path_to_file='', ?bool $throw_exception=false) | |
setXMLContent (string $a_xml_content) | |
getXMLContent () | |
getInputType () | |
startParsing () | |
stores xml data in array More... | |
createParser () | |
setHandlers ($a_xml_parser) | |
parse ($a_xml_parser, $a_fp=null) | |
Protected Member Functions | |
getCharacterDataBuffer () | |
resetCharacterDataBuffer () | |
appendToCharacterDataBuffer (string $characterData) | |
![]() | |
openXMLFile () | |
handleError (string $message) | |
setThrowException (bool $throw_exception) | |
Protected Attributes | |
$parsingActive | |
$characterDataBuffer | |
$curQuestionId | |
$curAssignment | |
$curExpression | |
$assignmentList | |
![]() | |
ilLanguage | $lng = null |
Additional Inherited Members | |
![]() | |
string | $xml_file |
bool | $throw_exception = false |
Definition at line 25 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
ilAssQuestionSkillAssignmentXmlParser::__construct | ( | ?string | $xmlFile | ) |
$xmlFile |
Definition at line 60 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References ILIAS\GlobalScreen\Provider\__construct(), and null.
|
protected |
Definition at line 94 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
Referenced by handlerCharacterData().
ilAssQuestionSkillAssignmentXmlParser::getAssignmentList | ( | ) |
Definition at line 119 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $assignmentList.
Referenced by handlerEndTag().
|
protected |
Definition at line 81 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $characterDataBuffer.
Referenced by handlerEndTag().
ilAssQuestionSkillAssignmentXmlParser::getCurAssignment | ( | ) |
Definition at line 109 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $curAssignment.
Referenced by handlerBeginTag(), and handlerEndTag().
ilAssQuestionSkillAssignmentXmlParser::getCurExpression | ( | ) |
Definition at line 124 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $curExpression.
Referenced by handlerEndTag().
ilAssQuestionSkillAssignmentXmlParser::getCurQuestionId | ( | ) |
Definition at line 99 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $curQuestionId.
Referenced by handlerBeginTag().
ilAssQuestionSkillAssignmentXmlParser::handlerBeginTag | ( | $xmlParser, | |
$tagName, | |||
$tagAttributes | |||
) |
Definition at line 140 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References ilAssQuestionSkillAssignment\EVAL_MODE_BY_QUESTION_RESULT, ilAssQuestionSkillAssignment\EVAL_MODE_BY_QUESTION_SOLUTION, getCurAssignment(), getCurQuestionId(), isParsingActive(), resetCharacterDataBuffer(), setCurAssignment(), setCurExpression(), setCurQuestionId(), and setParsingActive().
Referenced by setHandlers().
ilAssQuestionSkillAssignmentXmlParser::handlerCharacterData | ( | $xmlParser, | |
$charData | |||
) |
Definition at line 231 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References appendToCharacterDataBuffer(), and isParsingActive().
Referenced by setHandlers().
ilAssQuestionSkillAssignmentXmlParser::handlerEndTag | ( | $xmlParser, | |
$tagName | |||
) |
Definition at line 188 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References getAssignmentList(), getCharacterDataBuffer(), getCurAssignment(), getCurExpression(), isParsingActive(), null, resetCharacterDataBuffer(), setCurAssignment(), setCurExpression(), setCurQuestionId(), and setParsingActive().
Referenced by setHandlers().
ilAssQuestionSkillAssignmentXmlParser::isParsingActive | ( | ) |
Definition at line 71 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $parsingActive.
Referenced by handlerBeginTag(), handlerCharacterData(), and handlerEndTag().
|
protected |
string | $characterDataBuffer |
Definition at line 89 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
Referenced by handlerBeginTag(), and handlerEndTag().
ilAssQuestionSkillAssignmentXmlParser::setCurAssignment | ( | ?ilAssQuestionSkillAssignmentImport | $curAssignment | ) |
Definition at line 114 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $curAssignment.
Referenced by handlerBeginTag(), and handlerEndTag().
ilAssQuestionSkillAssignmentXmlParser::setCurExpression | ( | ?ilAssQuestionSolutionComparisonExpressionImport | $curExpression | ) |
Definition at line 129 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $curExpression.
Referenced by handlerBeginTag(), and handlerEndTag().
ilAssQuestionSkillAssignmentXmlParser::setCurQuestionId | ( | ?int | $curQuestionId | ) |
Definition at line 104 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References ILIAS\Repository\int().
Referenced by handlerBeginTag(), and handlerEndTag().
ilAssQuestionSkillAssignmentXmlParser::setHandlers | ( | $a_xml_parser | ) |
Definition at line 134 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References handlerBeginTag(), handlerCharacterData(), and handlerEndTag().
ilAssQuestionSkillAssignmentXmlParser::setParsingActive | ( | bool | $parsingActive | ) |
Definition at line 76 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
References $parsingActive.
Referenced by handlerBeginTag(), and handlerEndTag().
|
protected |
Definition at line 55 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
Referenced by getAssignmentList().
|
protected |
Definition at line 35 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
Referenced by getCharacterDataBuffer().
|
protected |
Definition at line 45 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
Referenced by getCurAssignment(), and setCurAssignment().
|
protected |
Definition at line 50 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
Referenced by getCurExpression(), and setCurExpression().
|
protected |
Definition at line 40 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
Referenced by getCurQuestionId().
|
protected |
Definition at line 30 of file class.ilAssQuestionSkillAssignmentXmlParser.php.
Referenced by isParsingActive(), and setParsingActive().