Methods
Constructor
__construct(\DOMNodeList $list)
Countable: get count
count() : int
Iterator: return current element
current() : \DOMNode
Iterator: return key of current element
key() : int
Iterator: move to next element
next() : \DOMNode
ArrayAccess: offset exists
offsetExists(int $key) : bool
Parameters
$key
int
Returns
bool
ArrayAccess: get offset
offsetGet(int $key) : mixed
Parameters
$key
int
Returns
mixed
ArrayAccess: set offset
offsetSet(mixed $key, mixed $value)
Parameters
$key
mixed
$value
mixed
Exceptions
ArrayAccess: unset offset
offsetUnset(mixed $key)
Parameters
$key
mixed
Exceptions
Iterator: rewind to first element
rewind() : \DOMNode
Iterator: is current position valid?
valid() : bool
Properties
Current iterator position
$position : int