\Pop\DomDomIterator

Dom iterator class

Summary

Methods
Properties
Constants
__construct()
current()
getChildren()
hasChildren()
key()
next()
rewind()
valid()
No public properties found
No constants found
No protected methods found
$position
$nodeList
N/A
No private methods found
No private properties found
N/A

Properties

$position

$position : integer

Current position

Type

integer

$nodeList

$nodeList : \DOMNodeList

Node List

Type

\DOMNodeList

Methods

__construct()

__construct(\DOMNode  $domNode) 

Constructor

Instantiate the DOM iterator object

Parameters

\DOMNode $domNode

current()

current() : \DOMElement

Get current method

Returns

\DOMElement

getChildren()

getChildren() : \Pop\Dom\DomIterator

Get children method

Returns

\Pop\Dom\DomIterator

hasChildren()

hasChildren() : boolean

Has children method

Returns

boolean

key()

key() : integer

Key method

Returns

integer

next()

next() 

Next method

rewind()

rewind() 

Rewind method

valid()

valid() : boolean

Is valid method

Returns

boolean