cvs: phpdoc-fr / language-defs.ent /appendices ini.xml /features connection-handling.xml safe-mode.xml /language operators.xml
/language/predefined errorexception.xml
| From: | Yannick Torres | Date: | Fri, 25 Apr 2008 17:40:21 +0000 |
| Subject: | cvs: phpdoc-fr / language-defs.ent /appendices ini.xml /features connection-handling.xml safe-mode.xml /language operators.xml /language/predefined errorexception.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-5794@lists.php.net to get a copy of this message | ||
yannick Fri Apr 25 17:40:21 2008 UTC
Modified files:
/phpdoc-fr/appendices ini.xml
/phpdoc-fr/features connection-handling.xml safe-mode.xml
/phpdoc-fr language-defs.ent
/phpdoc-fr/language operators.xml
/phpdoc-fr/language/predefined errorexception.xml
Log:
sync with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/ini.xml?r1=1.65&r2=1.66&diff_format=u Index: phpdoc-fr/appendices/ini.xml diff -u phpdoc-fr/appendices/ini.xml:1.65 phpdoc-fr/appendices/ini.xml:1.66 --- phpdoc-fr/appendices/ini.xml:1.65 Fri Apr 18 19:53:07 2008 +++ phpdoc-fr/appendices/ini.xml Fri Apr 25 17:40:20 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.65 $ --> -<!-- EN-Revision: 1.67 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.66 $ --> +<!-- EN-Revision: 1.68 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -3691,11 +3691,6 @@ Pour plus d'informations, lisez la page <link linkend="language.basic-syntax.phpmode">Sortir du mode HTML</link>. </simpara> - <note> - <para> - Le support des balises ASP a été ajouté en PHP 3.0.4. - </para> - </note> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/features/connection-handling.xml?r1=1.25&r2=1.26&diff_format=u Index: phpdoc-fr/features/connection-handling.xml diff -u phpdoc-fr/features/connection-handling.xml:1.25 phpdoc-fr/features/connection-handling.xml:1.26 --- phpdoc-fr/features/connection-handling.xml:1.25 Thu Sep 6 13:41:50 2007 +++ phpdoc-fr/features/connection-handling.xml Fri Apr 25 17:40:21 2008 @@ -1,18 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> -<!-- EN-Revision: 1.18 Maintainer: poz Status: ready --> +<!-- $Revision: 1.26 $ --> +<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="features.connection-handling" xmlns="http://docbook.org/ns/docbook"> <title>Gestion des connexions</title> - <note> - <para> - Les informations suivantes ne sont valables qu'à - partir de la version 3.0.7. - </para> - </note> <para> - Le statut des connexions est conservé en interne par &php;. Il y a + Le statut des connexions est conservé en interne par PHP. Il y a trois états possibles : <itemizedlist> <listitem><simpara>0 - NORMAL (normal)</simpara></listitem> @@ -21,11 +15,11 @@ </itemizedlist> </para> <simpara> - Lorsqu'un script &php; est en cours d'exécution, son + Lorsqu'un script PHP est en cours d'exécution, son état est NORMAL. Si le client distant se déconnecte, le statut devient ABORTED. En général, une telle déconnexion provient d'un arrêt temporaire. Si la - durée maximale d'exécution de &php; est + durée maximale d'exécution de PHP est dépassée, (voir <function>set_time_limit</function>), le script prend le statut TIMEOUT. @@ -43,13 +37,13 @@ <option>ignore_user_abort</option> du fichier Apache &httpd.conf; ou avec la fonction <function>ignore_user_abort</function>. Si vous - ne demandez pas à &php; d'ignorer la déconnexion, et que + ne demandez pas à PHP d'ignorer la déconnexion, et que l'utilisateur se déconnecte, le script sera terminé. La seule exception est si vous avez enregistré une fonction de fermeture, avec <function>register_shutdown_function</function>. Avec une telle fonction, lorsque l'utilisateur interrompt sa requête, à la prochaine exécution du script, - &php; va s'apercevoir que le dernier script n'a pas été + PHP va s'apercevoir que le dernier script n'a pas été terminé, et il va déclencher la fonction de fermeture. Cette fonction sera aussi appelée à la fin du script, si celui-ci se termine normalement. Pour pouvoir avoir un comportement @@ -63,7 +57,7 @@ Votre script peut aussi être automatiquement interrompu après une certaine durée. Par défaut, le délai est de 30 secondes. Cette valeur - peut être changée en utilisant la directive &php; + peut être changée en utilisant la directive PHP <option>max_execution_time</option> dans le fichier &php.ini; ou avec la directive <literal>php_value max_execution_time</literal>, dans le fichier @@ -81,8 +75,8 @@ <simpara> Une chose à noter est que les deux cas ABORTED et TIMEOUT peuvent être appelés en même temps. Ceci est - possible si vous demandez à &php; d'ignorer les - déconnexions des utilisateurs. &php; va quand + possible si vous demandez à PHP d'ignorer les + déconnexions des utilisateurs. PHP va quand même noter le fait que l'utilisateur s'est déconnecté, mais le script va continuer. Puis, lorsqu'il atteint la limite de temps, le script va expirer. À ce moment-là, la http://cvs.php.net/viewvc.cgi/phpdoc-fr/features/safe-mode.xml?r1=1.50&r2=1.51&diff_format=u Index: phpdoc-fr/features/safe-mode.xml diff -u phpdoc-fr/features/safe-mode.xml:1.50 phpdoc-fr/features/safe-mode.xml:1.51 --- phpdoc-fr/features/safe-mode.xml:1.50 Sun Apr 13 21:19:10 2008 +++ phpdoc-fr/features/safe-mode.xml Fri Apr 25 17:40:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.50 $ --> -<!-- EN-Revision: 1.75 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.51 $ --> +<!-- EN-Revision: 1.76 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="features.safe-mode" xmlns="http://docbook.org/ns/docbook"> @@ -270,11 +270,6 @@ restreindre l'accès à un dossier spécifique, ajoutez un slash final. Par exemple : <literal>open_basedir = /dir/incl/</literal>. </para> - <note> - <para> - Le support des dossiers multiples a été ajouté en PHP 3.0.7. - </para> - </note> <para> La valeur par défaut permet l'ouverture de tous les fichiers. http://cvs.php.net/viewvc.cgi/phpdoc-fr/language-defs.ent?r1=1.43&r2=1.44&diff_format=u Index: phpdoc-fr/language-defs.ent diff -u phpdoc-fr/language-defs.ent:1.43 phpdoc-fr/language-defs.ent:1.44 --- phpdoc-fr/language-defs.ent:1.43 Fri Apr 18 19:53:08 2008 +++ phpdoc-fr/language-defs.ent Fri Apr 25 17:40:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.43 $ --> -<!-- EN-Revision: 1.38 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.44 $ --> +<!-- EN-Revision: 1.39 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <!ENTITY PHPManual "Manuel PHP"> @@ -75,6 +75,7 @@ <!ENTITY reftitle.examples '<title>Exemples</title>'> <!ENTITY reftitle.exceptions '<title>Exceptions</title>'> <!ENTITY reftitle.errors '<title>Erreurs / Exceptions</title>'> +<!ENTITY reftitle.faq '<title>&FAQ;</title>'> <!ENTITY reftitle.install '<title>Installation</title>'> <!ENTITY reftitle.intro '<title>Introduction</title>'> <!ENTITY reftitle.methods '<title>Méthodes</title>'> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/operators.xml?r1=1.101&r2=1.102&diff_format=u Index: phpdoc-fr/language/operators.xml diff -u phpdoc-fr/language/operators.xml:1.101 phpdoc-fr/language/operators.xml:1.102 --- phpdoc-fr/language/operators.xml:1.101 Fri Apr 18 19:53:08 2008 +++ phpdoc-fr/language/operators.xml Fri Apr 25 17:40:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.101 $ --> -<!-- EN-Revision: 1.123 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.102 $ --> +<!-- EN-Revision: 1.124 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook"> @@ -1275,6 +1275,8 @@ ]]> </screen> </example> + </para> + <para> <literal>instanceof</literal> peut également être utilisé pour déterminer si une variable est un objet instancié d'une classe qui hérite d'une classe parente : <example> @@ -1303,6 +1305,8 @@ ]]> </screen> </example> + </para> + <para> Pour vérifier si un objet n'est <emphasis>pas</emphasis> une instance d'une classe, l'<link linkend="language.operators.logical">opérateur logique <literal>not</literal></link> peut être utilisé. @@ -1326,6 +1330,8 @@ ]]> </screen> </example> + </para> + <para> Et finalement, <literal>instanceof</literal> peut être utilisé pour déterminer si une variable est un objet instancié d'une classe qui implémente une <link linkend="language.oop5.interfaces">interface</link> : http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/errorexception.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/language/predefined/errorexception.xml diff -u phpdoc-fr/language/predefined/errorexception.xml:1.1 phpdoc-fr/language/predefined/errorexception.xml:1.2 --- phpdoc-fr/language/predefined/errorexception.xml:1.1 Fri Apr 18 18:07:58 2008 +++ phpdoc-fr/language/predefined/errorexception.xml Fri Apr 25 17:40:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <reference xml:id="class.errorexception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -73,10 +73,7 @@ &reftitle.examples; <para> <example xml:id="errorexception.example.error-handler"><!-- {{{ --> - <title>Exemple avec <function>function-name</function></title> - <para> - Active tous les messages d'erreur dans ErrorException. - </para> + <title>Active tous les messages d'erreur dans ErrorException</title> <programlisting role="php"> <![CDATA[ <?php
http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/ini.xml?r1=1.65&r2=1.66&diff_format=u Index: phpdoc-fr/appendices/ini.xml diff -u phpdoc-fr/appendices/ini.xml:1.65 phpdoc-fr/appendices/ini.xml:1.66 --- phpdoc-fr/appendices/ini.xml:1.65 Fri Apr 18 19:53:07 2008 +++ phpdoc-fr/appendices/ini.xml Fri Apr 25 17:40:20 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.65 $ --> -<!-- EN-Revision: 1.67 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.66 $ --> +<!-- EN-Revision: 1.68 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -3691,11 +3691,6 @@ Pour plus d'informations, lisez la page <link linkend="language.basic-syntax.phpmode">Sortir du mode HTML</link>. </simpara> - <note> - <para> - Le support des balises ASP a été ajouté en PHP 3.0.4. - </para> - </note> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/features/connection-handling.xml?r1=1.25&r2=1.26&diff_format=u Index: phpdoc-fr/features/connection-handling.xml diff -u phpdoc-fr/features/connection-handling.xml:1.25 phpdoc-fr/features/connection-handling.xml:1.26 --- phpdoc-fr/features/connection-handling.xml:1.25 Thu Sep 6 13:41:50 2007 +++ phpdoc-fr/features/connection-handling.xml Fri Apr 25 17:40:21 2008 @@ -1,18 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> -<!-- EN-Revision: 1.18 Maintainer: poz Status: ready --> +<!-- $Revision: 1.26 $ --> +<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="features.connection-handling" xmlns="http://docbook.org/ns/docbook"> <title>Gestion des connexions</title> - <note> - <para> - Les informations suivantes ne sont valables qu'à - partir de la version 3.0.7. - </para> - </note> <para> - Le statut des connexions est conservé en interne par &php;. Il y a + Le statut des connexions est conservé en interne par PHP. Il y a trois états possibles : <itemizedlist> <listitem><simpara>0 - NORMAL (normal)</simpara></listitem> @@ -21,11 +15,11 @@ </itemizedlist> </para> <simpara> - Lorsqu'un script &php; est en cours d'exécution, son + Lorsqu'un script PHP est en cours d'exécution, son état est NORMAL. Si le client distant se déconnecte, le statut devient ABORTED. En général, une telle déconnexion provient d'un arrêt temporaire. Si la - durée maximale d'exécution de &php; est + durée maximale d'exécution de PHP est dépassée, (voir <function>set_time_limit</function>), le script prend le statut TIMEOUT. @@ -43,13 +37,13 @@ <option>ignore_user_abort</option> du fichier Apache &httpd.conf; ou avec la fonction <function>ignore_user_abort</function>. Si vous - ne demandez pas à &php; d'ignorer la déconnexion, et que + ne demandez pas à PHP d'ignorer la déconnexion, et que l'utilisateur se déconnecte, le script sera terminé. La seule exception est si vous avez enregistré une fonction de fermeture, avec <function>register_shutdown_function</function>. Avec une telle fonction, lorsque l'utilisateur interrompt sa requête, à la prochaine exécution du script, - &php; va s'apercevoir que le dernier script n'a pas été + PHP va s'apercevoir que le dernier script n'a pas été terminé, et il va déclencher la fonction de fermeture. Cette fonction sera aussi appelée à la fin du script, si celui-ci se termine normalement. Pour pouvoir avoir un comportement @@ -63,7 +57,7 @@ Votre script peut aussi être automatiquement interrompu après une certaine durée. Par défaut, le délai est de 30 secondes. Cette valeur - peut être changée en utilisant la directive &php; + peut être changée en utilisant la directive PHP <option>max_execution_time</option> dans le fichier &php.ini; ou avec la directive <literal>php_value max_execution_time</literal>, dans le fichier @@ -81,8 +75,8 @@ <simpara> Une chose à noter est que les deux cas ABORTED et TIMEOUT peuvent être appelés en même temps. Ceci est - possible si vous demandez à &php; d'ignorer les - déconnexions des utilisateurs. &php; va quand + possible si vous demandez à PHP d'ignorer les + déconnexions des utilisateurs. PHP va quand même noter le fait que l'utilisateur s'est déconnecté, mais le script va continuer. Puis, lorsqu'il atteint la limite de temps, le script va expirer. À ce moment-là, la http://cvs.php.net/viewvc.cgi/phpdoc-fr/features/safe-mode.xml?r1=1.50&r2=1.51&diff_format=u Index: phpdoc-fr/features/safe-mode.xml diff -u phpdoc-fr/features/safe-mode.xml:1.50 phpdoc-fr/features/safe-mode.xml:1.51 --- phpdoc-fr/features/safe-mode.xml:1.50 Sun Apr 13 21:19:10 2008 +++ phpdoc-fr/features/safe-mode.xml Fri Apr 25 17:40:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.50 $ --> -<!-- EN-Revision: 1.75 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.51 $ --> +<!-- EN-Revision: 1.76 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="features.safe-mode" xmlns="http://docbook.org/ns/docbook"> @@ -270,11 +270,6 @@ restreindre l'accès à un dossier spécifique, ajoutez un slash final. Par exemple : <literal>open_basedir = /dir/incl/</literal>. </para> - <note> - <para> - Le support des dossiers multiples a été ajouté en PHP 3.0.7. - </para> - </note> <para> La valeur par défaut permet l'ouverture de tous les fichiers. http://cvs.php.net/viewvc.cgi/phpdoc-fr/language-defs.ent?r1=1.43&r2=1.44&diff_format=u Index: phpdoc-fr/language-defs.ent diff -u phpdoc-fr/language-defs.ent:1.43 phpdoc-fr/language-defs.ent:1.44 --- phpdoc-fr/language-defs.ent:1.43 Fri Apr 18 19:53:08 2008 +++ phpdoc-fr/language-defs.ent Fri Apr 25 17:40:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.43 $ --> -<!-- EN-Revision: 1.38 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.44 $ --> +<!-- EN-Revision: 1.39 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <!ENTITY PHPManual "Manuel PHP"> @@ -75,6 +75,7 @@ <!ENTITY reftitle.examples '<title>Exemples</title>'> <!ENTITY reftitle.exceptions '<title>Exceptions</title>'> <!ENTITY reftitle.errors '<title>Erreurs / Exceptions</title>'> +<!ENTITY reftitle.faq '<title>&FAQ;</title>'> <!ENTITY reftitle.install '<title>Installation</title>'> <!ENTITY reftitle.intro '<title>Introduction</title>'> <!ENTITY reftitle.methods '<title>Méthodes</title>'> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/operators.xml?r1=1.101&r2=1.102&diff_format=u Index: phpdoc-fr/language/operators.xml diff -u phpdoc-fr/language/operators.xml:1.101 phpdoc-fr/language/operators.xml:1.102 --- phpdoc-fr/language/operators.xml:1.101 Fri Apr 18 19:53:08 2008 +++ phpdoc-fr/language/operators.xml Fri Apr 25 17:40:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.101 $ --> -<!-- EN-Revision: 1.123 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.102 $ --> +<!-- EN-Revision: 1.124 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook"> @@ -1275,6 +1275,8 @@ ]]> </screen> </example> + </para> + <para> <literal>instanceof</literal> peut également être utilisé pour déterminer si une variable est un objet instancié d'une classe qui hérite d'une classe parente : <example> @@ -1303,6 +1305,8 @@ ]]> </screen> </example> + </para> + <para> Pour vérifier si un objet n'est <emphasis>pas</emphasis> une instance d'une classe, l'<link linkend="language.operators.logical">opérateur logique <literal>not</literal></link> peut être utilisé. @@ -1326,6 +1330,8 @@ ]]> </screen> </example> + </para> + <para> Et finalement, <literal>instanceof</literal> peut être utilisé pour déterminer si une variable est un objet instancié d'une classe qui implémente une <link linkend="language.oop5.interfaces">interface</link> : http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/errorexception.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/language/predefined/errorexception.xml diff -u phpdoc-fr/language/predefined/errorexception.xml:1.1 phpdoc-fr/language/predefined/errorexception.xml:1.2 --- phpdoc-fr/language/predefined/errorexception.xml:1.1 Fri Apr 18 18:07:58 2008 +++ phpdoc-fr/language/predefined/errorexception.xml Fri Apr 25 17:40:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <reference xml:id="class.errorexception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -73,10 +73,7 @@ &reftitle.examples; <para> <example xml:id="errorexception.example.error-handler"><!-- {{{ --> - <title>Exemple avec <function>function-name</function></title> - <para> - Active tous les messages d'erreur dans ErrorException. - </para> + <title>Active tous les messages d'erreur dans ErrorException</title> <programlisting role="php"> <![CDATA[ <?php