From 2951b744fa51e68a996cbbffb3be52a97070ea74 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Fri, 11 Sep 2009 05:16:43 +0000 Subject: [PATCH] Added skeletons for a few SPL Iterator constructors. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288255 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/spl/filteriterator/construct.xml | 78 +++++++++++++++ reference/spl/limititerator/construct.xml | 96 +++++++++++++++++++ .../recursivecachingiterator/construct.xml | 89 +++++++++++++++++ 3 files changed, 263 insertions(+) create mode 100644 reference/spl/filteriterator/construct.xml create mode 100644 reference/spl/limititerator/construct.xml create mode 100644 reference/spl/recursivecachingiterator/construct.xml diff --git a/reference/spl/filteriterator/construct.xml b/reference/spl/filteriterator/construct.xml new file mode 100644 index 0000000000..473651fbab --- /dev/null +++ b/reference/spl/filteriterator/construct.xml @@ -0,0 +1,78 @@ + + + + + + FilterIterator::__construct + Construct a filterIterator + + + + &reftitle.description; + + FilterIterator::__construct + Iteratoriterator + + + Constructs a new FilterIterator, which consists of + a passed in iterator with filters applied to it. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + + + + iterator + + + The iterator that is being filtered. + + + + + + + + + &reftitle.returnvalues; + + The FilterIterator. + + + + + &reftitle.seealso; + + + LimitIterator::__construct + + + + + + + diff --git a/reference/spl/limititerator/construct.xml b/reference/spl/limititerator/construct.xml new file mode 100644 index 0000000000..9c3ac4167d --- /dev/null +++ b/reference/spl/limititerator/construct.xml @@ -0,0 +1,96 @@ + + + + + + LimitIterator::__construct + Construct a LimitIterator + + + + &reftitle.description; + + LimitIterator::__construct + Iteratoriterator + stringoffset + stringcount + + + Constructs a new LimitIterator, which consists of + a passed in iterator with limits applied to it. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + + + + iterator + + + The iterator to limit. + + + + + offset + + + Optional offset of the limit. + + + + + count + + + Optional count of the limit. + + + + + + + + + &reftitle.returnvalues; + + The new LimitIterator. + + + + + &reftitle.seealso; + + + FilterIterator::__construct + + + + + + + diff --git a/reference/spl/recursivecachingiterator/construct.xml b/reference/spl/recursivecachingiterator/construct.xml new file mode 100644 index 0000000000..0740a13185 --- /dev/null +++ b/reference/spl/recursivecachingiterator/construct.xml @@ -0,0 +1,89 @@ + + + + + + RecursiveCachingIterator::__construct + Construct + + + + &reftitle.description; + + RecursiveCachingIterator::__construct + Iteratoriterator + stringflagsself::CALL_TOSTRING + + + Constructs a new RecursiveCachingIterator, + which consists of a passed in iterator. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + + + + iterator + + + The iterator being used. + + + + + flags + + + The flags. Use CALL_TOSTRING to call + RecursiveCachingIterator::__toString for every element (the default), + and/or CATCH_GET_CHILD to catch exceptions when trying to get children. + + + + + + + + + &reftitle.returnvalues; + + The RecursiveCachingIterator. + + + + + &reftitle.seealso; + + + CachingIterator::__construct + + + + + + +