XMLNode Class Reference
[Xml]
Default handler for
XMLParser returning a simple DOM-style object. This handler parses an XML document into a tree structure of
XMLNode objects.
More...
List of all members.
Detailed Description
Default handler for
XMLParser returning a simple DOM-style object. This handler parses an XML document into a tree structure of
XMLNode objects.
Definition at line 18 of file XMLNode.inc.php.
Member Function Documentation
| XMLNode.addChild |
( |
&$ |
node |
) |
|
| XMLNode.getAttribute |
( |
$ |
name |
) |
|
- Parameters:
-
| $name | string attribute name |
- Returns:
- string attribute value
Definition at line 86 of file XMLNode.inc.php.
Referenced by toXml().
| XMLNode.getAttributes |
( |
|
) |
|
| & XMLNode.getChildByName |
( |
$ |
name, |
|
|
$ |
index = 0 | |
|
) |
| | |
| & XMLNode.getChildren |
( |
|
) |
|
| XMLNode.setAttribute |
( |
$ |
name, |
|
|
&$ |
value | |
|
) |
| | |
- Parameters:
-
| $name | string attribute name |
| value | string attribute value |
Definition at line 94 of file XMLNode.inc.php.
| XMLNode.setAttributes |
( |
$ |
attributes |
) |
|
| XMLNode.setName |
( |
$ |
name |
) |
|
| XMLNode.setParent |
( |
&$ |
parent |
) |
|
| XMLNode.setValue |
( |
$ |
value |
) |
|
| & XMLNode.toXml |
( |
$ |
output = null |
) |
|
- Parameters:
-
| $output | file handle to write to, or true for stdout, or null if XML to be returned as string |
- Returns:
- string
Definition at line 156 of file XMLNode.inc.php.
References getAttribute().
| XMLNode.XMLNode |
( |
$ |
name = null |
) |
|
The documentation for this class was generated from the following file: