blob: 640be25a1340df3cd1fc0c4c2b1244a3043b7947 (
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 - 2005
*
* SPL - Standard PHP Library
*/
/**
* @brief Interface for recursive iteration with RecursiveIteratorIterator
* @author Marcus Boerger
* @version 1.0
* @since PHP 5.0
*/
interface RecursiveIterator implements 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();
}
?>
|