Iterator
class Iterator implements Iterator
Iterate through child nodes
Methods
current()
Get a browser object for the current child
mixed
key()
Get the current child index
next()
Advance the internal pointer to the next child
rewind()
Reset the internal pointer to the first child
bool
valid()
Test whether there are more children to iterate over
Details
at line 30
__construct(JsonBrowser $browser)
Create a new instance
at line 49
JsonBrowser
current()
Get a browser object for the current child
at line 61
mixed
key()
Get the current child index
at line 72
next()
Advance the internal pointer to the next child
at line 83
rewind()
Reset the internal pointer to the first child
at line 95
bool
valid()
Test whether there are more children to iterate over