cvs: phpdoc-fr /reference/stream/functions stream-context-set-params.xml stream-filter-remove.xml stream-get-filters.xml
/reference/stream/streamwrapper construct.xml dir-opendir.xml dir-readdir.xml mkdir.xml rename.xml rmdir.xml stream-flush.xml stream-open.xml
stream-read.xml url-stat.xml
| From: | Damien Seguy | Date: | Fri, 03 Apr 2009 08:19:20 +0000 |
| Subject: | cvs: phpdoc-fr /reference/stream/functions stream-context-set-params.xml stream-filter-remove.xml stream-get-filters.xml /reference/stream/streamwrapper construct.xml dir-opendir.xml dir-readdir.xml mkdir.xml rename.xml rmdir.xml stream-flush.xml stream-open.xml stream-read.xml url-stat.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-6918@lists.php.net to get a copy of this message | ||
dams Fri Apr 3 08:19:20 2009 UTC
Modified files:
/phpdoc-fr/reference/stream/functions stream-context-set-params.xml
stream-filter-remove.xml
stream-get-filters.xml
/phpdoc-fr/reference/stream/streamwrapper construct.xml
dir-opendir.xml
dir-readdir.xml mkdir.xml
rename.xml rmdir.xml
stream-flush.xml
stream-open.xml
stream-read.xml
url-stat.xml
Log:
synch with en
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-context-set-params.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-context-set-params.xml diff -u phpdoc-fr/reference/stream/functions/stream-context-set-params.xml:1.18 phpdoc-fr/reference/stream/functions/stream-context-set-params.xml:1.19 --- phpdoc-fr/reference/stream/functions/stream-context-set-params.xml:1.18 Sun Mar 29 19:09:00 2009 +++ phpdoc-fr/reference/stream/functions/stream-context-set-params.xml Fri Apr 3 08:19:20 2009 @@ -1,12 +1,12 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.stream-context-set-params" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>stream_context_set_params</refname> - <refpurpose>Configure les paramètres pour un flux/gestionnaire/contexte</refpurpose> + <refpurpose>Configure les paramètres pour un flux/gestionnaire/contexte</refpurpose> </refnamediv> <refsect1 role="description"> @@ -17,8 +17,8 @@ <methodparam><type>array</type><parameter>params</parameter></methodparam> </methodsynopsis> <para> - <function>stream_context_set_params</function> définit - les paramètres pour le contexte spécifié. + <function>stream_context_set_params</function> définit + les paramètres pour le contexte spécifié. </para> </refsect1> @@ -30,7 +30,7 @@ <term><parameter>stream_or_context</parameter></term> <listitem> <para> - Le flux ou le contexte sur lequel on applique les paramètres. + Le flux ou le contexte sur lequel on applique les paramètres. </para> </listitem> </varlistentry> @@ -38,11 +38,11 @@ <term><parameter>params</parameter></term> <listitem> <para> - Un tableau de paramètres à définir. + Un tableau de paramètres à définir. </para> <note> <para> - Le paramètre <parameter>params</parameter> doit être un + Le paramètre <parameter>params</parameter> doit être un tableau associatif, au format : <literal>$params['paramname'] = "paramvalue";</literal>. </para> @@ -54,12 +54,12 @@ </refsect1><!-- }}} --> <refsect1 role="options"><!-- {{{ --> - <title>Paramètres supportés</title> + <title>Paramètres supportés</title> <informaltable> <tgroup cols="2"> <thead> <row> - <entry>Paramètres</entry> + <entry>Paramètres</entry> <entry>Usage</entry> </row> </thead> @@ -67,16 +67,15 @@ <row> <entry><literal>notification</literal></entry> <entry> - Nom de la fonction utilisateur appelée dès qu'un - flux génère une notification. + Nom de la fonction utilisateur appelée dès qu'un + flux génère une notification. </entry> </row> <row> <entry><literal>options</literal></entry> <entry> - Voyez la section sur les - <link linkend="context.params">contextes</link> pour - connaître la liste des paramètres standard de flux. + Un tableau d'option, comme pour les + <link linkend="context">options et parameters de contexte</link>. </entry> </row> </tbody> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-filter-remove.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-filter-remove.xml diff -u phpdoc-fr/reference/stream/functions/stream-filter-remove.xml:1.6 phpdoc-fr/reference/stream/functions/stream-filter-remove.xml:1.7 --- phpdoc-fr/reference/stream/functions/stream-filter-remove.xml:1.6 Tue Mar 25 00:09:32 2008 +++ phpdoc-fr/reference/stream/functions/stream-filter-remove.xml Fri Apr 3 08:19:20 2009 @@ -1,33 +1,60 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> - <refentry xml:id="function.stream-filter-remove" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stream_filter_remove</refname> - <refpurpose>Supprime un filtre d'un flux</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>stream_filter_remove</methodname> - <methodparam><type>resource</type><parameter>stream_filter</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>stream_filter_append</function> supprime le dernier - filtre ajouté au flux <parameter>stream_filter</parameter> avec - <function>stream_filter_prepend</function> ou - <function>stream_filter_append</function>. - Toutes les données qui sont dans les buffers seront - transmises au filtre, avant de le supprimer. - </simpara> - <para> - <example> - <title>Filtrage dynamique d'un flux</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: dams Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="function.stream-filter-remove" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stream_filter_remove</refname> + <refpurpose>Retire un filtre d'un flux</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>stream_filter_remove</methodname> + <methodparam><type>resource</type><parameter>stream_filter</parameter></methodparam> + </methodsynopsis> + <para> + <function>stream_filter_remove</function> retire un filtre d'un flux, + précédemment ajouté avec <function>stream_filter_prepend</function> ou + <function>stream_filter_append</function>. Toutes les données qui restent + dans les buffer internes seront traitées par le filtre, + avant que ce dernier ne soit supprimé. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>stream_filter</parameter></term> + <listitem> + <para> + Le filtre de flux à supprimer. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Refiltrage dynamique d'un flux</title> + <programlisting role="php"> <![CDATA[ <?php -/* Ouvre un fichier de test pour lecture et écriture */ +/* Ouverture d'un fichier de tests pour l'écriture et la lecture */ $fp = fopen("test.txt", "rw"); $rot13_filter = stream_filter_append($fp, "string.rot13", STREAM_FILTER_WRITE); @@ -39,25 +66,31 @@ fpassthru($fp); fclose($fp); -/* Affichage prévu - --------------- - -Prpv rfg un test - - */ ?> ]]> - </programlisting> - </example> - </para> - <simpara> - Voir aussi - <function>stream_filter_register</function>, - <function>stream_filter_append</function> et - <function>stream_filter_prepend</function>. - </simpara> - </refsect1> - </refentry> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +Prpv rfg un test +]]> + </screen> + </example> + + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>stream_filter_register</function></member> + <member><function>stream_filter_append</function></member> + <member><function>stream_filter_prepend</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-get-filters.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-get-filters.xml diff -u phpdoc-fr/reference/stream/functions/stream-get-filters.xml:1.13 phpdoc-fr/reference/stream/functions/stream-get-filters.xml:1.14 --- phpdoc-fr/reference/stream/functions/stream-get-filters.xml:1.13 Sat Jun 21 20:51:45 2008 +++ phpdoc-fr/reference/stream/functions/stream-get-filters.xml Fri Apr 3 08:19:20 2009 @@ -1,41 +1,48 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.14 $ --> <!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.stream-get-filters" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stream_get_filters</refname> - <refpurpose>Liste les filtres enregistrés</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>stream_get_filters</methodname> - <void/> - </methodsynopsis> - <simpara> - <methodname>stream_get_filters</methodname> retourne un tableau - indexé contenant la liste des filtres de flux disponibles - sur le système. - </simpara> - <para> - <example> - <title>Exemple avec <function>stream_get_filters</function></title> - <programlisting role="php"> +<refentry xml:id="function.stream-get-filters" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stream_get_filters</refname> + <refpurpose>Liste les filtres enregistrés</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>stream_get_filters</methodname> + <void/> + </methodsynopsis> + <simpara> + <function>stream_get_filters</function> lit la liste + des filtres enregistrés. + </simpara> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un tableau indexé contenant la liste des filtres + de flux disponibles sur le système. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>stream_get_filters</function></title> + <programlisting role="php"> <![CDATA[ <?php $streamlist = stream_get_filters(); print_r($streamlist); ?> ]]> - </programlisting> - <para> - L'affichage sera semblable a ce qui suit. - Note : il peut y avoir plus ou moins de filtres - suivant votre version de PHP - </para> - <screen> + </programlisting> + &example.outputs.similar; + <screen> <![CDATA[ Array ( [0] => string.rot13 @@ -45,16 +52,20 @@ [4] => string.quoted-printable ) ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>stream_filter_register</function> et - <function>stream_get_wrappers</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> +</refsect1> + +<refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>stream_filter_register</function></member> + <member><function>stream_get_wrappers</function></member> + </simplelist> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/construct.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/construct.xml diff -u phpdoc-fr/reference/stream/streamwrapper/construct.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/construct.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/construct.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/construct.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -16,7 +16,8 @@ <void /> </methodsynopsis> <para> - Appelé à la création du gestionnaire de flux. + Appelé à la création du gestionnaire de flux, juste avant + <methodname>streamWrapper::stream_open</methodname>. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml diff -u phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.dir-opendir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -42,7 +42,8 @@ <term><parameter>options</parameter></term> <listitem> <para> - S'il faut activer le mode de sécurité ou pas (0x04). + S'il faut appliquer le + <link linkend="ini.safe-mode">safe_mode</link> ou pas (0x04). </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml diff -u phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.dir-readdir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -29,10 +29,21 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Doit retourner une &string; représentant le prochain nom de fichiers. + Doit retourner une &string; représentant le prochain nom de fichier, + ou &false; s'i n'y a pas d'autre fichier. </para> + <note> + <para> + La valeur retournée sera transtypée en &string;. + </para> + </note> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/mkdir.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/mkdir.xml diff -u phpdoc-fr/reference/stream/streamwrapper/mkdir.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/mkdir.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/mkdir.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/mkdir.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.mkdir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -69,6 +69,11 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + <!-- <refsect1 role="examples"> &reftitle.examples; @@ -93,6 +98,11 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/rename.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/rename.xml diff -u phpdoc-fr/reference/stream/streamwrapper/rename.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/rename.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/rename.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/rename.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.rename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -64,6 +64,11 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + <!-- <refsect1 role="examples"> &reftitle.examples; @@ -88,6 +93,11 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/rmdir.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/rmdir.xml diff -u phpdoc-fr/reference/stream/streamwrapper/rmdir.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/rmdir.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/rmdir.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/rmdir.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.rmdir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -60,6 +60,11 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + <!-- <refsect1 role="examples"> &reftitle.examples; @@ -84,6 +89,11 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml diff -u phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.stream-flush" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -63,6 +63,16 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + <note> + <para> + Si non implémentée, &false; sera utilisée comme + valeur de retour. + </para> + </note> + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/stream-open.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/stream-open.xml diff -u phpdoc-fr/reference/stream/streamwrapper/stream-open.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/stream-open.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/stream-open.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/stream-open.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.stream-open" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -61,7 +61,7 @@ <term><parameter>options</parameter></term> <listitem> <para> - Contient les options supplémentairesp our le flux. Il peut contenir + Contient les options supplémentaires pour le flux. Il peut contenir une ou plusieurs constantes parmi les suivantes, combinées par des OR. <informaltable> @@ -74,14 +74,14 @@ </thead> <tbody> <row> - <entry>STREAM_USE_PATH</entry> + <entry><constant>STREAM_USE_PATH</constant></entry> <entry> Si <parameter>path</parameter> est relatif recherche la ressource en incluant l'include_path. </entry> </row> <row> - <entry>STREAM_REPORT_ERRORS</entry> + <entry><constant>STREAM_REPORT_ERRORS</constant></entry> <entry> Si cette option est active, vous êtes responsable pour émettre une erreur, avec <function>trigger_error</function> @@ -100,7 +100,7 @@ <listitem> <para> Si le chemin <parameter>path</parameter> est ouvert correctement, - et que la constante STREAM_USE_PATH est configurée via + et que la constante <constant>STREAM_USE_PATH</constant> est configurée via <parameter>options</parameter>, alors <parameter>opened_path</parameter> doit contenir le chemin complet qui a été réellement ouvert. </para> @@ -117,6 +117,12 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + +<!-- {{{ <refsect1 role="examples"> &reftitle.examples; <para> @@ -138,6 +144,12 @@ </example> </para> </refsect1> +}}}--> + + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> <refsect1 role="seealso"> &reftitle.seealso; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/stream-read.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/stream-read.xml diff -u phpdoc-fr/reference/stream/streamwrapper/stream-read.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/stream-read.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/stream-read.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/stream-read.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.stream-read" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -55,6 +55,19 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + <note> + <para> + If the return value is longer then <parameter>count</parameter> an + <constant>E_WARNING</constant> error will be emitted, and excess data will be + lost. + </para> + </note> + </refsect1><!-- }}} --> + + <!-- <refsect1 role="examples"> &reftitle.examples; @@ -79,6 +92,18 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + <note> + <para> + <methodname>streamWrapper::stream_eof</methodname> est appelé directement + après <methodname>streamWrapper::stream_read</methodname> pour vérifier + si <acronym>EOF</acronym> a été atteint. Si la fonction n'est pas + implémenté, <acronym>EOF</acronym> est utilisé. + </para> + </note> + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/url-stat.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/url-stat.xml diff -u phpdoc-fr/reference/stream/streamwrapper/url-stat.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/url-stat.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/url-stat.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/url-stat.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.url-stat" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -20,9 +20,47 @@ Cette méthode est appelée en réponse à <function>stat</function>. </para> <para> - Elle doit retourner autant d'élément que le fait <function>stat</function>. - Les valeurs inconnues ou inaccessibles doivent être mise à une - valeur raisonnable (généralement, <constant>0</constant>). + Cette méthode est appelée en réponse à toutes les fonctions + liées à <function>stat</function>, telles que : + <simplelist> + <member><function>chmod</function> (uniquement quand + <link linkend="ini.safe-mode">safe_mode</link> est activé)</member> + <member><function>copy</function></member> + <member><function>fileperms</function></member> + <member><function>fileinode</function></member> + <member><function>filesize</function></member> + <member><function>fileowner</function></member> + <member><function>filegroup</function></member> + <member><function>fileatime</function></member> + <member><function>filemtime</function></member> + <member><function>filectime</function></member> + <member><function>filetype</function></member> + <member><function>is_writable</function></member> + <member><function>is_readable</function></member> + <member><function>is_executable</function></member> + <member><function>is_file</function></member> + <member><function>is_dir</function></member> + <member><function>is_link</function></member> + <member><function>file_exists</function></member> + <member><function>lstat</function></member> + <member><function>stat</function></member> + <member><methodname>SplFileInfo::getPerms</methodname></member> + <member><methodname>SplFileInfo::getInode</methodname></member> + <member><methodname>SplFileInfo::getSize</methodname></member> + <member><methodname>SplFileInfo::getOwner</methodname></member> + <member><methodname>SplFileInfo::getGroup</methodname></member> + <member><methodname>SplFileInfo::getATime</methodname></member> + <member><methodname>SplFileInfo::getMTime</methodname></member> + <member><methodname>SplFileInfo::getCTime</methodname></member> + <member><methodname>SplFileInfo::getType</methodname></member> + <member><methodname>SplFileInfo::isWritable</methodname></member> + <member><methodname>SplFileInfo::isReadable</methodname></member> + <member><methodname>SplFileInfo::isExecutable</methodname></member> + <member><methodname>SplFileInfo::isFile</methodname></member> + <member><methodname>SplFileInfo::isDir</methodname></member> + <member><methodname>SplFileInfo::isLink</methodname></member> + <member><methodname>RecursiveDirectoryIterator::hasChildren</methodname></member> + </simplelist> </para> </refsect1> @@ -90,11 +128,19 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Voyez aussi <function>stat</function>. + Doit retourne autant d'éléments que <function>stat</function> retourne. + Les valeurs inconnues ou indisponibles doivent prendre une valeur + raisonnable (généralement, <constant>0</constant>). </para> </refsect1> -<!-- + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + + <!-- {{{ + <refsect1 role="examples"> &reftitle.examples; <para> @@ -116,7 +162,12 @@ </example> </para> </refsect1> ---> ++ }}}--> + + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> <refsect1 role="seealso"> &reftitle.seealso;
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-context-set-params.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-context-set-params.xml diff -u phpdoc-fr/reference/stream/functions/stream-context-set-params.xml:1.18 phpdoc-fr/reference/stream/functions/stream-context-set-params.xml:1.19 --- phpdoc-fr/reference/stream/functions/stream-context-set-params.xml:1.18 Sun Mar 29 19:09:00 2009 +++ phpdoc-fr/reference/stream/functions/stream-context-set-params.xml Fri Apr 3 08:19:20 2009 @@ -1,12 +1,12 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.stream-context-set-params" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>stream_context_set_params</refname> - <refpurpose>Configure les paramètres pour un flux/gestionnaire/contexte</refpurpose> + <refpurpose>Configure les paramètres pour un flux/gestionnaire/contexte</refpurpose> </refnamediv> <refsect1 role="description"> @@ -17,8 +17,8 @@ <methodparam><type>array</type><parameter>params</parameter></methodparam> </methodsynopsis> <para> - <function>stream_context_set_params</function> définit - les paramètres pour le contexte spécifié. + <function>stream_context_set_params</function> définit + les paramètres pour le contexte spécifié. </para> </refsect1> @@ -30,7 +30,7 @@ <term><parameter>stream_or_context</parameter></term> <listitem> <para> - Le flux ou le contexte sur lequel on applique les paramètres. + Le flux ou le contexte sur lequel on applique les paramètres. </para> </listitem> </varlistentry> @@ -38,11 +38,11 @@ <term><parameter>params</parameter></term> <listitem> <para> - Un tableau de paramètres à définir. + Un tableau de paramètres à définir. </para> <note> <para> - Le paramètre <parameter>params</parameter> doit être un + Le paramètre <parameter>params</parameter> doit être un tableau associatif, au format : <literal>$params['paramname'] = "paramvalue";</literal>. </para> @@ -54,12 +54,12 @@ </refsect1><!-- }}} --> <refsect1 role="options"><!-- {{{ --> - <title>Paramètres supportés</title> + <title>Paramètres supportés</title> <informaltable> <tgroup cols="2"> <thead> <row> - <entry>Paramètres</entry> + <entry>Paramètres</entry> <entry>Usage</entry> </row> </thead> @@ -67,16 +67,15 @@ <row> <entry><literal>notification</literal></entry> <entry> - Nom de la fonction utilisateur appelée dès qu'un - flux génère une notification. + Nom de la fonction utilisateur appelée dès qu'un + flux génère une notification. </entry> </row> <row> <entry><literal>options</literal></entry> <entry> - Voyez la section sur les - <link linkend="context.params">contextes</link> pour - connaître la liste des paramètres standard de flux. + Un tableau d'option, comme pour les + <link linkend="context">options et parameters de contexte</link>. </entry> </row> </tbody> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-filter-remove.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-filter-remove.xml diff -u phpdoc-fr/reference/stream/functions/stream-filter-remove.xml:1.6 phpdoc-fr/reference/stream/functions/stream-filter-remove.xml:1.7 --- phpdoc-fr/reference/stream/functions/stream-filter-remove.xml:1.6 Tue Mar 25 00:09:32 2008 +++ phpdoc-fr/reference/stream/functions/stream-filter-remove.xml Fri Apr 3 08:19:20 2009 @@ -1,33 +1,60 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> - <refentry xml:id="function.stream-filter-remove" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stream_filter_remove</refname> - <refpurpose>Supprime un filtre d'un flux</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>stream_filter_remove</methodname> - <methodparam><type>resource</type><parameter>stream_filter</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>stream_filter_append</function> supprime le dernier - filtre ajouté au flux <parameter>stream_filter</parameter> avec - <function>stream_filter_prepend</function> ou - <function>stream_filter_append</function>. - Toutes les données qui sont dans les buffers seront - transmises au filtre, avant de le supprimer. - </simpara> - <para> - <example> - <title>Filtrage dynamique d'un flux</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: dams Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="function.stream-filter-remove" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stream_filter_remove</refname> + <refpurpose>Retire un filtre d'un flux</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>stream_filter_remove</methodname> + <methodparam><type>resource</type><parameter>stream_filter</parameter></methodparam> + </methodsynopsis> + <para> + <function>stream_filter_remove</function> retire un filtre d'un flux, + précédemment ajouté avec <function>stream_filter_prepend</function> ou + <function>stream_filter_append</function>. Toutes les données qui restent + dans les buffer internes seront traitées par le filtre, + avant que ce dernier ne soit supprimé. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>stream_filter</parameter></term> + <listitem> + <para> + Le filtre de flux à supprimer. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Refiltrage dynamique d'un flux</title> + <programlisting role="php"> <![CDATA[ <?php -/* Ouvre un fichier de test pour lecture et écriture */ +/* Ouverture d'un fichier de tests pour l'écriture et la lecture */ $fp = fopen("test.txt", "rw"); $rot13_filter = stream_filter_append($fp, "string.rot13", STREAM_FILTER_WRITE); @@ -39,25 +66,31 @@ fpassthru($fp); fclose($fp); -/* Affichage prévu - --------------- - -Prpv rfg un test - - */ ?> ]]> - </programlisting> - </example> - </para> - <simpara> - Voir aussi - <function>stream_filter_register</function>, - <function>stream_filter_append</function> et - <function>stream_filter_prepend</function>. - </simpara> - </refsect1> - </refentry> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +Prpv rfg un test +]]> + </screen> + </example> + + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>stream_filter_register</function></member> + <member><function>stream_filter_append</function></member> + <member><function>stream_filter_prepend</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/functions/stream-get-filters.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/stream/functions/stream-get-filters.xml diff -u phpdoc-fr/reference/stream/functions/stream-get-filters.xml:1.13 phpdoc-fr/reference/stream/functions/stream-get-filters.xml:1.14 --- phpdoc-fr/reference/stream/functions/stream-get-filters.xml:1.13 Sat Jun 21 20:51:45 2008 +++ phpdoc-fr/reference/stream/functions/stream-get-filters.xml Fri Apr 3 08:19:20 2009 @@ -1,41 +1,48 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.14 $ --> <!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.stream-get-filters" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stream_get_filters</refname> - <refpurpose>Liste les filtres enregistrés</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>stream_get_filters</methodname> - <void/> - </methodsynopsis> - <simpara> - <methodname>stream_get_filters</methodname> retourne un tableau - indexé contenant la liste des filtres de flux disponibles - sur le système. - </simpara> - <para> - <example> - <title>Exemple avec <function>stream_get_filters</function></title> - <programlisting role="php"> +<refentry xml:id="function.stream-get-filters" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stream_get_filters</refname> + <refpurpose>Liste les filtres enregistrés</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>stream_get_filters</methodname> + <void/> + </methodsynopsis> + <simpara> + <function>stream_get_filters</function> lit la liste + des filtres enregistrés. + </simpara> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un tableau indexé contenant la liste des filtres + de flux disponibles sur le système. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>stream_get_filters</function></title> + <programlisting role="php"> <![CDATA[ <?php $streamlist = stream_get_filters(); print_r($streamlist); ?> ]]> - </programlisting> - <para> - L'affichage sera semblable a ce qui suit. - Note : il peut y avoir plus ou moins de filtres - suivant votre version de PHP - </para> - <screen> + </programlisting> + &example.outputs.similar; + <screen> <![CDATA[ Array ( [0] => string.rot13 @@ -45,16 +52,20 @@ [4] => string.quoted-printable ) ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>stream_filter_register</function> et - <function>stream_get_wrappers</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> +</refsect1> + +<refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>stream_filter_register</function></member> + <member><function>stream_get_wrappers</function></member> + </simplelist> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/construct.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/construct.xml diff -u phpdoc-fr/reference/stream/streamwrapper/construct.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/construct.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/construct.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/construct.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -16,7 +16,8 @@ <void /> </methodsynopsis> <para> - Appelé à la création du gestionnaire de flux. + Appelé à la création du gestionnaire de flux, juste avant + <methodname>streamWrapper::stream_open</methodname>. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml diff -u phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/dir-opendir.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.dir-opendir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -42,7 +42,8 @@ <term><parameter>options</parameter></term> <listitem> <para> - S'il faut activer le mode de sécurité ou pas (0x04). + S'il faut appliquer le + <link linkend="ini.safe-mode">safe_mode</link> ou pas (0x04). </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml diff -u phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/dir-readdir.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.dir-readdir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -29,10 +29,21 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Doit retourner une &string; représentant le prochain nom de fichiers. + Doit retourner une &string; représentant le prochain nom de fichier, + ou &false; s'i n'y a pas d'autre fichier. </para> + <note> + <para> + La valeur retournée sera transtypée en &string;. + </para> + </note> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/mkdir.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/mkdir.xml diff -u phpdoc-fr/reference/stream/streamwrapper/mkdir.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/mkdir.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/mkdir.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/mkdir.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.mkdir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -69,6 +69,11 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + <!-- <refsect1 role="examples"> &reftitle.examples; @@ -93,6 +98,11 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/rename.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/rename.xml diff -u phpdoc-fr/reference/stream/streamwrapper/rename.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/rename.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/rename.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/rename.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.rename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -64,6 +64,11 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + <!-- <refsect1 role="examples"> &reftitle.examples; @@ -88,6 +93,11 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/rmdir.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/rmdir.xml diff -u phpdoc-fr/reference/stream/streamwrapper/rmdir.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/rmdir.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/rmdir.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/rmdir.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.rmdir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -60,6 +60,11 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + <!-- <refsect1 role="examples"> &reftitle.examples; @@ -84,6 +89,11 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml diff -u phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/stream-flush.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.stream-flush" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -63,6 +63,16 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + <note> + <para> + Si non implémentée, &false; sera utilisée comme + valeur de retour. + </para> + </note> + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/stream-open.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/stream-open.xml diff -u phpdoc-fr/reference/stream/streamwrapper/stream-open.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/stream-open.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/stream-open.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/stream-open.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.stream-open" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -61,7 +61,7 @@ <term><parameter>options</parameter></term> <listitem> <para> - Contient les options supplémentairesp our le flux. Il peut contenir + Contient les options supplémentaires pour le flux. Il peut contenir une ou plusieurs constantes parmi les suivantes, combinées par des OR. <informaltable> @@ -74,14 +74,14 @@ </thead> <tbody> <row> - <entry>STREAM_USE_PATH</entry> + <entry><constant>STREAM_USE_PATH</constant></entry> <entry> Si <parameter>path</parameter> est relatif recherche la ressource en incluant l'include_path. </entry> </row> <row> - <entry>STREAM_REPORT_ERRORS</entry> + <entry><constant>STREAM_REPORT_ERRORS</constant></entry> <entry> Si cette option est active, vous êtes responsable pour émettre une erreur, avec <function>trigger_error</function> @@ -100,7 +100,7 @@ <listitem> <para> Si le chemin <parameter>path</parameter> est ouvert correctement, - et que la constante STREAM_USE_PATH est configurée via + et que la constante <constant>STREAM_USE_PATH</constant> est configurée via <parameter>options</parameter>, alors <parameter>opened_path</parameter> doit contenir le chemin complet qui a été réellement ouvert. </para> @@ -117,6 +117,12 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + +<!-- {{{ <refsect1 role="examples"> &reftitle.examples; <para> @@ -138,6 +144,12 @@ </example> </para> </refsect1> +}}}--> + + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> <refsect1 role="seealso"> &reftitle.seealso; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/stream-read.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/stream-read.xml diff -u phpdoc-fr/reference/stream/streamwrapper/stream-read.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/stream-read.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/stream-read.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/stream-read.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.stream-read" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -55,6 +55,19 @@ </para> </refsect1> + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + <note> + <para> + If the return value is longer then <parameter>count</parameter> an + <constant>E_WARNING</constant> error will be emitted, and excess data will be + lost. + </para> + </note> + </refsect1><!-- }}} --> + + <!-- <refsect1 role="examples"> &reftitle.examples; @@ -79,6 +92,18 @@ </refsect1> --> + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + <note> + <para> + <methodname>streamWrapper::stream_eof</methodname> est appelé directement + après <methodname>streamWrapper::stream_read</methodname> pour vérifier + si <acronym>EOF</acronym> a été atteint. Si la fonction n'est pas + implémenté, <acronym>EOF</acronym> est utilisé. + </para> + </note> + </refsect1><!-- }}} --> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/stream/streamwrapper/url-stat.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/stream/streamwrapper/url-stat.xml diff -u phpdoc-fr/reference/stream/streamwrapper/url-stat.xml:1.1 phpdoc-fr/reference/stream/streamwrapper/url-stat.xml:1.2 --- phpdoc-fr/reference/stream/streamwrapper/url-stat.xml:1.1 Sun Mar 29 18:39:32 2009 +++ phpdoc-fr/reference/stream/streamwrapper/url-stat.xml Fri Apr 3 08:19:20 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="streamwrapper.url-stat" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -20,9 +20,47 @@ Cette méthode est appelée en réponse à <function>stat</function>. </para> <para> - Elle doit retourner autant d'élément que le fait <function>stat</function>. - Les valeurs inconnues ou inaccessibles doivent être mise à une - valeur raisonnable (généralement, <constant>0</constant>). + Cette méthode est appelée en réponse à toutes les fonctions + liées à <function>stat</function>, telles que : + <simplelist> + <member><function>chmod</function> (uniquement quand + <link linkend="ini.safe-mode">safe_mode</link> est activé)</member> + <member><function>copy</function></member> + <member><function>fileperms</function></member> + <member><function>fileinode</function></member> + <member><function>filesize</function></member> + <member><function>fileowner</function></member> + <member><function>filegroup</function></member> + <member><function>fileatime</function></member> + <member><function>filemtime</function></member> + <member><function>filectime</function></member> + <member><function>filetype</function></member> + <member><function>is_writable</function></member> + <member><function>is_readable</function></member> + <member><function>is_executable</function></member> + <member><function>is_file</function></member> + <member><function>is_dir</function></member> + <member><function>is_link</function></member> + <member><function>file_exists</function></member> + <member><function>lstat</function></member> + <member><function>stat</function></member> + <member><methodname>SplFileInfo::getPerms</methodname></member> + <member><methodname>SplFileInfo::getInode</methodname></member> + <member><methodname>SplFileInfo::getSize</methodname></member> + <member><methodname>SplFileInfo::getOwner</methodname></member> + <member><methodname>SplFileInfo::getGroup</methodname></member> + <member><methodname>SplFileInfo::getATime</methodname></member> + <member><methodname>SplFileInfo::getMTime</methodname></member> + <member><methodname>SplFileInfo::getCTime</methodname></member> + <member><methodname>SplFileInfo::getType</methodname></member> + <member><methodname>SplFileInfo::isWritable</methodname></member> + <member><methodname>SplFileInfo::isReadable</methodname></member> + <member><methodname>SplFileInfo::isExecutable</methodname></member> + <member><methodname>SplFileInfo::isFile</methodname></member> + <member><methodname>SplFileInfo::isDir</methodname></member> + <member><methodname>SplFileInfo::isLink</methodname></member> + <member><methodname>RecursiveDirectoryIterator::hasChildren</methodname></member> + </simplelist> </para> </refsect1> @@ -90,11 +128,19 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Voyez aussi <function>stat</function>. + Doit retourne autant d'éléments que <function>stat</function> retourne. + Les valeurs inconnues ou indisponibles doivent prendre une valeur + raisonnable (généralement, <constant>0</constant>). </para> </refsect1> -<!-- + <refsect1 role="errors"><!-- {{{ --> + &reftitle.errors; + &userstream.not.implemented.warning; + </refsect1><!-- }}} --> + + <!-- {{{ + <refsect1 role="examples"> &reftitle.examples; <para> @@ -116,7 +162,12 @@ </example> </para> </refsect1> ---> ++ }}}--> + + <refsect1 role="notes"><!-- {{{ --> + &reftitle.notes; + &userstream.updates.context; + </refsect1><!-- }}} --> <refsect1 role="seealso"> &reftitle.seealso;