Liste de tous les membres
Fonctions membres publiques
- parse (&$myXMLDoc, $xmlText, $preserveCDATA=true)
- parseSAXY (&$myXMLDoc, $xmlText, $preserveCDATA, $definedEntities)
- dumpTextNode ()
- startElement (&$parser, $name, $attrs)
- endElement (&$parser, $name)
- dataElement (&$parser, $data)
- cdataElement (&$parser, $data)
- defaultDataElement (&$parser, $data)
Attributs publics
Documentation des fonctions membres
DOMIT_Lite_Parser::cdataElement |
( |
&$ |
parser, |
|
|
$ |
data |
|
) |
| |
Catches a CDATA Section event and processes the text
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The current text data |
Références $currentNode, et $data.
DOMIT_Lite_Parser::dataElement |
( |
&$ |
parser, |
|
|
$ |
data |
|
) |
| |
Catches a data event and processes the text
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The current text data |
Références $data.
DOMIT_Lite_Parser::defaultDataElement |
( |
&$ |
parser, |
|
|
$ |
data |
|
) |
| |
Catches a default data event and processes the data
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The current data |
Références $currentNode, $data, et dumpTextNode().
DOMIT_Lite_Parser::dumpTextNode |
( |
| ) |
|
DOMIT_Lite_Parser::endElement |
( |
&$ |
parser, |
|
|
$ |
name |
|
) |
| |
Catches an end element event and processes the data
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The tag name of the current element |
Références dumpTextNode().
DOMIT_Lite_Parser::parse |
( |
&$ |
myXMLDoc, |
|
|
$ |
xmlText, |
|
|
$ |
preserveCDATA = true |
|
) |
| |
Parses xml text using Expat
- Paramètres:
-
Object | A reference to the DOM document that the xml is to be parsed into |
string | The text to be parsed |
boolean | True if CDATA Section nodes are not to be converted into Text nodes |
- Renvoie:
- boolean True if the parsing is successful
Références $preserveCDATA.
DOMIT_Lite_Parser::parseSAXY |
( |
&$ |
myXMLDoc, |
|
|
$ |
xmlText, |
|
|
$ |
preserveCDATA, |
|
|
$ |
definedEntities |
|
) |
| |
Parses xml text using SAXY
- Paramètres:
-
Object | A reference to the DOM document that the xml is to be parsed into |
string | The text to be parsed |
boolean | True if CDATA Section nodes are not to be converted into Text nodes |
- Renvoie:
- boolean True if the parsing is successful
Références $preserveCDATA.
DOMIT_Lite_Parser::startElement |
( |
&$ |
parser, |
|
|
$ |
name, |
|
|
$ |
attrs |
|
) |
| |
Catches a start element event and processes the data
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The tag name of the current element |
Array | An array of the element attributes |
Références $currentNode, $name, et dumpTextNode().
Documentation des données membres
DOMIT_Lite_Parser::$currentNode = null |
DOMIT_Lite_Parser::$inCDATASection = false |
DOMIT_Lite_Parser::$inTextNode = false |
DOMIT_Lite_Parser::$lastChild = null |
DOMIT_Lite_Parser::$parseContainer = '' |
DOMIT_Lite_Parser::$parseItem = '' |
DOMIT_Lite_Parser::$preserveCDATA |
DOMIT_Lite_Parser::$xmlDoc = null |
La documentation de cette classe a été générée à partir du fichier suivant :