]> granicus.if.org Git - php/commitdiff
- Add version information
authorMarcus Boerger <helly@php.net>
Thu, 17 Feb 2005 00:24:57 +0000 (00:24 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 17 Feb 2005 00:24:57 +0000 (00:24 +0000)
15 files changed:
ext/spl/internal/appenditerator.inc
ext/spl/internal/cachingiterator.inc
ext/spl/internal/cachingrecursiveiterator.inc
ext/spl/internal/emptyiterator.inc
ext/spl/internal/filteriterator.inc
ext/spl/internal/infiniteiterator.inc
ext/spl/internal/iteratoriterator.inc
ext/spl/internal/limititerator.inc
ext/spl/internal/norewinditerator.inc
ext/spl/internal/outeriterator.inc
ext/spl/internal/parentiterator.inc
ext/spl/internal/recursiveiterator.inc
ext/spl/internal/recursiveiteratoriterator.inc
ext/spl/internal/seekableiterator.inc
ext/spl/spl.php

index 1d7b58fa868f2eec4d1ae57d1037c142e9d00df6..74f254d11e0411fd8ff7facaf56958501870080e 100755 (executable)
@@ -13,6 +13,7 @@
  * @brief   Iterator that iterates over several iterators one after the other
  * @author  Marcus Boerger
  * @version 1.0
+ * @since PHP 5.1
  */
 class AppendIterator implements OuterIterator
 {
index faa78d160ad32d5be961061d368f3a2c6155eb41..dfefd9987fcc2c0c4a37a7bfa9bea6bd2d22bb01 100755 (executable)
@@ -16,6 +16,7 @@ define('CIT_CATCH_GET_CHILD', 2);
  * @brief   Cached iteration over another Iterator
  * @author  Marcus Boerger
  * @version 1.1
+ * @since PHP 5.0
  *
  * This iterator wrapper does a one ahead iteration. This way it knows whether
  * the inner iterator has one more element.
index 283de0ddb641ae055a1bb2f5e7a8a92a09175f66..72204d93992691bd5f61b29c89950e0cd3e576a2 100755 (executable)
@@ -13,6 +13,7 @@
  * @brief   Cached recursive iteration over another Iterator
  * @author  Marcus Boerger
  * @version 1.1
+ * @since PHP 5.0
  *
  * @see CachingIterator
  */
index a78216d58c92842f760a389f4b28da08759a046d..52e844dfe58426f659c9a5d540733ccfb6c2a225 100755 (executable)
@@ -13,7 +13,7 @@
  * @brief   An empty Iterator
  * @author  Marcus Boerger
  * @version 1.0
- *
+ * @since PHP 5.1
  */
 class EmptyIterator implements Iterator
 {
index b8aa54bd988d16006014789962ad626599cad4cb..cc9c999a4041cb2a89587509fc3b0a606c3f4eba 100755 (executable)
@@ -13,6 +13,7 @@
  * @brief   Regular expression filter for string iterators
  * @author  Marcus Boerger
  * @version 1.1
+ * @since PHP 5.0
  *
  * Instances of this class act as a filter around iterators. In other words 
  * you can put an iterator into the constructor and the instance will only 
index e7df18fc1fdef90c198f3fac7c5a4dc88098d13c..3d97b903b1c14d4fd23d48cc86182b53118b2bda 100755 (executable)
@@ -13,6 +13,7 @@
  * @brief   An infinite Iterator
  * @author  Marcus Boerger
  * @version 1.1
+ * @since PHP 5.1
  *
  * This Iterator takes another Iterator and infinitvely iterates it by
  * rewinding it when its end is reached.
index f36b1698324aa11af33954ccc70a88b00bcf5c55..311008b6d568df0fc383adf5d4f71771d37294c6 100755 (executable)
@@ -11,6 +11,7 @@
 
 /** @ingroup SPL
  * @brief Basic Iterator wrapper
+ * @since PHP 5.1
  */
 class IteratorIterator implements OuterIterator
 {
index c3f04864474c4ee4dd107d2e14bf8a1b5df4ac7b..930ba535fadacd518e0167dff9add9caadfc90bc 100755 (executable)
@@ -13,6 +13,7 @@
  * @brief   Limited Iteration over another Iterator
  * @author  Marcus Boerger
  * @version 1.1
+ * @since PHP 5.0
  *
  * A class that starts iteration at a certain offset and only iterates over
  * a specified amount of elements.
index 5aa9e27f04c224cb586c2ff45e7bdacf6fbe0557..37cfcc3ead3d6a5cc9f405221f1b7dff34df040f 100755 (executable)
@@ -13,7 +13,7 @@
  * @brief   An Iterator wrapper that doesn't call rewind
  * @author  Marcus Boerger
  * @version 1.1
- *
+ * @since PHP 5.1
  */
 class NoRewindIterator extends IteratorIterator
 {
index f8b41e7ac2c4d4bd07287dc20b99dbdffe2a0db6..dc7b11e05a0e1ff9f680130100adfb26550c47ad 100755 (executable)
@@ -13,6 +13,7 @@
  * @brief   Interface to access the current inner iteraor of iterator wrappers
  * @author  Marcus Boerger
  * @version 1.0
+ * @since PHP 5.1
  */
 interface OuterIterator extends Iterator
 {
index 3a97125d106ad219aaa588b1704c95bb78bd82c9..7fb0f11dd36dfd84035e68be8d0e1bdb300e23ed 100755 (executable)
@@ -13,6 +13,7 @@
  * @brief   Iterator to filter parents
  * @author  Marcus Boerger
  * @version 1.1
+ * @since PHP 5.0
  *
  * This extended FilterIterator allows a recursive iteration using 
  * RecursiveIteratorIterator that only shows those elements which have 
index 53656ec25528f5d301f471467c1eecb0f7dcdf5b..640be25a1340df3cd1fc0c4c2b1244a3043b7947 100755 (executable)
@@ -13,6 +13,7 @@
  * @brief   Interface for recursive iteration with RecursiveIteratorIterator
  * @author  Marcus Boerger
  * @version 1.0
+ * @since PHP 5.0
  */
 interface RecursiveIterator implements Iterator
 {
index 395c67079ee8dbf20b498564bb8c0055bd64e312..bba713ba09a685b052fce1a61e4f623e9ebc161e 100755 (executable)
@@ -17,6 +17,7 @@ define('RIT_CHILD_FIRST', 2);
  * @brief   Iterates through recursive iterators
  * @author  Marcus Boerger
  * @version 1.1
+ * @since PHP 5.0
  *
  * The objects of this class are created by instances of RecursiveIterator. 
  * Elements of those iterators may be traversable themselves. If so these 
index 78a3efdc7a8b84e3b24fdac3abf30c3347a274cc..586be27a7bc34f4c6fdb6df56e70444e8d4e8123 100755 (executable)
@@ -12,6 +12,7 @@
 /** @brief seekable iterator
  * @author  Marcus Boerger
  * @version 1.0
+ * @since PHP 5.0
  *
  * Turns a normal iterator ino a seekable iterator. When there is a way
  * to seek on an iterator LimitIterator can use this to efficiently rewind
index c65a080eda55b05d2034cd7fdfcefea6605874e6..dcf10f0c21051f723fd24250dbfbc9bcbf3880ae 100755 (executable)
 
 /** @ingroup ZendEngine
  * @brief Basic Exception class.
+ * @since PHP 5.0
  */
 class Exception
 {
@@ -221,6 +222,7 @@ class Exception
 
 /** @ingroup SPL
  * @brief Exception that represents error in the program logic.
+ * @since PHP 5.1
  *
  * This kind of exceptions should directly leed to a fix in your code.
  */
@@ -230,6 +232,7 @@ class LogicException extends Exception
 
 /** @ingroup SPL
  * @brief Exception thrown when a function call was illegal.
+ * @since PHP 5.1
  */
 class BadFunctionCallException extends LogicException
 {
@@ -237,6 +240,7 @@ class BadFunctionCallException extends LogicException
 
 /** @ingroup SPL
  * @brief Exception thrown when a method call was illegal.
+ * @since PHP 5.1
  */
 class BadMethodCallException extends BadFunctionCallException
 {
@@ -244,6 +248,7 @@ class BadMethodCallException extends BadFunctionCallException
 
 /** @ingroup SPL
  * @brief Exception that denotes a value not in the valid domain was used.
+ * @since PHP 5.1
  *
  * This kind of exception should be used to inform about domain erors in 
  * mathematical sense.
@@ -254,6 +259,7 @@ class DomainException extends LogicException
 
 /** @ingroup SPL
  * @brief Exception that denotes invalid arguments were passed.
+ * @since PHP 5.1
  */
 class InvalidArgumentException extends LogicException
 {
@@ -261,6 +267,7 @@ class InvalidArgumentException extends LogicException
 
 /** @ingroup SPL
  * @brief Exception thrown when a parameter exceeds the allowed length.
+ * @since PHP 5.1
  *
  * This can be used for strings length, array size, file size, number of 
  * elements read from an Iterator and so on.
@@ -271,6 +278,7 @@ class LengthException extends LogicException
 
 /** @ingroup SPL
  * @brief Exception thrown when an illegal index was requested.
+ * @since PHP 5.1
  *
  * This represents errors that should be detected at compile time.
  *
@@ -282,6 +290,7 @@ class OutOfRangeException extends LogicException
 
 /** @ingroup SPL
  * @brief Exception thrown for errors that are only detectable at runtime. 
+ * @since PHP 5.1
  */
 class RuntimeException extends Exception
 {
@@ -289,6 +298,7 @@ class RuntimeException extends Exception
 
 /** @ingroup SPL
  * @brief Exception thrown when an illegal index was requested.
+ * @since PHP 5.1
  *
  * This represents errors that cannot be detected at compile time.
  *
@@ -300,6 +310,7 @@ class OutOfBoundsException extends RuntimeException
 
 /** @ingroup SPL
  * @brief Exception thrown to indicate arithmetic/buffer overflow.
+ * @since PHP 5.1
  */
 class OverflowException extends RuntimeException
 {
@@ -307,6 +318,7 @@ class OverflowException extends RuntimeException
 
 /** @ingroup SPL
  * @brief Exception thrown to indicate range errors during program execution.
+ * @since PHP 5.1
  *
  * Normally this means there was an arithmetic error other than under/overflow.
  */
@@ -316,6 +328,7 @@ class RangeException extends RuntimeException
 
 /** @ingroup SPL
  * @brief Exception Exception thrown to indicate arithmetic/buffer underflow.
+ * @since PHP 5.1
  */
 class UnderflowException extends RuntimeException
 {
@@ -323,6 +336,7 @@ class UnderflowException extends RuntimeException
 
 /** @ingroup ZendEngine
  * @brief Interface to override array access of objects.
+ * @since PHP 5.0
  */
 interface ArrayAccess
 {
@@ -348,6 +362,7 @@ interface ArrayAccess
 
 /** @ingroup ZendEngine
  * @brief Interface to detect a class is traversable using foreach.
+ * @since PHP 5.0
  *
  * Abstract base interface that cannot be implemented alone. Instead it
  * must be implemented by either IteratorAggregate or Iterator. 
@@ -366,6 +381,7 @@ interface Traversable
 
 /** @ingroup ZendEngine
  * @brief Interface to create an external Iterator.
+ * @since PHP 5.0
  *
  * @note This is an engine internal interface.
  */ 
@@ -378,6 +394,7 @@ interface IteratorAggregate extends Traversable
 
 /** @ingroup ZendEngine
  * @brief Basic iterator
+ * @since PHP 5.0
  *
  * Interface for external iterators or objects that can be iterated 
  * themselves internally.
@@ -409,6 +426,7 @@ interface Iterator extends Traversable
 
 /** @ingroup SPL
  * @brief This Interface allows to hook into the global count() function.
+ * @since PHP 5.1
  */
 interface Countable
 {
@@ -419,6 +437,7 @@ interface Countable
 
 /** @ingroup SPL
  * @brief An Array wrapper
+ * @since PHP 5.0
  *
  * This array wrapper allows to recursively iterate over Arrays and public 
  * Object properties.
@@ -478,6 +497,7 @@ class ArrayObject implements IteratorAggregate, ArrayAccess, Countable
 
 /** @ingroup SPL
  * @brief An Array iterator
+ * @since PHP 5.0
  *
  * This iterator allows to unset and modify values and keys while iterating
  * over Arrays and Objects.
@@ -539,6 +559,7 @@ class ArrayIterator implements SeekableIterator, ArrayAccess, Countable
 
 /** @ingroup SPL
  * @brief Directory iterator
+ * @since PHP 5.0
  */
 class DirectoryIterator implements Iterator
 {
@@ -631,6 +652,7 @@ class DirectoryIterator implements Iterator
 
 /** @ingroup SPL
  * @brief recursive directory iterator
+ * @since PHP 5.0
  */
 class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator
 {
@@ -645,6 +667,7 @@ class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveI
 
 /** @ingroup SPL
  * @brief recursive SimpleXML_Element iterator
+ * @since PHP 5.0
  *
  * The SimpleXMLIterator implements the RecursiveIterator interface. This 
  * allows iteration over all elements using foreach or an appropriate while
@@ -666,6 +689,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator
 
 /** @ingroup SPL
  * @brief observer of the observer pattern
+ * @since PHP 5.1
  *
  * For a detailed explanation see Observer pattern in
  * <em>
@@ -683,6 +707,7 @@ interface Observer
 
 /** @ingroup SPL
  * @brief ubject to the observer pattern
+ * @since PHP 5.1
  * @see Observer
  */
 interface Subject