cvs: phpdoc-fr /appendices ini.xml /language references.xml /language/oop5 patterns.xml /reference/apc ini.xml /reference/datetime constants.xml
/reference/datetime/functions date.xml

From: Date: Sat, 26 Nov 2005 15:01:25 +0000
Subject: cvs: phpdoc-fr /appendices ini.xml /language references.xml /language/oop5 patterns.xml /reference/apc ini.xml /reference/datetime constants.xml
/reference/datetime/functions date.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-4638@lists.php.net to get a copy of this message
yannick Sat Nov 26 10:01:25 2005 EDT Modified files: /phpdoc-fr/appendices ini.xml /phpdoc-fr/language/oop5 patterns.xml /phpdoc-fr/language references.xml /phpdoc-fr/reference/apc ini.xml /phpdoc-fr/reference/datetime constants.xml /phpdoc-fr/reference/datetime/functions date.xml Log: sync with EN

http://cvs.php.net/diff.php/phpdoc-fr/appendices/ini.xml?r1=1.30&r2=1.31&ty=u Index: phpdoc-fr/appendices/ini.xml diff -u phpdoc-fr/appendices/ini.xml:1.30 phpdoc-fr/appendices/ini.xml:1.31 --- phpdoc-fr/appendices/ini.xml:1.30 Thu Jul 28 07:25:37 2005 +++ phpdoc-fr/appendices/ini.xml Sat Nov 26 10:01:21 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.30 $ --> -<!-- EN-Revision: 1.25 Maintainer: dams Status: ready --> +<!-- $Revision: 1.31 $ --> +<!-- EN-Revision: 1.28 Maintainer: dams Status: ready --> <appendix id="ini"> <title>Directives du &php.ini;</title> @@ -32,73 +32,103 @@ <entry>PHP_INI_ALL pour &php; &lt;= 4.3.4. Disponible depuis &php; 4.0.4.</entry> </row> <row> + <entry>allow_url_include</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry>Disponible depuis &php; 5.1.0.</entry> + </row> + <row> <entry><link linkend="ini.always-populate-raw-post-data">always_populate_raw_post_data</link></entry> <entry>"0"</entry> <entry>PHP_INI_PERDIR</entry> <entry>PHP_INI_ALL pour &php; &lt;= 4.2.3. Disponible depuis &php; 4.1.0.</entry> </row> <row> - <entry>apc.cache_by_default</entry> + <entry><link linkend="ini.apc.cache-by-default">apc.cache_by_default</link></entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> </row> <row> - <entry>apc.enabled</entry> + <entry>apc.dynamic_error</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.apc.enabled">apc.enabled</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> - <entry>apc.filters</entry> - <entry>""</entry> + <entry><link linkend="ini.apc.enable-cli">apc.enable_cli</link></entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.apc.file-update-protection">apc.file_update_protection</link></entry> + <entry>"2"</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> </row> <row> - <entry>apc.gc_ttl</entry> + <entry><link linkend="ini.apc.filters">apc.filters</link></entry> + <entry>NULL</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.apc.gc-ttl">apc.gc_ttl</link></entry> <entry>"3600"</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> </row> <row> - <entry>apc.mmap_file_mask</entry> + <entry>apc.max_file_size</entry> + <entry>"1M"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.apc.mmap-file-mask">apc.mmap_file_mask</link></entry> <entry>NULL</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> </row> <row> - <entry>apc.num_files_hint</entry> + <entry><link linkend="ini.apc.num-files-hint">apc.num_files_hint</link></entry> <entry>"1000"</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> </row> <row> - <entry>apc.optimization</entry> + <entry><link linkend="ini.apc.optimization">apc.optimization</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> - <entry>apc.shm_segments</entry> + <entry><link linkend="ini.apc.shm-segments">apc.shm_segments</link></entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> </row> <row> - <entry>apc.shm_size</entry> + <entry><link linkend="ini.apc.shm-size">apc.shm_size</link></entry> <entry>"30"</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> </row> <row> - <entry>apc.slam_defense</entry> + <entry><link linkend="ini.apc.slam-defense">apc.slam_defense</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> </row> <row> - <entry>apc.ttl</entry> + <entry><link linkend="ini.apc.ttl">apc.ttl</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> <entry></entry> @@ -206,6 +236,12 @@ <entry>Disponible depuis &php; 5.0.0.</entry> </row> <row> + <entry>bcompiler.enabled</entry> + <entry>"1"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry>birdstep.max_links</entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> @@ -292,7 +328,7 @@ <row> <entry>crack.default_dictionary</entry> <entry>NULL</entry> - <entry>PHP_INI_SYSTEM</entry> + <entry>PHP_INI_PERDIR</entry> <entry>Disponible depuis &php; 4.0.5.</entry> </row> <row> @@ -506,6 +542,24 @@ <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> + <entry><link linkend="ini.expect.logfile">expect.logfile</link></entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.expect.loguser">expect.loguser</link></entry> + <entry>"1"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.expect.timeout">expect.timeout</link></entry> + <entry>"10"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry><link linkend="ini.expose-php">expose_php</link></entry> <entry>"1"</entry> <entry>&php.ini; uniquement</entry> @@ -615,7 +669,13 @@ </row> <row> <entry>filter.default</entry> - <entry>"notags"</entry> + <entry>"string"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>filter.default_flags</entry> + <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> @@ -669,13 +729,49 @@ </row> <row> <entry>http.allowed_methods</entry> - <entry>NULL</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.allowed_methods_log</entry> + <entry>""</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> <entry>http.cache_log</entry> - <entry>NULL</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.composite_log</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.etag_mode</entry> + <entry>"-2"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.force_exit</entry> + <entry>"1"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.only_exceptions</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.redirect_log</entry> + <entry>""</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> @@ -884,6 +980,12 @@ <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> + <entry>ingres.blob_segment_length</entry> + <entry>"4096"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry>ingres.cursor_mode</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> @@ -921,7 +1023,7 @@ </row> <row> <entry>ingres.report_db_warnings</entry> - <entry>"0"</entry> + <entry>"1"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> @@ -1197,7 +1299,7 @@ </row> <row> <entry>mssql.max_procs</entry> - <entry>"25"</entry> + <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> <entry>Disponible depuis &php; 4.3.0.</entry> </row> @@ -1376,6 +1478,48 @@ <entry>Disponible depuis &php; 4.3.3.</entry> </row> <row> + <entry><link linkend="ini.oci8.default_prefetch">oci8.default_prefetch</link></entry> + <entry>"10"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.oci8.max_persistent">oci8.max_persistent</link></entry> + <entry>"-1"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.oci8.old_oci_close_semantics">oci8.old_oci_close_semantics</link></entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.oci8.persistent_timeout">oci8.persistent_timeout</link></entry> + <entry>"-1"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.oci8.ping_interval">oci8.ping_interval</link></entry> + <entry>"60"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.oci8.privileged_connect">oci8.privileged_connect</link></entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.oci8.statement_cache_size">oci8.statement_cache_size</link></entry> + <entry>"20"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> <entry><link linkend="ini.uodbc.allow-persistent">odbc.allow_persistent</link></entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> @@ -1478,7 +1622,7 @@ <entry>Disponible depuis &php; 4.0.4.</entry> </row> <row> - <entry>pdo_odbc.connection_pooling</entry> + <entry><link linkend="ini.pdo-odbc.connection-pooling">pdo_odbc.connection_pooling</link></entry> <entry>"strict"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> @@ -1622,7 +1766,13 @@ <entry>Disponible depuis &php; 5.0.0.</entry> </row> <row> - <entry>runkit.superglobal</entry> + <entry>runkit.internal_override</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.runkit.superglobal">runkit.superglobal</link></entry> <entry>""</entry> <entry>PHP_INI_PERDIR</entry> <entry></entry> @@ -2108,6 +2258,54 @@ <entry></entry> </row> <row> + <entry>unicode.fallback_encoding</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>unicode.from_error_mode</entry> + <entry>"2"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>unicode.from_error_subst_char</entry> + <entry>"3f"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>unicode.http_input_encoding</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry><link linkend="ini.unicode.output-encoding">unicode.output_encoding</link></entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>unicode.runtime_encoding</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>unicode.script_encoding</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>unicode_semantics</entry> + <entry>"off"</entry> + <entry>PHP_INI_PERDIR</entry> + <entry></entry> + </row> + <row> <entry>unserialize_callback_func</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> @@ -2158,7 +2356,7 @@ <row> <entry><link linkend="ini.variables-order">variables_order</link></entry> <entry>"EGPCS"</entry> - <entry>PHP_INI_ALL</entry> + <entry>PHP_INI_PERDIR</entry> <entry></entry> </row> <row> @@ -2512,8 +2710,10 @@ </term> <listitem> <para> - Acitve le mode de compatibilité avec le Zend Engine 1 (&php; 4). - Cela affecte le clonage, le casting et la comparaison des objets. + Active le mode de compatibilité avec le Zend Engine 1 (&php; 4). + Cela affecte le clonage, le casting et la <link + linkend="language.oop5.object-comparison">comparaison des objets</link>. + Dans ce mode, les objets sont passés par valeur plutôt que par référence, par défaut. </para> </listitem> </varlistentry> @@ -2609,7 +2809,7 @@ <row> <entry>variables_order</entry> <entry>"EGPCS"</entry> - <entry>PHP_INI_ALL</entry> + <entry>PHP_INI_PERDIR</entry> <entry></entry> </row> <row> @@ -3527,4 +3727,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/language/oop5/patterns.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/language/oop5/patterns.xml diff -u phpdoc-fr/language/oop5/patterns.xml:1.7 phpdoc-fr/language/oop5/patterns.xml:1.8 --- phpdoc-fr/language/oop5/patterns.xml:1.7 Fri Mar 18 12:14:47 2005 +++ phpdoc-fr/language/oop5/patterns.xml Sat Nov 26 10:01:23 2005 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.7 Maintainer: dams Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> + <sect1 id="language.oop5.patterns"> <title>Masques</title> <para> @@ -14,16 +15,17 @@ <para> Le masque d'usine permet l'instanciation d'objets durant l'exécution. Il est appelé "masque d'usine" puisqu'il est responsable de la "fabrication" - d'un objet. + d'un objet. Un paramètre d'usine reçoit le nom de la classe pour l'instancier en tant + qu'argument. </para> <example> - <title>Méthode d'usine</title> + <title>Méthode de paramètre d'usine</title> <programlisting role="php"> <![CDATA[ <?php class Exemple { - // La méthode d'usine + // La méthode de paramètre d'usine public static function factory($type) { if (include_once 'Drivers/' . $type . '.php') { @@ -153,4 +155,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/language/references.xml?r1=1.31&r2=1.32&ty=u Index: phpdoc-fr/language/references.xml diff -u phpdoc-fr/language/references.xml:1.31 phpdoc-fr/language/references.xml:1.32 --- phpdoc-fr/language/references.xml:1.31 Sun Nov 13 13:55:51 2005 +++ phpdoc-fr/language/references.xml Sat Nov 26 10:01:23 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> -<!-- EN-Revision: 1.45 Maintainer: dams Status: ready --> +<!-- $Revision: 1.32 $ --> +<!-- EN-Revision: 1.46 Maintainer: dams Status: ready --> <chapter id="language.references"> <title>Les références</title> @@ -68,6 +68,9 @@ ]]> </programlisting> </example> + Depuis &php; 5, <link linkend="language.oop5.basic.new">new</link> retourne + une référence automatiquement, donc, l'utilisation de <literal>=&amp;</literal> + dans ce contexte est déprécié et produit un message de degré E_STRICT. </para> <note> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/apc/ini.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-fr/reference/apc/ini.xml diff -u phpdoc-fr/reference/apc/ini.xml:1.2 phpdoc-fr/reference/apc/ini.xml:1.3 --- phpdoc-fr/reference/apc/ini.xml:1.2 Fri Nov 18 19:11:25 2005 +++ phpdoc-fr/reference/apc/ini.xml Sat Nov 26 10:01:24 2005 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> + <section id="apc.configuration"> &reftitle.runtime; &extension.runtime; @@ -357,4 +358,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/datetime/constants.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-fr/reference/datetime/constants.xml diff -u phpdoc-fr/reference/datetime/constants.xml:1.3 phpdoc-fr/reference/datetime/constants.xml:1.4 --- phpdoc-fr/reference/datetime/constants.xml:1.3 Mon Aug 29 19:14:25 2005 +++ phpdoc-fr/reference/datetime/constants.xml Sat Nov 26 10:01:24 2005 @@ -1,17 +1,19 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> + <section id="datetime.constants"> &reftitle.constants; <para> Les constantes suivantes sont définies depuis &php; 5.1.0 et offrent une représentation standart des dates, qui peut être utilisée avec toutes les fonctions - de formattage de date (comme <function>date</function>). + de formattage de date (comme <function>date</function>). Ces constantes + sont des constantes statiques de la classe <classname>date</classname>. </para> <variablelist> <varlistentry> <term> - <constant>DATE_ATOM</constant> + <constant>date::ATOM</constant> (&string;) </term> <listitem> @@ -22,7 +24,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_COOKIE</constant> + <constant>date::COOKIE</constant> (&string;) </term> <listitem> @@ -33,7 +35,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_ISO8601</constant> + <constant>date::ISO8601</constant> (&string;) </term> <listitem> @@ -44,7 +46,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_RFC822</constant> + <constant>date::RFC822</constant> (&string;) </term> <listitem> @@ -55,7 +57,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_RFC850</constant> + <constant>date::RFC850</constant> (&string;) </term> <listitem> @@ -66,7 +68,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_RFC1036</constant> + <constant>date::RFC1036</constant> (&string;) </term> <listitem> @@ -77,7 +79,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_RFC1123</constant> + <constant>date::RFC1123</constant> (&string;) </term> <listitem> @@ -88,7 +90,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_RFC2822</constant> + <constant>date::RFC2822</constant> (&string;) </term> <listitem> @@ -99,7 +101,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_RSS</constant> + <constant>date::RSS</constant> (&string;) </term> <listitem> @@ -110,7 +112,7 @@ </varlistentry> <varlistentry> <term> - <constant>DATE_W3C</constant> + <constant>date::W3C</constant> (&string;) </term> <listitem> http://cvs.php.net/diff.php/phpdoc-fr/reference/datetime/functions/date.xml?r1=1.26&r2=1.27&ty=u Index: phpdoc-fr/reference/datetime/functions/date.xml diff -u phpdoc-fr/reference/datetime/functions/date.xml:1.26 phpdoc-fr/reference/datetime/functions/date.xml:1.27 --- phpdoc-fr/reference/datetime/functions/date.xml:1.26 Sun Nov 13 14:26:08 2005 +++ phpdoc-fr/reference/datetime/functions/date.xml Sat Nov 26 10:01:24 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> -<!-- EN-Revision: 1.25 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.27 $ --> +<!-- EN-Revision: 1.26 Maintainer: yannick Status: ready --> <refentry id="function.date"> <refnamediv> @@ -317,10 +317,10 @@ /* utilise les constantes dans le paramètre format */ // Affichage de quelque chose comme : Mon, 15 Aug 2005 15:12:46 UTC -echo date(DATE_RFC822); +echo date(date::RFC822); // Affichage de quelque chose comme : 2000-07-01T00:00:00+0000 -echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000)); +echo date(date::ATOM, mktime(0, 0, 0, 7, 1, 2000)); ?> ]]> </programlisting>
« previous php.doc.fr (#4638) next »