svn: /phpdoc/en/trunk/reference/ simplexml/simplexmlelement.xml spl/simplexmliterator.xml
| From: | Peter Cowburn | Date: | Sat, 21 Aug 2010 19:52:40 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/ simplexml/simplexmlelement.xml spl/simplexmliterator.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7033@lists.php.net to get a copy of this message | ||
salathe Sat, 21 Aug 2010 19:52:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=302623
Log:
simplexmlelement/iterator implements arrayaccess (doc #52655)
Bug: http://bugs.php.net/52655 (To be documented)
SimpleXMLIterator supports ArrayAccess without implementing Interface
Changed paths:
U phpdoc/en/trunk/reference/simplexml/simplexmlelement.xml
U phpdoc/en/trunk/reference/spl/simplexmliterator.xml
Modified: phpdoc/en/trunk/reference/simplexml/simplexmlelement.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/simplexmlelement.xml 2010-08-21 19:35:40 UTC (rev 302622)
+++ phpdoc/en/trunk/reference/simplexml/simplexmlelement.xml 2010-08-21 19:52:40 UTC (rev 302623)
@@ -31,6 +31,11 @@
<oointerface>
<interfacename>Traversable</interfacename>
</oointerface>
+
+ <oointerface>
+ <interfacename>ArrayAccess</interfacename>
+ </oointerface>
+
</classsynopsisinfo>
<!-- }}} -->
@@ -41,6 +46,34 @@
</section>
+ <section role="changelog"><!-- {{{ -->
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>&version.trunk.changelog;</entry>
+ <entry>
+ Implements <interfacename>ArrayAccess</interfacename>.
+ Previously, the same array-style access of attributes and elements
+ was possible without <classname>SimpleXMLElement</classname>
+ explicitly implementing the
+ <interfacename>ArrayAccess</interfacename> interface.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </section><!-- }}} -->
+
</partintro>
&reference.simplexml.entities.simplexmlelement;
Modified: phpdoc/en/trunk/reference/spl/simplexmliterator.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/simplexmliterator.xml 2010-08-21 19:35:40 UTC (rev 302622)
+++ phpdoc/en/trunk/reference/spl/simplexmliterator.xml 2010-08-21 19:52:40 UTC (rev 302623)
@@ -49,6 +49,10 @@
<interfacename>Countable</interfacename>
</oointerface>
+ <oointerface>
+ <interfacename>ArrayAccess</interfacename>
+ </oointerface>
+
</classsynopsisinfo>
<!-- }}} -->