php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Dom\XPath Class Reference

Public Member Functions

 __construct (Document $document, bool $registerNodeNS=true)
 
 evaluate (string $expression, ?Node $contextNode=null, bool $registerNodeNS=true)
 
 query (string $expression, ?Node $contextNode=null, bool $registerNodeNS=true)
 
 registerNamespace (string $prefix, string $namespace)
 
 registerPhpFunctions (string|array|null $restrict=null)
 
 registerPhpFunctionNS (string $namespaceURI, string $name, callable $callable)
 

Static Public Member Functions

static quote (string $str)
 

Data Fields

Document $document
 
bool $registerNodeNamespaces
 

Detailed Description

@not-serializable

Definition at line 2139 of file php_dom.stub.php.

Constructor & Destructor Documentation

◆ __construct()

Dom\XPath::__construct ( Document $document,
bool $registerNodeNS = true )

Definition at line 2150 of file php_dom.stub.php.

Member Function Documentation

◆ evaluate()

Dom\XPath::evaluate ( string $expression,
?Node $contextNode = null,
bool $registerNodeNS = true )

Definition at line 2152 of file php_dom.stub.php.

◆ query()

Dom\XPath::query ( string $expression,
?Node $contextNode = null,
bool $registerNodeNS = true )

Definition at line 2154 of file php_dom.stub.php.

◆ quote()

static Dom\XPath::quote ( string $str)
static

@implementation-alias DOMXPath\quote

Definition at line 2166 of file php_dom.stub.php.

◆ registerNamespace()

Dom\XPath::registerNamespace ( string $prefix,
string $namespace )

@implementation-alias DOMXPath\registerNamespace

Definition at line 2157 of file php_dom.stub.php.

◆ registerPhpFunctionNS()

Dom\XPath::registerPhpFunctionNS ( string $namespaceURI,
string $name,
callable $callable )

@implementation-alias DOMXPath\registerPhpFunctionNS

Definition at line 2163 of file php_dom.stub.php.

◆ registerPhpFunctions()

Dom\XPath::registerPhpFunctions ( string|array|null $restrict = null)

@implementation-alias DOMXPath\registerPhpFunctions

Definition at line 2160 of file php_dom.stub.php.

Field Documentation

◆ $document

Document Dom\XPath::$document

@readonly @virtual

Definition at line 2145 of file php_dom.stub.php.

◆ $registerNodeNamespaces

bool Dom\XPath::$registerNodeNamespaces

@virtual

Definition at line 2148 of file php_dom.stub.php.


The documentation for this class was generated from the following file: