From e4c484c0655444d214caa7f4128587970ecc943d Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Wed, 9 Sep 2009 02:13:38 +0000 Subject: [PATCH] Added skeletons for ArrayIterator git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288178 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/spl/arrayiterator/append.xml | 87 ++++++++++++++++++++ reference/spl/arrayiterator/asort.xml | 68 +++++++++++++++ reference/spl/arrayiterator/construct.xml | 77 +++++++++++++++++ reference/spl/arrayiterator/count.xml | 67 +++++++++++++++ reference/spl/arrayiterator/getarraycopy.xml | 67 +++++++++++++++ reference/spl/arrayiterator/getflags.xml | 66 +++++++++++++++ reference/spl/arrayiterator/ksort.xml | 68 +++++++++++++++ reference/spl/arrayiterator/natcasesort.xml | 69 ++++++++++++++++ reference/spl/arrayiterator/natsort.xml | 69 ++++++++++++++++ reference/spl/arrayiterator/offsetexists.xml | 77 +++++++++++++++++ 10 files changed, 715 insertions(+) create mode 100644 reference/spl/arrayiterator/append.xml create mode 100644 reference/spl/arrayiterator/asort.xml create mode 100644 reference/spl/arrayiterator/construct.xml create mode 100644 reference/spl/arrayiterator/count.xml create mode 100644 reference/spl/arrayiterator/getarraycopy.xml create mode 100644 reference/spl/arrayiterator/getflags.xml create mode 100644 reference/spl/arrayiterator/ksort.xml create mode 100644 reference/spl/arrayiterator/natcasesort.xml create mode 100644 reference/spl/arrayiterator/natsort.xml create mode 100644 reference/spl/arrayiterator/offsetexists.xml diff --git a/reference/spl/arrayiterator/append.xml b/reference/spl/arrayiterator/append.xml new file mode 100644 index 0000000000..1d46867208 --- /dev/null +++ b/reference/spl/arrayiterator/append.xml @@ -0,0 +1,87 @@ + + + + + + ArrayIterator::append + Append an element + + + + &reftitle.description; + + public voidArrayIterator::append + stringvalue + + + Appends value as the last element. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + + + + value + + + The value to append. + + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.notes; + + + This method cannot be called when the ArrayIterator + refers to an object. + + + + + + &reftitle.seealso; + + + ArrayIterator::next + + + + + + + diff --git a/reference/spl/arrayiterator/asort.xml b/reference/spl/arrayiterator/asort.xml new file mode 100644 index 0000000000..4b5eff94be --- /dev/null +++ b/reference/spl/arrayiterator/asort.xml @@ -0,0 +1,68 @@ + + + + + + ArrayIterator::asort + Sort array by values + + + + &reftitle.description; + + public voidArrayIterator::asort + + + + Sorts an array by values. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.seealso; + + + ArrayIterator::ksort + ArrayIterator::natcasesort + ArrayIterator::natsort + + + + + + + diff --git a/reference/spl/arrayiterator/construct.xml b/reference/spl/arrayiterator/construct.xml new file mode 100644 index 0000000000..1d448169a2 --- /dev/null +++ b/reference/spl/arrayiterator/construct.xml @@ -0,0 +1,77 @@ + + + + + + ArrayIterator::__construct + Construct an ArrayIterator + + + + &reftitle.description; + + ArrayIterator::__construct + stringarray + + + Constructs an ArrayIterator object. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + + + + array + + + The array. + + + + + + + + + &reftitle.returnvalues; + + An ArrayIterator object. + + + + + &reftitle.seealso; + + + ArrayIterator::getArrayCopy + + + + + + + diff --git a/reference/spl/arrayiterator/count.xml b/reference/spl/arrayiterator/count.xml new file mode 100644 index 0000000000..6ad3d4f730 --- /dev/null +++ b/reference/spl/arrayiterator/count.xml @@ -0,0 +1,67 @@ + + + + + + ArrayIterator::count + Count elements + + + + &reftitle.description; + + public voidArrayIterator::count + + + + Gets the number of elements in the array, or the number of + public properties in the object. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + The number. + + + + + &reftitle.seealso; + + + ArrayIterator::getFlags + + + + + + + diff --git a/reference/spl/arrayiterator/getarraycopy.xml b/reference/spl/arrayiterator/getarraycopy.xml new file mode 100644 index 0000000000..1a0afb690e --- /dev/null +++ b/reference/spl/arrayiterator/getarraycopy.xml @@ -0,0 +1,67 @@ + + + + + + ArrayIterator::getArrayCopy + Get array copy + + + + &reftitle.description; + + public voidArrayIterator::getArrayCopy + + + + Get a copy of an array. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + A copy of the array, or array of public properties + if ArrayIterator refers to an object. + + + + + &reftitle.seealso; + + + ArrayIterator::valid + + + + + + + diff --git a/reference/spl/arrayiterator/getflags.xml b/reference/spl/arrayiterator/getflags.xml new file mode 100644 index 0000000000..89adc3a3ed --- /dev/null +++ b/reference/spl/arrayiterator/getflags.xml @@ -0,0 +1,66 @@ + + + + + + ArrayIterator::getFlags + Get flags + + + + &reftitle.description; + + public voidArrayIterator::getFlags + + + + Get the current flags. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + The current flags. + + + + + &reftitle.seealso; + + + ArrayIterator::valid + + + + + + + diff --git a/reference/spl/arrayiterator/ksort.xml b/reference/spl/arrayiterator/ksort.xml new file mode 100644 index 0000000000..2c2fa5f02f --- /dev/null +++ b/reference/spl/arrayiterator/ksort.xml @@ -0,0 +1,68 @@ + + + + + + ArrayIterator::ksort + Sort array by keys + + + + &reftitle.description; + + public voidArrayIterator::ksort + + + + Sorts an array by the keys. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.seealso; + + + ArrayIterator::asort + ArrayIterator::natcasesort + ArrayIterator::natsort + + + + + + + diff --git a/reference/spl/arrayiterator/natcasesort.xml b/reference/spl/arrayiterator/natcasesort.xml new file mode 100644 index 0000000000..a58ec5e974 --- /dev/null +++ b/reference/spl/arrayiterator/natcasesort.xml @@ -0,0 +1,69 @@ + + + + + + ArrayIterator::natcasesort + Sort an array naturally, case insensitive + + + + &reftitle.description; + + public voidArrayIterator::natcasesort + + + + Sort the entries by values using a case insensitive "natural order" algorithm. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.seealso; + + + ArrayIterator::asort + ArrayIterator::ksort + ArrayIterator::natsort + natcasesort + + + + + + + diff --git a/reference/spl/arrayiterator/natsort.xml b/reference/spl/arrayiterator/natsort.xml new file mode 100644 index 0000000000..2250a710bb --- /dev/null +++ b/reference/spl/arrayiterator/natsort.xml @@ -0,0 +1,69 @@ + + + + + + ArrayIterator::natsort + Sort an array naturally + + + + &reftitle.description; + + public voidArrayIterator::natsort + + + + Sort the entries by values using "natural order" algorithm. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.seealso; + + + ArrayIterator::asort + ArrayIterator::ksort + ArrayIterator::natcasesort + natsort + + + + + + + diff --git a/reference/spl/arrayiterator/offsetexists.xml b/reference/spl/arrayiterator/offsetexists.xml new file mode 100644 index 0000000000..1fe53bbd7f --- /dev/null +++ b/reference/spl/arrayiterator/offsetexists.xml @@ -0,0 +1,77 @@ + + + + + + ArrayIterator::offsetExists + Check if offset exists + + + + &reftitle.description; + + public voidArrayIterator::offsetExists + stringindex + + + Checks if the offset exists. + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + + + + index + + + The offset being checked. + + + + + + + + + &reftitle.returnvalues; + + &true; if the offset exists, otherwise &false; + + + + + &reftitle.seealso; + + + ArrayIterator::valid + + + + + + +