在线文档教程
PHP
SPL/Iterators

RecursiveFilterIterator::getChildren

RecursiveFilterIterator::getChildren

(PHP 5 >= 5.1.0, PHP 7)

RecursiveFilterIterator::getChildren — Return the inner iterator's children contained in a RecursiveFilterIterator

Description

public RecursiveFilterIterator RecursiveFilterIterator::getChildren ( void )

Return the inner iterator's children contained in a RecursiveFilterIterator.

Parameters

This function has no parameters.

Return Values

Returns a RecursiveFilterIterator containing the inner iterator's children.

See Also

  • RecursiveFilterIterator::hasChildren() - Check whether the inner iterator's current element has children

  • RecursiveIterator::getChildren() - Returns an iterator for the current entry.

← RecursiveFilterIterator::__construct

RecursiveFilterIterator::hasChildren →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/recursivefilteriterator.getchildren.php