]> granicus.if.org Git - php/commitdiff
A little cleanup on the language refinements.
authorGeorge Schlossnagle <gschlossnagle@php.net>
Sun, 29 Aug 2004 13:37:10 +0000 (13:37 +0000)
committerGeorge Schlossnagle <gschlossnagle@php.net>
Sun, 29 Aug 2004 13:37:10 +0000 (13:37 +0000)
ext/spl/spl.php

index cfd07b5bb2b5b1666d751602aca6a200e682c84f..6ad94f7ea236b30e9088d0f35811812b1f8aa61c 100755 (executable)
@@ -541,11 +541,11 @@ class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveI
  * \brief recursive SimpleXML_Element iterator
  *
  * 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.
+ * allows iteration over all elements using foreach or an appropriate while
+ * construct, just like SimpleXMLElement does. When using the foreach construct,
+ * you will also iterate over the subelements. For every element which
+ * has subelements, hasChildren() returns true.  This will trigger a call to
+ * getChildren() which returns the iterator for that sub element.
  */
 class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator
 {
@@ -558,4 +558,4 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator
        function getChildren(); 
 }
 
-?>
\ No newline at end of file
+?>