|
ILIAS
release_8 Revision v8.25-1-g13de6a5eca6
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilDOMUtil:Static Public Member Functions | |
| static | setFirstOptionalElement (php4DOMDocument $doc, php4DOMElement $parent_node, string $a_node_name, array $a_successors, string $a_content, array $a_attributes, bool $a_remove_childs=true) |
| searches for an element $a_node_name within the childs of $parent_node if no node is found, a new is created before the childs with names of $a_successors. More... | |
| static | set_attributes (php4DOMElement $a_node, array $a_attributes) |
| set attributes of a node More... | |
| static | deleteAllChildsByName (php4DOMElement $a_parent, array $a_node_names) |
| delete all childs of a node by names in $a_node_names More... | |
| static | addElementToList (php4DOMDocument $doc, php4DOMElement $parent_node, string $a_node_name, array $a_successors, string $a_content, array $a_attributes) |
| Places a new node $a_node_name directly before nodes with names of $a_successors. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning class for DOM utilities
Definition at line 24 of file class.ilDOMUtil.php.
|
static |
Places a new node $a_node_name directly before nodes with names of $a_successors.
The content of the node is set to $a_content and the attributes to $a_attributes
Definition at line 128 of file class.ilDOMUtil.php.
Referenced by ilPCInteractiveImage\addTriggerMarker(), and ilMediaAliasItem\setParameters().
Here is the caller graph for this function:
|
static |
delete all childs of a node by names in $a_node_names
Definition at line 110 of file class.ilDOMUtil.php.
References php4DOMNode\node_name().
Referenced by ilPCTabs\saveCaptions(), ilMediaAliasItem\setAreaExtLink(), ilMediaAliasItem\setAreaIntLink(), ilPCTable\setCaption(), and ilPCSection\setNoLink().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
set attributes of a node
| array | $a_attributes | attributes array (attribute_name => attribute_value pairs) |
Definition at line 92 of file class.ilDOMUtil.php.
References php4DOMElement\has_attribute(), php4DOMElement\remove_attribute(), and php4DOMElement\set_attribute().
Here is the call graph for this function:
|
static |
searches for an element $a_node_name within the childs of $parent_node if no node is found, a new is created before the childs with names of $a_successors.
the content of the node is set to $a_content and the attributes to $a_attributes
Definition at line 32 of file class.ilDOMUtil.php.
Referenced by ilPCTabs\addTab(), ilPCTabs\saveCaptions(), ilMediaAliasItem\setAreaExtLink(), ilMediaAliasItem\setAreaIntLink(), ilMediaAliasItem\setCaption(), ilPCMap\setCaption(), ilPCTable\setCaption(), ilPCSection\setExtLink(), ilMediaAliasItem\setHeight(), ilMediaAliasItem\setHorizontalAlign(), ilPCMap\setLayout(), and ilMediaAliasItem\setWidth().
Here is the caller graph for this function: