blob: 1eab3d69b2bf54b1c12dce2385be55ce3b77289e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
/** @file recursiveiterator.inc
* @ingroup SPL
* @brief class RecursiveIterator
* @author Marcus Boerger
* @date 2003 - 2009
*
* SPL - Standard PHP Library
*/
/**
* @brief Interface for recursive iteration with RecursiveIteratorIterator
* @author Marcus Boerger
* @version 1.0
* @since PHP 5.0
*/
interface RecursiveIterator extends Iterator
{
/** @return whether the current element has children
*/
function hasChildren();
/** @return the sub iterator for the current element
* @note The returned object must implement RecursiveIterator.
*/
function getChildren();
}
?>
|