Метод |
Описание |
|
__construct ( DOMDocument $dom ) |
HHVM and some old PHP versions do not have a $document property by default
Add it is added if it was not found after executing parent constructor. |
|
__get ( string $name ) : mixed |
|
|
__invoke ( string $expression, DOMNode $contextNode = NULL ) : string | float | boolean | DOMNodeList |
Fetch nodes or scalar values from the DOM using Xpath expression. |
|
__isset ( string $name ) : boolean |
|
|
__set ( string $name, mixed $value ) : mixed |
|
|
__unset ( string $name ) |
|
|
evaluate ( string $expression, DOMNode $contextNode = NULL, null | boolean $registerNodeNS = NULL ) : string | float | boolean | DOMNodeList |
Fetch nodes or scalar values from the DOM using Xpath expression. |
|
firstOf ( string $expression, DOMNode $contextNode = NULL, null | boolean $registerNodeNS = NULL ) : DOMNode | null |
Returns the first node matched by the expression or NULL. |
|
query ( string $expression, DOMNode $contextNode = NULL, null | boolean $registerNodeNS = NULL ) : DOMNodeList |
Fetch nodes defined by the xpath expression and return the node list. |
|
quote ( string $string ) : string |
Quote (and escape) a value to use it in an xpath expression. |
|
registerNamespace ( string $prefix, string $namespace ) : boolean |
If the owner document is a FluentDOM\Document register the namespace on the
document object, too. |
|