From: Marcus Boerger Date: Sun, 31 Oct 2004 19:05:37 +0000 (+0000) Subject: - Update docu X-Git-Tag: RELEASE_0_2~787 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=081dac3026c470aa640aee1fc1645a27a1bf7603;p=php - Update docu --- diff --git a/ext/spl/internal/cachingiterator.inc b/ext/spl/internal/cachingiterator.inc index f1b896d05d..59271bfe07 100755 --- a/ext/spl/internal/cachingiterator.inc +++ b/ext/spl/internal/cachingiterator.inc @@ -1,7 +1,7 @@ it; } + + /** Aggregate the inner iterator + * + * @param func Name of method to invoke + * @param params Array of parameters to pass to method + */ + function __call($func, $params) + { + return call_user_func_array(array($this->it, $func), $params); + } } ?> \ No newline at end of file diff --git a/ext/spl/internal/iteratoriterator.inc b/ext/spl/internal/iteratoriterator.inc index 03cbc9f876..68828cea53 100755 --- a/ext/spl/internal/iteratoriterator.inc +++ b/ext/spl/internal/iteratoriterator.inc @@ -77,6 +77,16 @@ class IteratorIterator implements OuterIterator return $this->iterator->rewind(); } + /** Aggregate the inner iterator + * + * @param func Name of method to invoke + * @param params Array of parameters to pass to method + */ + function __call($func, $params) + { + return call_user_func_array(array($this->it, $func), $params); + } + /** The inner iterator must be private because when this class will be * converted to c code it won't no longer be available. */ diff --git a/ext/spl/internal/limititerator.inc b/ext/spl/internal/limititerator.inc index 0a27707079..e81874e791 100755 --- a/ext/spl/internal/limititerator.inc +++ b/ext/spl/internal/limititerator.inc @@ -1,7 +1,7 @@ it; } + + /** Aggregate the inner iterator + * + * @param func Name of method to invoke + * @param params Array of parameters to pass to method + */ + function __call($func, $params) + { + return call_user_func_array(array($this->it, $func), $params); + } } ?> \ No newline at end of file diff --git a/ext/spl/internal/outeriterator.inc b/ext/spl/internal/outeriterator.inc index 712212aba3..c8a7faab2c 100755 --- a/ext/spl/internal/outeriterator.inc +++ b/ext/spl/internal/outeriterator.inc @@ -1,7 +1,7 @@