◆ __construct()
| ilObjQuestionPoolXMLParser::__construct |
( |
ilObjQuestionPool |
$poolOBJ, |
|
|
?string |
$xmlFile |
|
) |
| |
◆ handlerBeginTag()
| ilObjQuestionPoolXMLParser::handlerBeginTag |
( |
|
$xmlParser, |
|
|
|
$tagName, |
|
|
|
$tagAttributes |
|
) |
| |
Definition at line 59 of file class.ilObjQuestionPoolXMLParser.php.
63 $this->inMetaDataTag =
true;
67 if ($this->inMetaDataTag) {
68 $this->inMdGeneralTag =
true;
78 $this->inSettingsTag =
true;
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->title_processed) {
105 $this->poolOBJ->setTitle($this->cdata);
106 $this->title_processed =
true;
112 if (!$this->description_processed) {
113 $this->poolOBJ->setDescription($this->cdata);
114 $this->description_processed =
true;
120 $this->inSettingsTag =
false;
124 $this->poolOBJ->setSkillServiceEnabled((
bool) $this->cdata);
◆ setHandlers()
| ilObjQuestionPoolXMLParser::setHandlers |
( |
|
$a_xml_parser | ) |
|
Definition at line 52 of file class.ilObjQuestionPoolXMLParser.php.
54 xml_set_object($a_xml_parser, $this);
55 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
56 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
◆ $cdata
| string ilObjQuestionPoolXMLParser::$cdata = "" |
|
private |
◆ $description_processed
| bool ilObjQuestionPoolXMLParser::$description_processed = false |
|
private |
◆ $inMdGeneralTag
| ilObjQuestionPoolXMLParser::$inMdGeneralTag |
|
private |
◆ $inMetaDataTag
| ilObjQuestionPoolXMLParser::$inMetaDataTag |
|
private |
◆ $inSettingsTag
| ilObjQuestionPoolXMLParser::$inSettingsTag |
|
private |
◆ $poolOBJ
◆ $title_processed
| bool ilObjQuestionPoolXMLParser::$title_processed = false |
|
private |
The documentation for this class was generated from the following file: