CakeFest 2017 NYC, the Official CakePHP Conference


(PHP 5 >= 5.1.0, PHP 7)

RecursiveIterator::hasChildrenReturns if an iterator can be created fot the current entry.


public bool RecursiveIterator::hasChildren ( void )

Returns if an iterator can be created for the current entry. RecursiveIterator::getChildren().


This function has no parameters.

Return Values

Returns TRUE if the current entry can be iterated over, otherwise returns FALSE.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top