svn: /phpdoc/en/trunk/reference/spl/arrayiterator/ construct.xml

From: Date: Fri, 25 Sep 2009 17:52:49 +0000
Subject: svn: /phpdoc/en/trunk/reference/spl/arrayiterator/ construct.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4985@lists.php.net to get a copy of this message
brandon Fri, 25 Sep 2009 17:52:49 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288809 Log: Fixing ArrayIterator documentation. ArrayIterator does not take a string, but an array or an object; it throws an exception if you give it something else. Changed paths: U phpdoc/en/trunk/reference/spl/arrayiterator/construct.xml Modified: phpdoc/en/trunk/reference/spl/arrayiterator/construct.xml =================================================================== --- phpdoc/en/trunk/reference/spl/arrayiterator/construct.xml 2009-09-25 17:04:16 UTC (rev 288808) +++ phpdoc/en/trunk/reference/spl/arrayiterator/construct.xml 2009-09-25 17:52:49 UTC (rev 288809) @@ -11,7 +11,7 @@ &reftitle.description; <methodsynopsis> <methodname>ArrayIterator::__construct</methodname> - <methodparam><type>string</type><parameter>array</parameter></methodparam> + <methodparam><type>mixed</type><parameter>array</parameter></methodparam> </methodsynopsis> <para> Constructs an <classname>ArrayIterator</classname> <type>object</type>. @@ -29,7 +29,7 @@ <term><parameter>array</parameter></term> <listitem> <para> - The array. + The array or object to be iterated on. </para> </listitem> </varlistentry>

« previous php.doc.cvs (#4985) next »