Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
XMLParserHandler Class Reference
Inheritance diagram for XMLParserHandler:
XMLParserDOMHandler ONIXParserDOMHandler

Public Member Functions

 characterData ($parser, $data)
 
 endElement ($parser, $tag)
 
 getResult ()
 
 startElement ($parser, $tag, $attributes)
 

Detailed Description

Interface for handler class used by XMLParser. All XML parser handler classes must implement these methods.

Definition at line 308 of file XMLParser.inc.php.

Member Function Documentation

XMLParserHandler::characterData (   $parser,
  $data 
)

Callback function to act as the character data handler.

Parameters
$parserXMLParser
$datastring

Definition at line 332 of file XMLParser.inc.php.

XMLParserHandler::endElement (   $parser,
  $tag 
)

Callback function to act as the end element handler.

Parameters
$parserXMLParser
$tagstring

Definition at line 324 of file XMLParser.inc.php.

XMLParserHandler::getResult ( )

Returns a resulting data structure representing the parsed content. The format of this object is specific to the handler.

Returns
mixed

Definition at line 340 of file XMLParser.inc.php.

XMLParserHandler::startElement (   $parser,
  $tag,
  $attributes 
)

Callback function to act as the start element handler.

Parameters
$parserXMLParser
$tagstring
$attributesarray

Definition at line 316 of file XMLParser.inc.php.


The documentation for this class was generated from the following file: