|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilSaxController:Public Member Functions | |
| setHandlers ($a_xml_parser) | |
| Set handlers. More... | |
| setDefaultElementHandler (ilSaxSubsetParser $a_default_parser) | |
| Set default element handler. More... | |
| setElementHandler (ilSaxSubsetParser $a_parser, string $a_element) | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| default handlerBeginTag More... | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| handler for end of element More... | |
| handlerCharacterData ( $a_xml_parser, string $a_data) | |
| handler for character data More... | |
Protected Attributes | |
| ilSaxSubsetParser | $default_handler = null |
| array | $element_handlers = [] |
| array | $handlers_in_use = [] |
| $handler_in_use = null | |
| ilSaxSubsetParser | $current_handler |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Controller class for sax element handlers. Could be used to split the xml handling in different responsible classes. Use the methods addElementHandler, addDefaultElementHandler
Definition at line 26 of file class.ilSaxController.php.
| ilSaxController::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
default handlerBeginTag
@access public
| resource | $a_xml_parser | xml parser |
| string | $a_name | element name |
| array | $a_attribs | element attributes array |
Definition at line 74 of file class.ilSaxController.php.
References $default_handler, $handler_in_use, and ilSaxSubsetParser\handlerBeginTag().
Referenced by setHandlers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSaxController::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
handler for character data
| resource | $a_xml_parser | xml parser |
| string | $a_data | character data |
Definition at line 120 of file class.ilSaxController.php.
Referenced by setHandlers().
Here is the caller graph for this function:| ilSaxController::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
handler for end of element
| resource | $a_xml_parser | xml parser |
| string | $a_name | element name |
Definition at line 97 of file class.ilSaxController.php.
References $default_handler, $handler_in_use, and ilSaxSubsetParser\handlerEndTag().
Referenced by setHandlers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSaxController::setDefaultElementHandler | ( | ilSaxSubsetParser | $a_default_parser | ) |
Set default element handler.
Definition at line 51 of file class.ilSaxController.php.
| ilSaxController::setElementHandler | ( | ilSaxSubsetParser | $a_parser, |
| string | $a_element | ||
| ) |
| ilSaxSubsetParser | $a_parser | object that parses the xmlsubset must implement interface ilSaxSubsetParser |
| string | $a_element | element name that triggers the handler |
Definition at line 60 of file class.ilSaxController.php.
| ilSaxController::setHandlers | ( | $a_xml_parser | ) |
Set handlers.
| resource | xml_parser instance |
Definition at line 42 of file class.ilSaxController.php.
References handlerBeginTag(), handlerCharacterData(), and handlerEndTag().
Here is the call graph for this function:
|
protected |
Definition at line 35 of file class.ilSaxController.php.
|
protected |
Definition at line 28 of file class.ilSaxController.php.
Referenced by handlerBeginTag(), and handlerEndTag().
|
protected |
Definition at line 29 of file class.ilSaxController.php.
|
protected |
Definition at line 34 of file class.ilSaxController.php.
Referenced by handlerBeginTag(), and handlerEndTag().
|
protected |
Definition at line 30 of file class.ilSaxController.php.