cvs: phpdoc-fr /faq using.xml /reference/ctype/functions ctype-digit.xml /reference/mysqli ini.xml

From: Date: Tue, 24 Feb 2009 06:15:50 +0000
Subject: cvs: phpdoc-fr /faq using.xml /reference/ctype/functions ctype-digit.xml /reference/mysqli ini.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-6747@lists.php.net to get a copy of this message
yannick Tue Feb 24 06:15:50 2009 UTC Modified files: /phpdoc-fr/faq using.xml /phpdoc-fr/reference/ctype/functions ctype-digit.xml /phpdoc-fr/reference/mysqli ini.xml Log: sync with EN http://cvs.php.net/viewvc.cgi/phpdoc-fr/faq/using.xml?r1=1.27&r2=1.28&diff_format=u Index: phpdoc-fr/faq/using.xml diff -u phpdoc-fr/faq/using.xml:1.27 phpdoc-fr/faq/using.xml:1.28 --- phpdoc-fr/faq/using.xml:1.27 Sun Jun 8 15:10:24 2008 +++ phpdoc-fr/faq/using.xml Tue Feb 24 06:15:49 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.27 $ --> -<!-- EN-Revision: 1.36 Maintainer: gui Status: ready --> +<!-- $Revision: 1.28 $ --> +<!-- EN-Revision: 1.37 Maintainer: gui Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="faq.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -435,11 +435,12 @@ <answer> <para> Il y'a quelques alternatives écrites en PHP tel que - <link xlink:href="&url.pdf.ros;">&url.pdf.ros;</link>, - <link xlink:href="&url.pdf.fpdf;">&url.pdf.fpdf;</link>, - <link xlink:href="&url.pdf.pdf4php;">&url.pdf.pdf4php;</link>, et - <link xlink:href="&url.pdf.phppdflib;">&url.pdf.phppdflib;</link>. - Il existe aussi le module <link xlink:href="&url.pdf.panda;">Panda</link>. + <link xlink:href="&url.pdf.fpdf;">FPDF</link> et + <link xlink:href="&url.pdf.tcpdf;">TCPDF</link>. + </para> + <para> + Il y a également l'extension <link linkend="book.haru">Haru</link> + qui utilise la bibliothèque externe libre libHaru. </para> </answer> </qandaentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ctype/functions/ctype-digit.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-digit.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.13 phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.14 --- phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.13 Sat Jul 21 17:46:46 2007 +++ phpdoc-fr/reference/ctype/functions/ctype-digit.xml Tue Feb 24 06:15:49 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.ctype-digit" xmlns="http://docbook.org/ns/docbook"> @@ -45,6 +45,31 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.1.0</entry> + <entry> + Avant PHP 5.1.0, cette fonction retournait &true; + lorsque le paramètre <parameter>text</parameter> était une chaîne vide. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -74,6 +99,38 @@ </screen> </example> </para> + <para> + <example> + <title>Exemple avec <function>ctype_digit</function> pour + comparer des chaînes et des nombres</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$numeric_string = '42'; +$integer = 42; + +ctype_digit($numeric_string); // true +ctype_digit($integer); // false + +is_numeric($numeric_string); // true +is_numeric($integer); // true +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + Cette fonction nécessite une chaîne afin d'être pertinante ; par exemple, le + fait de passer un entier retournera toujours &false;. Voir aussi + la section sur les <link linkend="language.types">types</link> de ce manuel. + </para> + </note> </refsect1> <refsect1 role="seealso"> @@ -82,6 +139,9 @@ <simplelist> <member><function>ctype_alnum</function></member> <member><function>ctype_xdigit</function></member> + <member><function>is_numeric</function></member> + <member><function>is_int</function></member> + <member><function>is_string</function></member> </simplelist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/mysqli/ini.xml?r1=1.25&r2=1.26&diff_format=u Index: phpdoc-fr/reference/mysqli/ini.xml diff -u phpdoc-fr/reference/mysqli/ini.xml:1.25 phpdoc-fr/reference/mysqli/ini.xml:1.26 --- phpdoc-fr/reference/mysqli/ini.xml:1.25 Wed Feb 18 20:11:43 2009 +++ phpdoc-fr/reference/mysqli/ini.xml Tue Feb 24 06:15:50 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.26 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <section xml:id="mysqli.configuration" xmlns="http://docbook.org/ns/docbook"> @@ -82,6 +82,30 @@ <para> <variablelist> + <varlistentry xml:id="ini.mysqli.allow-persistent"> + <term> + <parameter>mysqli.</parameter> + <type>integer</type> + </term> + <listitem> + <para> + Active la possibilité de créer des connexions persistantes en + utilisant la fonction <function>mysqli_connect</function>. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.mysqli.max-persistent"> + <term> + <parameter>mysqli.</parameter> + <type>integer</type> + </term> + <listitem> + <para> + Nombre maximal de connexions persistantes pouvant être réalisé. + Par défaut, vaut 0, ce qui signifie "illimité". + </para> + </listitem> + </varlistentry> <varlistentry xml:id="ini.mysqli.max-links"> <term> <parameter>mysqli.max_links</parameter>

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