- Synch docu
authorMarcus Boerger <helly@php.net>
Mon, 20 Feb 2006 22:21:54 +0000 (22:21 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 20 Feb 2006 22:21:54 +0000 (22:21 +0000)
ext/spl/doxygen.cfg
ext/spl/php_spl.c
ext/spl/spl.php

index 1d79e40465f3f813cd7595f27943b69b7bf33138..d58017a6ad8a0621c85c143d0a2dd609e55fbcae 100755 (executable)
@@ -87,8 +87,8 @@ FILTER_SOURCE_FILES    = NO
 #---------------------------------------------------------------------------
 # configuration options related to source browsing
 #---------------------------------------------------------------------------
-SOURCE_BROWSER         = NO
-INLINE_SOURCES         = NO
+SOURCE_BROWSER         = YES
+INLINE_SOURCES         = YES
 STRIP_CODE_COMMENTS    = YES
 REFERENCED_BY_RELATION = YES
 REFERENCES_RELATION    = YES
index 64cc72d60dbdfe0d70e7613c4d45cd2057c7e767..13c80a1268bd139575b94c13cd8127b6246e1266 100755 (executable)
@@ -598,6 +598,11 @@ PHP_MINFO_FUNCTION(spl)
 }
 /* }}} */
 
+static
+ZEND_BEGIN_ARG_INFO(arginfo_iterator, 0)
+       ZEND_ARG_INFO(0, iterator)
+ZEND_END_ARG_INFO();
+
 /* {{{ spl_functions
  */
 zend_function_entry spl_functions[] = {
@@ -611,8 +616,8 @@ zend_function_entry spl_functions[] = {
        PHP_FE(class_parents,           NULL)
        PHP_FE(class_implements,        NULL)
 #ifdef SPL_ITERATORS_H
-       PHP_FE(iterator_to_array,       NULL)
-       PHP_FE(iterator_count,          NULL)
+       PHP_FE(iterator_to_array,       arginfo_iterator)
+       PHP_FE(iterator_count,          arginfo_iterator)
 #endif /* SPL_ITERATORS_H */
        {NULL, NULL, NULL}
 };
index 89689fc0fa3b0bb398e9a67cd016fb4aaf20f1db..4ba58fceb440ed328d53454a0a699a161a99d17e 100755 (executable)
  * - interface SplObserver
  * - interface SplSubject
  * - class SplObjectStorage
+ *
+ * 8) @ref Examples
+ *
+ * The classes and interfaces in this group are contained as PHP code in the 
+ * examples subdirectory of ext/SPL. Sooner or later they will be moved to
+ * c-code.
  * 
- * Some articles about SPL:
+ * 9) Some articles about SPL:
  * - <a href="http://www.sitepoint.com/article/php5-standard-library/1">Introducing PHP 5's Standard Library</a>
  * - <a href="http://www.ramikayyali.com/archives/2005/02/25/iterators">Iterators in PHP5</a>
  * - <a href="http://www.phpriot.com/d/articles/php/oop/oop-with-spl-php-5-1/index.html">Advanced OOP with SPL in PHP 5</a>
  * - <a href="http://www.wiki.cc/php/SPL">SPL on PHP Wiki</a>
  * - <a href="http://www.professionelle-softwareentwicklung-mit-php5.de/erste_auflage/oop.iterators.spl.html">Die Standard PHP Library (SPL) [german]</a>
  *
- * Talks on SPL:
+ * 10) Talks on SPL:
  * - SPL for the masses <a href="http://somabo.de/talks/200504_php_quebec_spl_for_the_masses.pps">[pps]</a>, <a href="http://somabo.de/talks/200504_php_quebec_spl_for_the_masses.pdf">[pdf]</a>
  * - From engine overloading to SPL <a href="http://somabo.de/talks/200505_cancun_from_engine_overloading_to_spl.pps">[pps]</a>, <a href="http://somabo.de/talks/200505_cancun_from_engine_overloading_to_spl.pdf">[pdf]</a>
  * - Happy SPLing <a href="http://somabo.de/talks/200509_toronto_happy_spling.pps">[pps]</a>, <a href="http://somabo.de/talks/200509_toronto_happy_spling.pdf">[pdf]</a>