Class XmlHandler
Object
|
--XmlHandler
Classes extended from XmlHandler:
Location: Program_Root/xml/XmlHandler.php
A universal xml handler for parsed XML data. All of these methods are actually imported at the end of
the file, making them globally avaiable throughout the file.
The only thing this file will do when called is redisplay the xml file to the browser, making the full,
dull, pointless loop from XML->PHP->XML. It is only meant as an example of what to do with an XML
Handler class. The best move would be to chance the bodies of these functions to work with databases,
or open files, or authenticate... whatever you want.
- Package:
xml
- Matrix:
Whoa! You scared the be-jesus out of me
- Since:
Japha 1.0
@
- Author:
Ryan Gantt
@
Class Variable Summary
Inherited Class Variable Summary
Method Summary
Inherited Method Summary
Inherited From Class Object
Variable Detail
Method Detail
- void characterData()
Usage: characterData ( $parser, $data )
This method is called when the parser encounters character data within the opening and closing
xml element tags
Parameters
- parser $parser - the parser object
@
- data $data - the character data to parse
Info
- void endElement()
Usage: endElement ( $parser, $name )
This method is called when the parser encounters a closing element tag
Parameters
- parser $parser - the parser object
@
- name $name - the name of the element to close
Info
- void startElement()
Usage: startElement ( $parser, $name, $attribs )
This method is called when the parser encounters an openeing element tag
Parameters
- parser $parser - the parser object
@
- name $name - the name of the element
@
- attribs $attribs - an array of attributes for the element
Info