ElementCollection
implements
Iterator
Interfaces, Classes, Traits and Enums
- Iterator
Table of Contents
-
$nodes
: array<string|int, DOMElement>
-
$position
: int
-
__construct()
: mixed
-
current()
: mixed
-
key()
: int
-
next()
: void
-
rewind()
: void
-
valid()
: bool
-
getCurrentElement()
: DOMElement
-
importNodes()
: void
$nodes
private
array<string|int, DOMElement>
$nodes
= []
$position
private
int
$position
__construct()
public
__construct(DOMNodeList $nodeList) : mixed
Parameters
-
$nodeList
: DOMNodeList
-
Return values
mixed
—
current()
public
abstract current() : mixed
Return values
mixed
—
key()
public
key() : int
Return values
int
—
next()
public
next() : void
Return values
void
—
rewind()
public
rewind() : void
Return values
void
—
valid()
public
valid() : bool
Return values
bool
—
getCurrentElement()
protected
getCurrentElement() : DOMElement
Return values
DOMElement
—
importNodes()
private
importNodes(DOMNodeList $nodeList) : void
Parameters
-
$nodeList
: DOMNodeList
-
Return values
void
—