recursiveiterator.inc 610 B

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