ILIAS
Release_3_10_x_branch Revision 61812
|
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 33 of file class.ilXML2DOM.php.
XMLStruct::append | ( | $a_name, | |
$a_attrs | |||
) |
append node
Definition at line 53 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 84 of file class.ilXML2DOM.php.
XMLStruct::setContent | ( | $a_data | ) |
set content text
Definition at line 73 of file class.ilXML2DOM.php.
XMLStruct::setParent | ( | ) |
XMLStruct::XMLStruct | ( | $a_name = "" , |
|
$a_attrs = array() |
|||
) |
constructor
Definition at line 44 of file class.ilXML2DOM.php.
Referenced by append().
XMLStruct::$attrs |
Definition at line 39 of file class.ilXML2DOM.php.
XMLStruct::$childs = array() |
Definition at line 35 of file class.ilXML2DOM.php.
XMLStruct::$content = array() |
Definition at line 38 of file class.ilXML2DOM.php.
XMLStruct::$name |
Definition at line 37 of file class.ilXML2DOM.php.
XMLStruct::$parent |
Definition at line 36 of file class.ilXML2DOM.php.