Liste de tous les membres
Fonctions membres publiques
- parse (&$myXMLDoc, $xmlText, $preserveCDATA=true)
- parseSAXY (&$myXMLDoc, $xmlText, $preserveCDATA=true, $definedEntities)
- dumpTextNode ()
- startElement (&$parser, $name, $attrs)
- startElementNS (&$parser, $name, $attrs)
- endElement (&$parser, $name)
- dataElement (&$parser, $data)
- cdataElement (&$parser, $data)
- defaultDataElement (&$parser, $data)
- doctypeElement (&$parser, $data)
- notationElement (&$parser, $data)
- commentElement (&$parser, $data)
- processingInstructionElement (&$parser, $target, $data)
- startNamespaceDeclaration (&$parser, $prefix, $uri)
- endNamespaceDeclaration (&$parser, $prefix)
Attributs publics
Documentation des fonctions membres
DOMIT_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_Parser::commentElement |
( |
&$ |
parser, |
|
|
$ |
data |
|
) |
| |
DOMIT_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_Parser::defaultDataElement |
( |
&$ |
parser, |
|
|
$ |
data |
|
) |
| |
DOMIT_Parser::doctypeElement |
( |
&$ |
parser, |
|
|
$ |
data |
|
) |
| |
DOMIT_Parser::dumpTextNode |
( |
| ) |
|
DOMIT_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_Parser::endNamespaceDeclaration |
( |
&$ |
parser, |
|
|
$ |
prefix |
|
) |
| |
Catches an end namespace declaration event
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The namespace prefix |
DOMIT_Parser::notationElement |
( |
&$ |
parser, |
|
|
$ |
data |
|
) |
| |
Catches a notation node event and processes the data
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The current notation data |
Références $data.
DOMIT_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_Parser::parseSAXY |
( |
&$ |
myXMLDoc, |
|
|
$ |
xmlText, |
|
|
$ |
preserveCDATA = true , |
|
|
$ |
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_Parser::processingInstructionElement |
( |
&$ |
parser, |
|
|
$ |
target, |
|
|
$ |
data |
|
) |
| |
Catches a processing instruction node event and processes the data
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The target of the processing instruction data |
string | The processing instruction data |
Références $currentNode, $data, $target, et dumpTextNode().
Référencé par defaultDataElement().
DOMIT_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().
DOMIT_Parser::startElementNS |
( |
&$ |
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().
DOMIT_Parser::startNamespaceDeclaration |
( |
&$ |
parser, |
|
|
$ |
prefix, |
|
|
$ |
uri |
|
) |
| |
Catches a start namespace declaration event and processes the data
- Paramètres:
-
Object | A reference to the current SAX parser |
string | The namespace prefix |
string | The namespace uri |
Références $uri.
Documentation des données membres
DOMIT_Parser::$currentNode = null |
DOMIT_Parser::$inCDATASection = false |
DOMIT_Parser::$inTextNode = false |
DOMIT_Parser::$lastChild = null |
DOMIT_Parser::$parseContainer = '' |
DOMIT_Parser::$parseItem = '' |
DOMIT_Parser::$preserveCDATA |
DOMIT_Parser::$tempNamespaceURIMap = array() |
DOMIT_Parser::$waitingForElementToDeclareNamespaces = false |
DOMIT_Parser::$xmlDoc = null |
La documentation de cette classe a été générée à partir du fichier suivant :