]> granicus.if.org Git - php/commitdiff
- language refinements
authorJan Lehnardt <jan@php.net>
Sun, 29 Aug 2004 11:54:38 +0000 (11:54 +0000)
committerJan Lehnardt <jan@php.net>
Sun, 29 Aug 2004 11:54:38 +0000 (11:54 +0000)
ext/spl/spl.php

index 70a4342fb9e9de897c8ee5918499576f51fc008c..cfd07b5bb2b5b1666d751602aca6a200e682c84f 100755 (executable)
@@ -540,12 +540,12 @@ class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveI
 /** \ingroup SPL
  * \brief recursive SimpleXML_Element iterator
  *
- * SimpleXMLIterator implements the RecursiveIterator interface. This allows
- * to iterator over all elements using foreach or appropriate while construct 
- * just like SimpleXMLElement does. But using the foreach construct you will
- * also iterate over the subelements. Because for every element which has sub
- * elements hasChildren() returns true what results in a call to getchildren()
- * which then returns the iterator for that sub element.
+ * The SimpleXMLIterator implements the RecursiveIterator interface. This 
+ * allows to iterate over all elements using foreach or an appropriate while
+ * construct just like SimpleXMLElement does. But using the foreach construct,
+ * you will also iterate over the subelements, because for every element which
+ * has subelements hasChildren() returns true what results in a call to 
+ * getChildren() which then returns the iterator for that sub element.
  */
 class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator
 {