cvs: spl / spl.php
| From: | Marcus Boerger | Date: | Sun, 20 Jul 2003 12:30:05 +0000 |
| Subject: | cvs: spl / spl.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22667@lists.php.net to get a copy of this message | ||
helly Sun Jul 20 08:30:05 2003 EDT
Modified files:
/spl spl.php
Log:
Update docu
Index: spl/spl.php
diff -u spl/spl.php:1.5 spl/spl.php:1.6
--- spl/spl.php:1.5 Wed Jul 16 05:48:36 2003
+++ spl/spl.php Sun Jul 20 08:30:05 2003
@@ -141,6 +141,13 @@
/*! \brief Check if more elements are available.
*
+ * This method is meant to be called right after calls to rewind() or
+ * next(). When you use foreach hooking then this is done automatically
+ * but you can use it inside a for loop yourself:
+ * \code
+ for(; $it->has_more(); $it->next()) { ... }
+ \endcode
+ *
* \return \c bool whether or not more elements are available
*/
function has_more();