From: Marcus Boerger Date: Mon, 20 Feb 2006 22:19:04 +0000 (+0000) Subject: - Include examples in documentation X-Git-Tag: RELEASE_1_2~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4fd040d739e02e296ab7b5aab8b99b431c124d7;p=php - Include examples in documentation - Provide a better place for the examples --- diff --git a/ext/spl/doxygen.cfg b/ext/spl/doxygen.cfg index 1d79e40465..d58017a6ad 100755 --- a/ext/spl/doxygen.cfg +++ b/ext/spl/doxygen.cfg @@ -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 diff --git a/ext/spl/spl.php b/ext/spl/spl.php index c1dfb0ba09..8ad3d197d2 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -102,8 +102,14 @@ * - 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: * - Introducing PHP 5's Standard Library * - Iterators in PHP5 * - Advanced OOP with SPL in PHP 5 @@ -112,7 +118,7 @@ * - SPL on PHP Wiki * - Die Standard PHP Library (SPL) [german] * - * Talks on SPL: + * 10) Talks on SPL: * - SPL for the masses [pps], [pdf] * - From engine overloading to SPL [pps], [pdf] * - Happy SPLing [pps], [pdf]