1498. Class

1498.1. Zend\Permissions\Rbac\AbstractIterator

1498.1.1. Methods

1498.1.1.1. current

current()

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

Return type:mixed Can return any type.

1498.1.1.3. key

key()

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

Return type:scalar scalar on success, or null on failure.

1498.1.1.4. valid

valid()

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

Return type:boolean The return value will be casted to boolean and then evaluated.

Returns true on success or false on failure.

1498.1.1.5. rewind

rewind()

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

Return type:void Any returned value is ignored.

1498.1.1.6. hasChildren

hasChildren()

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

Return type:bool true if the current entry can be iterated over, otherwise returns false.

1498.1.1.7. getChildren

getChildren()

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

Return type:RecursiveIterator An iterator for the current entry.

Project Versions

Table Of Contents

Previous topic

1497. Class

Next topic

1499. Class

This Page