Dodo
DOm DOcument implementation
Loading...
Searching...
No Matches
Wikimedia\Dodo\NodeIterator Class Reference

NodeIterator. More...

+ Inheritance diagram for Wikimedia\Dodo\NodeIterator:

Public Member Functions

 __construct (Node $root, int $whatToShow, $filter)
 Internal use only: use Document::createNodeIterator()
 
Node getRoot ()
 
Node getReferenceNode ()
 
bool getPointerBeforeReferenceNode ()
 
int getWhatToShow ()
 
NodeFilter getFilter ()
 
void _preremove (Node $toBeRemovedNode)
 @spec https://dom.spec.whatwg.org/#nodeiterator-pre-removing-steps
 
Node null nextNode ()
 @spec http://www.w3.org/TR/dom/#dom-nodeiterator-nextnode
 
Node previousNode ()
 @spec http://www.w3.org/TR/dom/#dom-nodeiterator-previousnode
 
void detach ()
 @spec http://www.w3.org/TR/dom/#dom-nodeiterator-detach
 
string toString ()
 

Detailed Description

NodeIterator.

Implemented version: http://www.w3.org/TR/2015/WD-dom-20150618/#nodeiterator

Latest version: http://www.w3.org/TR/dom/#nodeiterator -forbid-undeclared-magic-properties

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Dodo\NodeIterator::__construct ( Node $root,
int $whatToShow,
$filter )

Internal use only: use Document::createNodeIterator()

Parameters
Node$root
int$whatToShow
callable | NodeFilter | null$filter

Member Function Documentation

◆ _preremove()

void Wikimedia\Dodo\NodeIterator::_preremove ( Node $toBeRemovedNode)

@spec https://dom.spec.whatwg.org/#nodeiterator-pre-removing-steps

Parameters
Node$toBeRemovedNodethe Node about to be removed
Returns
void

◆ detach()

void Wikimedia\Dodo\NodeIterator::detach ( )

◆ getFilter()

NodeFilter Wikimedia\Dodo\NodeIterator::getFilter ( )
Returns
?NodeFilter

Implements Wikimedia::IDLeDOM::NodeIterator.

◆ getPointerBeforeReferenceNode()

bool Wikimedia\Dodo\NodeIterator::getPointerBeforeReferenceNode ( )
Returns
bool

Implements Wikimedia::IDLeDOM::NodeIterator.

◆ getReferenceNode()

Node Wikimedia\Dodo\NodeIterator::getReferenceNode ( )
Returns
Node

Implements Wikimedia::IDLeDOM::NodeIterator.

◆ getRoot()

Node Wikimedia\Dodo\NodeIterator::getRoot ( )
Returns
Node

Implements Wikimedia::IDLeDOM::NodeIterator.

◆ getWhatToShow()

int Wikimedia\Dodo\NodeIterator::getWhatToShow ( )
Returns
int

Implements Wikimedia::IDLeDOM::NodeIterator.

◆ nextNode()

Node null Wikimedia\Dodo\NodeIterator::nextNode ( )

◆ previousNode()

Node Wikimedia\Dodo\NodeIterator::previousNode ( )

◆ toString()

string Wikimedia\Dodo\NodeIterator::toString ( )
Returns
string

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