cvs: phpdoc-fr /reference/filesystem/functions fgetcsv.xml glob.xml tempnam.xml

From: Date: Tue, 28 Sep 2004 15:47:49 +0000
Subject: cvs: phpdoc-fr /reference/filesystem/functions fgetcsv.xml glob.xml tempnam.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3492@lists.php.net to get a copy of this message
dams Tue Sep 28 11:47:49 2004 EDT Modified files: /phpdoc-fr/reference/filesystem/functions fgetcsv.xml glob.xml tempnam.xml Log: sync with php 5.0.2 http://cvs.php.net/diff.php/phpdoc-fr/reference/filesystem/functions/fgetcsv.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc-fr/reference/filesystem/functions/fgetcsv.xml diff -u phpdoc-fr/reference/filesystem/functions/fgetcsv.xml:1.12 phpdoc-fr/reference/filesystem/functions/fgetcsv.xml:1.13 --- phpdoc-fr/reference/filesystem/functions/fgetcsv.xml:1.12 Fri Aug 13 05:46:01 2004 +++ phpdoc-fr/reference/filesystem/functions/fgetcsv.xml Tue Sep 28 11:47:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.13 Maintainer: dams Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.16 Maintainer: dams Status: ready --> <refentry id="function.fgetcsv"> <refnamediv> <refname>fgetcsv</refname> @@ -8,13 +8,57 @@ </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>array</type><methodname>fgetcsv</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + <methodsynopsis> + <type>array</type><methodname>fgetcsv</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>enclosure</parameter></methodparam> - </methodsynopsis> + <methodparam choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>enclosure</parameter></methodparam> + </methodsynopsis> + + <para> + <variablelist> + <varlistentry> + <term><parameter>handle</parameter></term> + <listitem> + <simpara> + Un pointeur valide sur un fichier ouvert avec <function>fopen</function>, + <function>popen</function> ou <function>fsockopen</function>. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>length</parameter> (Optionnel)</term> + <listitem> + <simpara> + Doit être plus grand que la plus grande ligne (en terme de caractères) + à lire dans le fichier (y compris le caractère de fin de ligne). Ce + paramètre est optionnel depuis &php; 5. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>delimiter</parameter> (Optionnel)</term> + <listitem> + <simpara> + Spécifie le séparateur (un seul caractère). Par défaut, c'est + la virgule. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>enclosure</parameter> (Optionnel)</term> + <listitem> + <simpara> + Spécifie le caractère de délimitation (un seul caractère). + Par défaut, c'est les guillemets doubles. Ce paramètre a été + ajouté en &php; 4.3.0. + </simpara> + </listitem> + </varlistentry> + </variablelist> + </para> + <simpara> <function>fgetcsv</function> est identique à <function>fgets</function> mais <function>fgetcsv</function> @@ -79,9 +123,10 @@ </para> <para> Voir aussi - <function>explode</function>, - <function>file</function> et - <function>pack</function>. + <function>explode</function>, + <function>file</function>, + <function>pack</function> et + <function>fputcsv</function>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-fr/reference/filesystem/functions/glob.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/filesystem/functions/glob.xml diff -u phpdoc-fr/reference/filesystem/functions/glob.xml:1.10 phpdoc-fr/reference/filesystem/functions/glob.xml:1.11 --- phpdoc-fr/reference/filesystem/functions/glob.xml:1.10 Tue Sep 7 11:28:38 2004 +++ phpdoc-fr/reference/filesystem/functions/glob.xml Tue Sep 28 11:47:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.16 Maintainer: dams Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.17 Maintainer: dams Status: ready --> <refentry id="function.glob"> <refnamediv> <refname>glob</refname> @@ -29,32 +29,32 @@ <itemizedlist> <listitem> <simpara> - <constant>GLOB_MARK</constant> - Ajoute un slash final à chaque élément retourné + <constant>GLOB_MARK</constant>Ajoute un slash final à chaque élément retourné </simpara> </listitem> <listitem> <simpara> - <constant>GLOB_NOSORT</constant> - Retourne les fichiers tant l'ordre d'apparence (pas de tri) + <constant>GLOB_NOSORT</constant> : Retourne les fichiers tant l'ordre d'apparence (pas de tri) </simpara> </listitem> <listitem> <simpara> - <constant>GLOB_NOCHECK</constant> - Retourne le masque de recherche si aucun fichier n'a été trouvé + <constant>GLOB_NOCHECK</constant> : Retourne le masque de recherche si aucun fichier n'a été trouvé </simpara> </listitem> <listitem> <simpara> - <constant>GLOB_NOESCAPE</constant> - Ne protège aucun méta-caractère d'un anti-slash + <constant>GLOB_NOESCAPE</constant> : Ne protège aucun méta-caractère d'un anti-slash </simpara> </listitem> <listitem> <simpara> - <constant>GLOB_BRACE</constant> - Remplace {a,b,c} par 'a', 'b' ou 'c' + <constant>GLOB_BRACE</constant> : Remplace {a,b,c} par 'a', 'b' ou 'c' </simpara> </listitem> <listitem> <simpara> - <constant>GLOB_ONLYDIR</constant> - Ne retourne que les dossiers qui vérifient le masque + <constant>GLOB_ONLYDIR</constant> : Ne retourne que les dossiers qui vérifient le masque </simpara> </listitem> </itemizedlist> http://cvs.php.net/diff.php/phpdoc-fr/reference/filesystem/functions/tempnam.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc-fr/reference/filesystem/functions/tempnam.xml diff -u phpdoc-fr/reference/filesystem/functions/tempnam.xml:1.13 phpdoc-fr/reference/filesystem/functions/tempnam.xml:1.14 --- phpdoc-fr/reference/filesystem/functions/tempnam.xml:1.13 Sat Aug 28 18:16:59 2004 +++ phpdoc-fr/reference/filesystem/functions/tempnam.xml Tue Sep 28 11:47:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.7 Maintainer: dams Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> <refentry id="function.tempnam"> <refnamediv> <refname>tempnam</refname> @@ -42,6 +42,7 @@ <title>Exemple avec <function>tempnam</function></title> <programlisting role="php"> <![CDATA[ +<?php $tmpfname = tempnam ("/tmp", "FOO"); $handle = fopen($tmpfname, "w"); @@ -51,6 +52,7 @@ // faire quelquechose ici unlink($tmpfname); +?> ]]> </programlisting> </example>

« previous php.doc.fr (#3492) next »