Methods

(PHP 5 &gt;= 5.0.0)<br/> Return the current element

current() : mixed

link http://php.net/manual/en/iterator.current.php

Returns

mixedCan return any type.

(PHP 5 &gt;= 5.1.0)<br/> Returns an iterator for the current entry.

getChildren() : \RecursiveIterator

link http://php.net/manual/en/recursiveiterator.getchildren.php

Returns

\RecursiveIteratorAn iterator for the current entry.

(PHP 5 &gt;= 5.1.0)<br/> Returns if an iterator can be created fot the current entry.

hasChildren() : bool

link http://php.net/manual/en/recursiveiterator.haschildren.php

Returns

booltrue if the current entry can be iterated over, otherwise returns false.

(PHP 5 &gt;= 5.0.0)<br/> Return the key of the current element

key() : \Zend\Permissions\Rbac\scalar

link http://php.net/manual/en/iterator.key.php

Returns

\Zend\Permissions\Rbac\scalarscalar on success, or null on failure.

(PHP 5 &gt;= 5.0.0)<br/> Rewind the Iterator to the first element

rewind() : void

(PHP 5 &gt;= 5.0.0)<br/> Checks if current position is valid

valid() : bool

link http://php.net/manual/en/iterator.valid.php

Returns

boolThe return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

 Properties

 

$children

$children 

 

$index

$index