php-src/ext/spl/internal/recursiveiterator.inc

30 lines
613 B
PHP
Raw Normal View History

2003-11-18 22:18:38 +00:00
<?php
2004-10-29 20:58:58 +00:00
/** @file recursiveiterator.inc
2004-10-31 19:05:37 +00:00
* @ingroup SPL
2004-10-29 20:58:58 +00:00
* @brief class RecursiveIterator
* @author Marcus Boerger
2006-02-21 23:21:53 +00:00
* @date 2003 - 2006
2004-10-29 20:58:58 +00:00
*
* SPL - Standard PHP Library
*/
/**
* @brief Interface for recursive iteration with RecursiveIteratorIterator
* @author Marcus Boerger
* @version 1.0
2005-02-17 00:24:57 +00:00
* @since PHP 5.0
2004-10-29 20:58:58 +00:00
*/
2003-11-18 22:18:38 +00:00
interface RecursiveIterator implements Iterator
{
2004-10-29 20:58:58 +00:00
/** @return whether the current element has children
*/
2003-11-18 22:18:38 +00:00
function hasChildren();
2004-10-29 20:58:58 +00:00
/** @return the sub iterator for the current element
2004-11-01 18:11:39 +00:00
* @note The returned object must implement RecursiveIterator.
2004-10-29 20:58:58 +00:00
*/
2003-11-18 22:18:38 +00:00
function getChildren();
}
?>