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