From: Etienne Kneuss Date: Mon, 21 Jan 2008 21:54:00 +0000 (+0000) Subject: Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue X-Git-Tag: RELEASE_2_0_0a1~819 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85254498dc064948055fd0ef02d712dca73dd0ff;p=php Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue --- diff --git a/NEWS b/NEWS index f437e25c22..809f41a95b 100644 --- a/NEWS +++ b/NEWS @@ -59,5 +59,7 @@ PHP NEWS - Added shm_has_var() function. (Mike) - Added str_getcsv() function. (Sara) - Added ext/hash support to ext/session's ID generator. (Sara) +- Added SplDoublyLinkedList, SplStack, SplQueue classes. (Etienne) - Fixed bug #40325 (Vary: header missing in gzip output handlers). (Mike) + diff --git a/ext/spl/internal/spldoublylinkedlist.inc b/ext/spl/internal/spldoublylinkedlist.inc new file mode 100644 index 0000000000..dffcefd255 --- /dev/null +++ b/ext/spl/internal/spldoublylinkedlist.inc @@ -0,0 +1,100 @@ + diff --git a/ext/spl/internal/splqueue.inc b/ext/spl/internal/splqueue.inc new file mode 100644 index 0000000000..aaa62db843 --- /dev/null +++ b/ext/spl/internal/splqueue.inc @@ -0,0 +1,50 @@ + diff --git a/ext/spl/internal/splstack.inc b/ext/spl/internal/splstack.inc new file mode 100644 index 0000000000..a83d2c4b8e --- /dev/null +++ b/ext/spl/internal/splstack.inc @@ -0,0 +1,35 @@ + diff --git a/ext/spl/spl.php b/ext/spl/spl.php index bb6af7e050..ee898693d2 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -105,13 +105,21 @@ * - interface SplSubject * - class SplObjectStorage * - * 8) @ref Examples + * 8) Datastructures + * + * SPL proposes a set of datastructures implemented internally. + * + * - class SplDoublyLinkedList + * - class SplStack extends SplDoublyLinkedList + * - class SplQueue extends SplDoublyLinkedList + * + * 9) @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. * - * 9) Some articles about SPL: + * 10) Some articles about SPL: * - Introduction to Standard PHP Library (SPL) * - Introducing PHP 5's Standard Library * - Iterators in PHP5 @@ -120,13 +128,13 @@ * - The Standard PHP Library, Part 2 * - Die Standard PHP Library (SPL) [german] * - * 10) Talks on SPL: + * 11) Talks on SPL: * - SPL Update [pps], [pdf] * - Happy SPLing [pps], [pdf] * - From engine overloading to SPL [pps], [pdf] * - SPL for the masses [pps], [pdf] * - * 11) Debug sessions: + * 12) Debug sessions: * - Debug session 1 [pps], [pdf] * - Debug session 2 [pps], [pdf], [swf] * - Debug session 3 [pps], [pdf]