File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,15 @@ Methods
25
25
#### Create nodes from a given source:
26
26
* ` DomNode::createFromDocument($doc) ` : creates an instance from a Document object
27
27
* ` DomNode::createFromElement($element) ` : creates an instance from a DOMElement object
28
+ * ` DomNode::createFromNode($node) ` : creates an instance from a DomNode object
28
29
* ` DomNode::createFromString($string) ` : creates an instance from a string
29
30
30
31
#### Basic methods:
32
+ * ` DomNode::document() ` : gets the internal DOMDocument instance
31
33
* ` DomNode::elements() ` : gets internal DOM elements
32
34
* ` DomNode::name() ` : gets the node name
33
35
* ` DomNode::parent() ` : gets the parent node or a ` null ` value
36
+ * ` DomNode::root() ` : gets the root node
34
37
* ` DomNode::query($cssSelectors) ` : finds nodes using CSS selectors
35
38
* ` DomNode::xpath($expression) ` : finds nodes using XPath expressions
36
39
* ` DomNode::remove() ` : removes the node from the document
You can’t perform that action at this time.
0 commit comments