Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FluentDOM
Node
Xpath
PHP Trait FluentDOM\Node\Xpath
Show file
Open project: fluentdom/fluentdom
Public Methods
Method
Description
__invoke
(
string
$expression
) :
mixed
Allow to call evaluate() by using the node as object
evaluate
(
string
$expression
,
DOMNode
$context
= NULL ) :
mixed
Evaluate an xpath expression in the context of this element.
Method Details
__invoke()
public
method
Allow to call evaluate() by using the node as object
public
__invoke
(
string
$expression
) :
mixed
$expression
string
return
mixed
evaluate()
public
method
Evaluate an xpath expression in the context of this element.
public
evaluate
(
string
$expression
,
DOMNode
$context
= NULL ) :
mixed
$expression
string
$context
DOMNode
return
mixed