cvs: php-src(PHP_5_1) /ext/spl spl.php

From: Date: Sun, 18 Sep 2005 17:52:09 +0000
Subject: cvs: php-src(PHP_5_1) /ext/spl spl.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-34006@lists.php.net to get a copy of this message
helly Sun Sep 18 13:52:09 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/spl spl.php Log: - MFH: Synch dosu http://cvs.php.net/diff.php/php-src/ext/spl/spl.php?r1=1.49.2.5&r2=1.49.2.6&ty=u Index: php-src/ext/spl/spl.php diff -u php-src/ext/spl/spl.php:1.49.2.5 php-src/ext/spl/spl.php:1.49.2.6 --- php-src/ext/spl/spl.php:1.49.2.5 Sun Sep 18 13:39:54 2005 +++ php-src/ext/spl/spl.php Sun Sep 18 13:52:09 2005 @@ -113,9 +113,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> - * - Debug session 1 <a href="http://somabo.de/talks/200504_php_quebec_iterator_debug_session_1.pps">[pps]</a>, <a href="http://somabo.de/talks/200504_php_quebec_iterator_debug_session_1.pdf">[pdf]</a> - * - Debug session 2 <a href="http://somabo.de/talks/200504_php_quebec_iterator_debug_session_2.pps">[pps]</a>, <a href="http://somabo.de/talks/200504_php_quebec_iterator_debug_session_2.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> + * - Debug session 1 <a href="http://somabo.de/talks/200509_toronto_iterator_debug_session_1.pps">[pps]</a>, <a href="http://somabo.de/talks/200509_toronto_iterator_debug_session_1.pdf">[pdf]</a> + * - Debug session 2 <a href="http://somabo.de/talks/200509_toronto_iterator_debug_session_2.pps">[pps]</a>, <a href="http://somabo.de/talks/200509_toronto_iterator_debug_session_2.pdf">[pdf]</a> * * You can download this documentation as a chm file * <a href="http://php.net/~helly/php/ext/spl/spl.chm">here</a>. @@ -824,7 +825,7 @@ } /** @ingroup SPL - * @brief observer of the observer pattern + * @brief Observer of the observer pattern * @since PHP 5.1 * * For a detailed explanation see Observer pattern in @@ -833,29 +834,29 @@ * Design Patterns * </em> */ -interface Observer +interface SplObserver { /** Called from the subject (i.e. when it's value has changed). * @param $subject the callee */ - function update(Subject $subject); + function update(SplSubject $subject); } /** @ingroup SPL - * @brief ubject to the observer pattern + * @brief Subject to the observer pattern * @since PHP 5.1 * @see Observer */ -interface Subject +interface SplSubject { /** @param $observer new observer to attach */ - function attach(Observer $observer); + function attach(SplObserver $observer); /** @param $observer existing observer to detach * @note a non attached observer shouldn't result in a warning or similar */ - function detach(Observer $observer); + function detach(SplObserver $observer); /** Notify all observers */

« previous php.cvs (#34006) next »