ElementCollection
in package
implements
Iterator
AbstractYes
Tags
Table of Contents
Interfaces
- Iterator
Properties
Methods
- __construct() : mixed
- current() : mixed
- key() : int
- next() : void
- rewind() : void
- valid() : bool
- getCurrentElement() : DOMElement
- importNodes() : void
Properties
$nodes
private
array<string|int, DOMElement>
$nodes
= []
$position
private
int
$position
Methods
__construct()
public
__construct(DOMNodeList $nodeList) : mixed
Parameters
- $nodeList : DOMNodeList
current()
public
abstract current() : mixed
key()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool
Return values
boolgetCurrentElement()
protected
getCurrentElement() : DOMElement
Return values
DOMElementimportNodes()
private
importNodes(DOMNodeList $nodeList) : void
Parameters
- $nodeList : DOMNodeList