ILIAS
release_4-3 Revision
|
Class for creating an object (new node) by parsing XML code and adding it to an existing DOM object. More...
Public Member Functions | |
XMLStruct ($a_name="", $a_attrs=array()) | |
constructor | |
append ($a_name, $a_attrs) | |
append node | |
setParent () | |
set parent node | |
setContent ($a_data) | |
set content text | |
insert (&$dom, &$node) | |
insert new node in existing DOM object |
Data Fields | |
$childs = array() | |
$parent | |
$name | |
$content = array() | |
$attrs |
Class for creating an object (new node) by parsing XML code and adding it to an existing DOM object.
Definition at line 13 of file class.ilXML2DOM.php.
XMLStruct::append | ( | $a_name, | |
$a_attrs | |||
) |
append node
Definition at line 33 of file class.ilXML2DOM.php.
References $GLOBALS, and XMLStruct().
XMLStruct::insert | ( | & | $dom, |
& | $node | ||
) |
insert new node in existing DOM object
object | $dom | DOM object |
object | $node | parent node |
Definition at line 64 of file class.ilXML2DOM.php.
XMLStruct::setContent | ( | $a_data | ) |
set content text
Definition at line 53 of file class.ilXML2DOM.php.
XMLStruct::setParent | ( | ) |
XMLStruct::XMLStruct | ( | $a_name = "" , |
|
$a_attrs = array() |
|||
) |
constructor
Definition at line 24 of file class.ilXML2DOM.php.
Referenced by append().
XMLStruct::$attrs |
Definition at line 19 of file class.ilXML2DOM.php.
XMLStruct::$childs = array() |
Definition at line 15 of file class.ilXML2DOM.php.
XMLStruct::$content = array() |
Definition at line 18 of file class.ilXML2DOM.php.
XMLStruct::$name |
Definition at line 17 of file class.ilXML2DOM.php.
XMLStruct::$parent |
Definition at line 16 of file class.ilXML2DOM.php.