svn: /phpdoc/en/trunk/reference/spl/splobjectstorage/ offsetset.xml
| From: | Richard Quadling | Date: | Tue, 01 Mar 2011 10:10:43 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/spl/splobjectstorage/ offsetset.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7819@lists.php.net to get a copy of this message | ||
rquadling Tue, 01 Mar 2011 10:10:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308807
Log:
Match SPLObjectStorage::offsetset() prototype to SPLObjectStorage::attach().
Fix documentation aspect of bug #54188
Bug: http://bugs.php.net/54188 (error getting bug
information)
Changed paths:
U phpdoc/en/trunk/reference/spl/splobjectstorage/offsetset.xml
Modified: phpdoc/en/trunk/reference/spl/splobjectstorage/offsetset.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/splobjectstorage/offsetset.xml 2011-03-01 10:09:10 UTC (rev
308806)
+++ phpdoc/en/trunk/reference/spl/splobjectstorage/offsetset.xml 2011-03-01 10:10:43 UTC (rev
308807)
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier>
<type>void</type><methodname>SplObjectStorage::offsetSet</methodname>
<methodparam><type>object</type><parameter>object</parameter></methodparam>
-
<methodparam><type>mixed</type><parameter>info</parameter></methodparam>
+ <methodparam
choice="opt"><type>mixed</type><parameter>data</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Associate data to an <type>object</type> in the storage.
@@ -37,7 +37,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>info</parameter></term>
+ <term><parameter>data</parameter></term>
<listitem>
<para>
The data to associate with the <type>object</type>.
@@ -87,6 +87,7 @@
&reftitle.seealso;
<para>
<simplelist>
+ <member><methodname>SplObjectStorage::attach</methodname></member>
<member><methodname>SplObjectStorage::offsetGet</methodname></member>
<member><methodname>SplObjectStorage::offsetExists</methodname></member>
<member><methodname>SplObjectStorage::offsetUnset</methodname></member>