svn: /phpdoc/en/trunk/reference/spl/ appenditerator/key.xml cachingiterator/key.xml iteratoriterator/key.xml multipleiterator/current.xml
multipleiterator/key.xml

From: Date: Fri, 09 Nov 2012 23:12:56 +0000
Subject: svn: /phpdoc/en/trunk/reference/spl/ appenditerator/key.xml cachingiterator/key.xml iteratoriterator/key.xml multipleiterator/current.xml
multipleiterator/key.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-10677@lists.php.net to get a copy of this message
vrana Fri, 09 Nov 2012 23:12:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=328297 Log: Fix iterators' key() return type Changed paths: U phpdoc/en/trunk/reference/spl/appenditerator/key.xml U phpdoc/en/trunk/reference/spl/cachingiterator/key.xml U phpdoc/en/trunk/reference/spl/iteratoriterator/key.xml U phpdoc/en/trunk/reference/spl/multipleiterator/current.xml U phpdoc/en/trunk/reference/spl/multipleiterator/key.xml Modified: phpdoc/en/trunk/reference/spl/appenditerator/key.xml =================================================================== --- phpdoc/en/trunk/reference/spl/appenditerator/key.xml 2012-11-09 13:30:39 UTC (rev 328296) +++ phpdoc/en/trunk/reference/spl/appenditerator/key.xml 2012-11-09 23:12:56 UTC (rev 328297) @@ -10,11 +10,11 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>AppendIterator::key</methodname> + <modifier>public</modifier> <type>scalar</type><methodname>AppendIterator::key</methodname> <void /> </methodsynopsis> <para> - Get the current key + Get the current key. </para> </refsect1> Modified: phpdoc/en/trunk/reference/spl/cachingiterator/key.xml =================================================================== --- phpdoc/en/trunk/reference/spl/cachingiterator/key.xml 2012-11-09 13:30:39 UTC (rev 328296) +++ phpdoc/en/trunk/reference/spl/cachingiterator/key.xml 2012-11-09 23:12:56 UTC (rev 328297) @@ -10,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>CachingIterator::key</methodname> + <modifier>public</modifier> <type>scalar</type><methodname>CachingIterator::key</methodname> <void /> </methodsynopsis> Modified: phpdoc/en/trunk/reference/spl/iteratoriterator/key.xml =================================================================== --- phpdoc/en/trunk/reference/spl/iteratoriterator/key.xml 2012-11-09 13:30:39 UTC (rev 328296) +++ phpdoc/en/trunk/reference/spl/iteratoriterator/key.xml 2012-11-09 23:12:56 UTC (rev 328297) @@ -10,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>IteratorIterator::key</methodname> + <modifier>public</modifier> <type>scalar</type><methodname>IteratorIterator::key</methodname> <void /> </methodsynopsis> <para> Modified: phpdoc/en/trunk/reference/spl/multipleiterator/current.xml =================================================================== --- phpdoc/en/trunk/reference/spl/multipleiterator/current.xml 2012-11-09 13:30:39 UTC (rev 328296) +++ phpdoc/en/trunk/reference/spl/multipleiterator/current.xml 2012-11-09 23:12:56 UTC (rev 328297) @@ -14,7 +14,7 @@ <void /> </methodsynopsis> <para> - Get the registered iterator instances. + Get the registered iterator instances current() result. </para> &warn.undocumented.func; Modified: phpdoc/en/trunk/reference/spl/multipleiterator/key.xml =================================================================== --- phpdoc/en/trunk/reference/spl/multipleiterator/key.xml 2012-11-09 13:30:39 UTC (rev 328296) +++ phpdoc/en/trunk/reference/spl/multipleiterator/key.xml 2012-11-09 23:12:56 UTC (rev 328297) @@ -10,11 +10,11 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>MultipleIterator::key</methodname> + <modifier>public</modifier> <type>array</type><methodname>MultipleIterator::key</methodname> <void /> </methodsynopsis> <para> - Get the registered iterator instances. + Get the registered iterator instances key() result. </para> &warn.undocumented.func; @@ -40,6 +40,10 @@ A <classname>LogicException</classname> if mode <constant>MIT_NEED_ALL</constant> is set, and at least one attached iterator is not valid. </para> + <para> + Calling this method from <xref linkend="control-structures.foreach"/> + triggers warning "Illegal type returned". + </para> </refsect1> <refsect1 role="seealso">

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