svn: /phpdoc/fr/trunk/reference/stomp/stomp/ readframe.xml
| From: | Pierrick Charron | Date: | Mon, 18 Jan 2010 04:05:56 +0000 |
| Subject: | svn: /phpdoc/fr/trunk/reference/stomp/stomp/ readframe.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-7651@lists.php.net to get a copy of this message | ||
pierrick Mon, 18 Jan 2010 04:05:56 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293690
Log:
sync with EN
Changed paths:
U phpdoc/fr/trunk/reference/stomp/stomp/readframe.xml
Modified: phpdoc/fr/trunk/reference/stomp/stomp/readframe.xml
===================================================================
--- phpdoc/fr/trunk/reference/stomp/stomp/readframe.xml 2010-01-18 03:46:43 UTC (rev 293689)
+++ phpdoc/fr/trunk/reference/stomp/stomp/readframe.xml 2010-01-18 04:05:56 UTC (rev 293690)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 290998 Maintainer: pierrick Status: ready -->
+<!-- EN-Revision: 293689 Maintainer: pierrick Status: ready -->
<refentry xml:id="stomp.readframe" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -8,38 +8,70 @@
<refname>stomp_read_frame</refname>
<refpurpose>Lit le prochain message</refpurpose>
</refnamediv>
-
+
<refsect1 role="description">
&reftitle.description;
<para>Style orienté objet (méthode) :</para>
- <methodsynopsis>
+ <methodsynopsis>
<modifier>public</modifier>
<type>stompframe</type><methodname>Stomp::readFrame</methodname>
- <void />
- </methodsynopsis>
+ <methodparam
choice="opt"><type>string</type><parameter>class_name</parameter><initializer>"stompFrame"</initializer></methodparam>
+ </methodsynopsis>
<para>Style procédural :</para>
<methodsynopsis>
<type>array</type><methodname>stomp_read_frame</methodname>
<methodparam><type>resource</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>
- Lit le prochain message.
+ Lit le prochain message. Il est possible d'instancier un objet d'une classe
spécifique, et de passer les paramètres au constructeur de cette classe.
</para>
</refsect1>
-
+
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&stomp.param.link;
+ <varlistentry>
+ <term><parameter>class_name</parameter></term>
+ <listitem>
+ <para>
+ Le nom de la classe à instancier. Si ce paramètre n'est pas spécifié, un objet
stompFrame est retourné.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
-
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
&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>
+ Le paramètre <parameter>class_name</parameter> a été ajouté.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -67,9 +99,9 @@
?>
]]>
- </programlisting>
- &example.outputs.similar;
- <screen>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
<![CDATA[
object(StompFrame)#2 (3) {
["command"]=>
@@ -120,9 +152,9 @@
?>
]]>
- </programlisting>
- &example.outputs.similar;
- <screen>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
<![CDATA[
array(3) {
["command"]=>
@@ -150,7 +182,7 @@
</example>
</para>
</refsect1>
-
+
</refentry>
<!-- Keep this comment at the end of the file