◆ __construct()
ilObjQuestionPoolXMLParser::__construct |
( |
ilObjQuestionPool |
$poolOBJ, |
|
|
?string |
$xmlFile |
|
) |
| |
◆ handlerBeginTag()
ilObjQuestionPoolXMLParser::handlerBeginTag |
( |
|
$xmlParser, |
|
|
|
$tagName, |
|
|
|
$tagAttributes |
|
) |
| |
Definition at line 57 of file class.ilObjQuestionPoolXMLParser.php.
61 $this->inMetaDataTag =
true;
65 if ($this->inMetaDataTag) {
66 $this->inMdGeneralTag =
true;
71 if ($this->inMetaDataTag && $this->inMdGeneralTag) {
77 $this->inSettingsTag =
true;
80 case 'ShowTaxonomies':
83 if ($this->inSettingsTag) {
◆ handlerCharacterData()
ilObjQuestionPoolXMLParser::handlerCharacterData |
( |
|
$xmlParser, |
|
|
|
$charData |
|
) |
| |
◆ handlerEndTag()
ilObjQuestionPoolXMLParser::handlerEndTag |
( |
|
$xmlParser, |
|
|
|
$tagName |
|
) |
| |
Definition at line 90 of file class.ilObjQuestionPoolXMLParser.php.
94 $this->inMetaDataTag =
false;
98 if ($this->inMetaDataTag) {
99 $this->inMdGeneralTag =
false;
104 if ($this->inMetaDataTag && $this->inMdGeneralTag && !$this->descriptionProcessed) {
105 $this->poolOBJ->setDescription($this->cdata);
106 $this->descriptionProcessed =
true;
112 $this->inSettingsTag =
false;
115 case 'ShowTaxonomies':
116 $this->poolOBJ->setShowTaxonomies((
bool) $this->cdata);
121 $this->poolOBJ->setNavTaxonomyId((
int) $this->cdata);
126 $this->poolOBJ->setSkillServiceEnabled((
bool) $this->cdata);
◆ setHandlers()
ilObjQuestionPoolXMLParser::setHandlers |
( |
|
$a_xml_parser | ) |
|
Definition at line 50 of file class.ilObjQuestionPoolXMLParser.php.
52 xml_set_object($a_xml_parser, $this);
53 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
54 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
◆ $cdata
string ilObjQuestionPoolXMLParser::$cdata = "" |
|
private |
◆ $descriptionProcessed
bool ilObjQuestionPoolXMLParser::$descriptionProcessed = false |
|
private |
◆ $inMdGeneralTag
ilObjQuestionPoolXMLParser::$inMdGeneralTag |
|
private |
◆ $inMetaDataTag
ilObjQuestionPoolXMLParser::$inMetaDataTag |
|
private |
◆ $inSettingsTag
ilObjQuestionPoolXMLParser::$inSettingsTag |
|
private |
◆ $poolOBJ
The documentation for this class was generated from the following file: