svn: /phpdoc/en/trunk/reference/stomp/stomp/ readframe.xml
| From: | Pierrick Charron | Date: | Mon, 18 Jan 2010 03:46:43 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/stomp/stomp/ readframe.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5893@lists.php.net to get a copy of this message | ||
pierrick Mon, 18 Jan 2010 03:46:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293689
Log:
Update stomp documentation for the 0.4.0 release
Changed paths:
U phpdoc/en/trunk/reference/stomp/stomp/readframe.xml
Modified: phpdoc/en/trunk/reference/stomp/stomp/readframe.xml
===================================================================
--- phpdoc/en/trunk/reference/stomp/stomp/readframe.xml 2010-01-18 03:31:27 UTC (rev 293688)
+++ phpdoc/en/trunk/reference/stomp/stomp/readframe.xml 2010-01-18 03:46:43 UTC (rev 293689)
@@ -13,7 +13,7 @@
<para>Object oriented style (method):</para>
<methodsynopsis>
<modifier>public</modifier>
<type>stompframe</type><methodname>Stomp::readFrame</methodname>
- <void />
+ <methodparam
choice="opt"><type>string</type><parameter>class_name</parameter><initializer>"stompFrame"</initializer></methodparam>
</methodsynopsis>
<para>Procedural style:</para>
<methodsynopsis>
@@ -21,7 +21,7 @@
<methodparam><type>resource</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>
- Reads the next frame.
+ Reads the next frame. It is possible to instantiate an object of a specific class, and pass
parameters to that class's constructor.
</para>
</refsect1>
@@ -30,6 +30,14 @@
<para>
<variablelist>
&stomp.param.link;
+ <varlistentry>
+ <term><parameter>class_name</parameter></term>
+ <listitem>
+ <para>
+ The name of the class to instantiate. If not specified, a stompFrame object is returned.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -39,6 +47,30 @@
&stomp.note.transaction;
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>Stomp 0.4.0</entry>
+ <entry>
+ <parameter>class_name</parameter> parameter was added.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>