| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Controller class for sax element handlers. 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 | 
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 23 of file class.ilSaxController.php.
| ilSaxController::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) | 
default handlerBeginTag
public
| resource | $a_xml_parser | xml parser | 
| string | $a_name | element name | 
| array | $a_attribs | element attributes array | 
Definition at line 72 of file class.ilSaxController.php.
References $default_handler, $handler_in_use, and ilSaxSubsetParser\handlerBeginTag().
 Here is the call 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 118 of file class.ilSaxController.php.
| 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 95 of file class.ilSaxController.php.
References $default_handler, $handler_in_use, and ilSaxSubsetParser\handlerEndTag().
 Here is the call graph for this function:| ilSaxController::setDefaultElementHandler | ( | ilSaxSubsetParser | $a_default_parser | ) | 
Set default element handler.
Definition at line 49 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 58 of file class.ilSaxController.php.
| ilSaxController::setHandlers | ( | $a_xml_parser | ) | 
Set handlers.
| resource | xml_parser instance | 
Definition at line 39 of file class.ilSaxController.php.
      
  | 
  protected | 
Definition at line 32 of file class.ilSaxController.php.
      
  | 
  protected | 
Definition at line 25 of file class.ilSaxController.php.
Referenced by handlerBeginTag(), and handlerEndTag().
      
  | 
  protected | 
Definition at line 26 of file class.ilSaxController.php.
      
  | 
  protected | 
Definition at line 31 of file class.ilSaxController.php.
Referenced by handlerBeginTag(), and handlerEndTag().
      
  | 
  protected | 
Definition at line 27 of file class.ilSaxController.php.