php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
DOMNodeList Class Reference
Inheritance diagram for DOMNodeList:
IteratorAggregate Countable Traversable

Public Member Functions

 count ()
 
 getIterator ()
 
 item (int $index)
 

Data Fields

int $length
 

Detailed Description

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

Member Function Documentation

◆ count()

DOMNodeList::count ( )

@tentative-return-type

Implements Countable.

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

◆ getIterator()

DOMNodeList::getIterator ( )

@tentative-return-type

Implements IteratorAggregate.

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

◆ item()

DOMNodeList::item ( int $index)
Returns
DOMElement|DOMNode|DOMNameSpaceNode|null

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

Field Documentation

◆ $length

int DOMNodeList::$length

@readonly @virtual

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


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