cvs: phpdoc-fr /reference/stream/functions stream-filter-register.xml stream-get-contents.xml stream-get-line.xml stream-set-blocking.xml
stream-set-timeout.xml stream-set-write-buffer.xml stream-socket-recvfrom.xml stream-socket-server.xml stream-wrapper-register.xml

From: Date: Tue, 14 Apr 2009 20:06:43 +0000
Subject: cvs: phpdoc-fr /reference/stream/functions stream-filter-register.xml stream-get-contents.xml stream-get-line.xml stream-set-blocking.xml
stream-set-timeout.xml stream-set-write-buffer.xml stream-socket-recvfrom.xml stream-socket-server.xml stream-wrapper-register.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-7060@lists.php.net to get a copy of this message
dams Tue Apr 14 20:06:43 2009 UTC Modified files: /phpdoc-fr/reference/stream/functions stream-filter-register.xml stream-get-contents.xml stream-get-line.xml stream-set-blocking.xml stream-set-timeout.xml stream-set-write-buffer.xml stream-socket-recvfrom.xml stream-socket-server.xml stream-wrapper-register.xml Log: fix refeect1

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-filter-register.xml?r1=1.21&r2=1.22&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-filter-register.xml diff -u phpdoc-fr/reference/stream/functions/stream-filter-register.xml:1.21 phpdoc-fr/reference/stream/functions/stream-filter-register.xml:1.22 --- phpdoc-fr/reference/stream/functions/stream-filter-register.xml:1.21 Fri Apr 10 22:05:02 2009 +++ phpdoc-fr/reference/stream/functions/stream-filter-register.xml Tue Apr 14 20:06:43 2009 @@ -1,27 +1,27 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <!-- EN-Revision: 1.16 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.stream-filter-register" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stream_filter_register</refname> - <refpurpose>Enregistre un filtre de flux</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>stream_filter_register</methodname> - <methodparam><type>string</type><parameter>filtername</parameter></methodparam> - <methodparam><type>string</type><parameter>classname</parameter></methodparam> - </methodsynopsis> - <para> - <function>stream_filter_register</function> vous permet d'implémenter - votre propre filtre de flux, à utiliser avec les fonctions d'accès - aux données externes (comme <function>fopen</function>, - <function>fread</function>, etc.). - </para> - </refsect1> +<refentry xml:id="function.stream-filter-register" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stream_filter_register</refname> + <refpurpose>Enregistre un filtre de flux</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>stream_filter_register</methodname> + <methodparam><type>string</type><parameter>filtername</parameter></methodparam> + <methodparam><type>string</type><parameter>classname</parameter></methodparam> + </methodsynopsis> + <para> + <function>stream_filter_register</function> vous permet d'implémenter + votre propre filtre de flux, à utiliser avec les fonctions d'accès + aux données externes (comme <function>fopen</function>, + <function>fread</function>, etc.). + </para> + </refsect1> <refsect1 role="parameters"> &reftitle.parameters; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-get-contents.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-get-contents.xml diff -u phpdoc-fr/reference/stream/functions/stream-get-contents.xml:1.15 phpdoc-fr/reference/stream/functions/stream-get-contents.xml:1.16 --- phpdoc-fr/reference/stream/functions/stream-get-contents.xml:1.15 Wed Apr 8 16:39:46 2009 +++ phpdoc-fr/reference/stream/functions/stream-get-contents.xml Tue Apr 14 20:06:43 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <!-- EN-Revision: 1.9 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> @@ -8,7 +8,7 @@ <refname>stream_get_contents</refname> <refpurpose>Lit tout un flux dans une chaîne</refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>stream_get_contents</methodname> @@ -58,6 +58,13 @@ </para> </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne une &string; ou bien &false; en cas d'échec. + </para> + </refsect1> + <refsect1 role="changelog"> &reftitle.changelog; <para> @@ -82,13 +89,6 @@ </para> </refsect1> - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Retourne une chaîne de caractères ou &false; en cas d'échec. - </para> - </refsect1> - <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-get-line.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-get-line.xml diff -u phpdoc-fr/reference/stream/functions/stream-get-line.xml:1.13 phpdoc-fr/reference/stream/functions/stream-get-line.xml:1.14 --- phpdoc-fr/reference/stream/functions/stream-get-line.xml:1.13 Tue Apr 7 17:47:45 2009 +++ phpdoc-fr/reference/stream/functions/stream-get-line.xml Tue Apr 14 20:06:43 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> @@ -8,7 +8,7 @@ <refname>stream_get_line</refname> <refpurpose>Lit une ligne dans un flux</refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>stream_get_line</methodname> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-set-blocking.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-set-blocking.xml diff -u phpdoc-fr/reference/stream/functions/stream-set-blocking.xml:1.17 phpdoc-fr/reference/stream/functions/stream-set-blocking.xml:1.18 --- phpdoc-fr/reference/stream/functions/stream-set-blocking.xml:1.17 Fri Apr 10 22:05:02 2009 +++ phpdoc-fr/reference/stream/functions/stream-set-blocking.xml Tue Apr 14 20:06:43 2009 @@ -1,25 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <!-- EN-Revision: 1.7 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.stream-set-blocking" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stream_set_blocking</refname> - <refpurpose>Configure le mode bloquant d'un flux</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>stream_set_blocking</methodname> - <methodparam><type>resource</type><parameter>stream</parameter></methodparam> - <methodparam><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <function>stream_set_blocking</function> configure le mode bloquant - du flux <parameter>stream</parameter>. - </para> - <para> +<refentry xml:id="function.stream-set-blocking" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stream_set_blocking</refname> + <refpurpose>Configure le mode bloquant d'un flux</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>stream_set_blocking</methodname> + <methodparam><type>resource</type><parameter>stream</parameter></methodparam> + <methodparam><type>int</type><parameter>mode</parameter></methodparam> + </methodsynopsis> + <para> + <function>stream_set_blocking</function> configure le mode bloquant + du flux <parameter>stream</parameter>. + </para> + <para> Cette fonction fonctionne pour tous les flux qui supportent le mode non-bloquant (actuellement, les fichiers et les flux de sockets). </para> @@ -93,6 +93,18 @@ </para> </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + Cette fonction s'appelait jadis + <function>set_socket_blocking</function> puis + <function>socket_set_blocking</function> mais leur + usage est déconseillé. + </para> + </note> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <simplelist> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-set-timeout.xml?r1=1.20&r2=1.21&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-set-timeout.xml diff -u phpdoc-fr/reference/stream/functions/stream-set-timeout.xml:1.20 phpdoc-fr/reference/stream/functions/stream-set-timeout.xml:1.21 --- phpdoc-fr/reference/stream/functions/stream-set-timeout.xml:1.20 Wed Apr 8 16:39:46 2009 +++ phpdoc-fr/reference/stream/functions/stream-set-timeout.xml Tue Apr 14 20:06:43 2009 @@ -1,31 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.20 $ --> +<!-- $Revision: 1.21 $ --> <!-- EN-Revision: 1.13 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.stream-set-timeout" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stream_set_timeout</refname> - <refpurpose>Configure la durée d'expiration d'un flux</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>stream_set_timeout</methodname> - <methodparam><type>resource</type><parameter>stream</parameter></methodparam> - <methodparam><type>int</type><parameter>seconds</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>microseconds</parameter><initializer>0</initializer></methodparam> - </methodsynopsis> - <para> - <function>stream_set_timeout</function> configure la durée d'expiration - du flux <parameter>stream</parameter>, exprimé comme la durée de - <parameter>seconds</parameter> secondes et - <parameter>microseconds</parameter> microsecondes. - </para> - <para> - Lorsque le flux se termine, la clé 'timed_out' du tableau retourné par - <function>stream_get_meta_data</function> est défini à &true;, - cependant, aucune erreur/alerte n'est générée. - </para> +<refentry xml:id="function.stream-set-timeout" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stream_set_timeout</refname> + <refpurpose>Configure la durée d'expiration d'un flux</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>stream_set_timeout</methodname> + <methodparam><type>resource</type><parameter>stream</parameter></methodparam> + <methodparam><type>int</type><parameter>seconds</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>microseconds</parameter><initializer>0</initializer></methodparam> + </methodsynopsis> + <para> + <function>stream_set_timeout</function> configure la durée d'expiration + du flux <parameter>stream</parameter>, exprimé comme la durée de + <parameter>seconds</parameter> secondes et + <parameter>microseconds</parameter> microsecondes. + </para> + <para> + Lorsque le flux se termine, la clé 'timed_out' du tableau retourné par + <function>stream_get_meta_data</function> est défini à &true;, + cependant, aucune erreur ou alerte n'est générée. + </para> </refsect1> <refsect1 role="parameters"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-set-write-buffer.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-set-write-buffer.xml diff -u phpdoc-fr/reference/stream/functions/stream-set-write-buffer.xml:1.12 phpdoc-fr/reference/stream/functions/stream-set-write-buffer.xml:1.13 --- phpdoc-fr/reference/stream/functions/stream-set-write-buffer.xml:1.12 Tue Apr 7 17:47:45 2009 +++ phpdoc-fr/reference/stream/functions/stream-set-write-buffer.xml Tue Apr 14 20:06:43 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> @@ -8,7 +8,7 @@ <refname>stream_set_write_buffer</refname> <refpurpose>Configure le buffer d'écriture d'un flux</refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>stream_set_write_buffer</methodname> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-socket-recvfrom.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-socket-recvfrom.xml diff -u phpdoc-fr/reference/stream/functions/stream-socket-recvfrom.xml:1.12 phpdoc-fr/reference/stream/functions/stream-socket-recvfrom.xml:1.13 --- phpdoc-fr/reference/stream/functions/stream-socket-recvfrom.xml:1.12 Wed Apr 8 16:39:46 2009 +++ phpdoc-fr/reference/stream/functions/stream-socket-recvfrom.xml Tue Apr 14 20:06:43 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- EN-Revision: 1.12 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> @@ -8,7 +8,7 @@ <refname>stream_socket_recvfrom</refname> <refpurpose>Lit des données depuis une socket, connectée ou pas</refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>stream_socket_recvfrom</methodname> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-socket-server.xml?r1=1.21&r2=1.22&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-socket-server.xml diff -u phpdoc-fr/reference/stream/functions/stream-socket-server.xml:1.21 phpdoc-fr/reference/stream/functions/stream-socket-server.xml:1.22 --- phpdoc-fr/reference/stream/functions/stream-socket-server.xml:1.21 Wed Apr 8 16:39:46 2009 +++ phpdoc-fr/reference/stream/functions/stream-socket-server.xml Tue Apr 14 20:06:43 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <!-- EN-Revision: 1.21 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> @@ -10,7 +10,7 @@ Crée une socket serveur Unix ou Internet </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>stream_socket_server</methodname> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-wrapper-register.xml?r1=1.22&r2=1.23&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-wrapper-register.xml diff -u phpdoc-fr/reference/stream/functions/stream-wrapper-register.xml:1.22 phpdoc-fr/reference/stream/functions/stream-wrapper-register.xml:1.23 --- phpdoc-fr/reference/stream/functions/stream-wrapper-register.xml:1.22 Wed Apr 8 16:39:46 2009 +++ phpdoc-fr/reference/stream/functions/stream-wrapper-register.xml Tue Apr 14 20:06:43 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <!-- EN-Revision: 1.22 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> @@ -10,7 +10,7 @@ Enregistre un gestionnaire d'URL </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>stream_wrapper_register</methodname>
« previous php.doc.fr (#7060) next »