cvs: phpdoc-fr / language-defs.ent /appendices wrappers.xml /faq using.xml /install/windows extensions.xml /language/oop5 reflection.xml
| From: | Yannick Torres | Date: | Mon, 27 Dec 2004 10:09:34 +0000 |
| Subject: | cvs: phpdoc-fr / language-defs.ent /appendices wrappers.xml /faq using.xml /install/windows extensions.xml /language/oop5 reflection.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-3769@lists.php.net to get a copy of this message | ||
yannick Mon Dec 27 05:09:34 2004 EDT
Modified files:
/phpdoc-fr/appendices wrappers.xml
/phpdoc-fr/faq using.xml
/phpdoc-fr/install/windows extensions.xml
/phpdoc-fr/language/oop5 reflection.xml
/phpdoc-fr language-defs.ent
Log:
sync with EN
http://cvs.php.net/diff.php/phpdoc-fr/appendices/wrappers.xml?r1=1.20&r2=1.21&ty=u Index: phpdoc-fr/appendices/wrappers.xml diff -u phpdoc-fr/appendices/wrappers.xml:1.20 phpdoc-fr/appendices/wrappers.xml:1.21 --- phpdoc-fr/appendices/wrappers.xml:1.20 Mon Nov 22 10:50:13 2004 +++ phpdoc-fr/appendices/wrappers.xml Mon Dec 27 05:09:32 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> -<!-- EN-Revision: 1.46 Maintainer: dams Status: ready --> +<!-- $Revision: 1.21 $ --> +<!-- EN-Revision: 1.48 Maintainer: dams Status: ready --> <appendix id="wrappers"> <title>Liste des protocoles supportés</title> <para> @@ -779,6 +779,237 @@ </para> </section> + <section id="wrappers.ssh2"> + <title>Shell sécurisé 2</title> + <simpara> + <filename>ssh2.shell://</filename> + <filename>ssh2.exec://</filename> + <filename>ssh2.tunnel://</filename> + <filename>ssh2.sftp://</filename> + <filename>ssh2.scp://</filename> + &php; 4.3.0 et supérieur (PECL) + </simpara> + + <itemizedlist> + <listitem><simpara><filename>ssh2.shell://user:pass@example.com:22/xterm</filename></simpara></listitem> + <listitem><simpara><filename>ssh2.exec://user:pass@example.com:22/usr/local/bin/somecmd</filename></simpara></listitem> + <listitem><simpara><filename>ssh2.tunnel://user:pass@example.com:22/192.168.0.1:14</filename></simpara></listitem> + <listitem><simpara><filename>ssh2.sftp://user:pass@example.com:22/path/to/filename</filename></simpara></listitem> + </itemizedlist> + + <note> + <title>Ce gestionnaire n'est pas activé par défaut</title> + <simpara> + Pour utiliser le gestionnaire <filename>ssh2.*://</filename>, vous devez installer + l'extension <ulink url="&url.pecl.package;ssh2">SSH2</ulink> disponible + dans <ulink url="&url.pecl;">PECL</ulink>. + </simpara> + </note> + + <simpara> + En plus d'accepter les traditionnelles identifications via l'URI, le gestionnaire ssh2 + réutilisera les connexions ouvertes en passant la ressource de connexion + dans la partie hôte de l'URL. + </simpara> + + <example> + <title>Ouverture d'un flux depuis une connexion active</title> + <programlisting role="php"> +<![CDATA[ +<?php +$session = ssh2_connect('example.com', 22); +ssh2_auth_pubkey_file($session, 'username', '/home/username/.ssh/id_rsa.pub', + '/home/username/.ssh/id_rsa', 'secret'); +$stream = fopen("ssh2.tunnel://$session/remote.example.com:1234", 'r'); +?> +]]> + </programlisting> + </example> + <para> + <table> + <title>Résumé du gestionnaire</title> + <tgroup cols="6"> + <thead> + <row> + <entry>Attribut</entry> + <entry>ssh2.shell</entry> + <entry>ssh2.exec</entry> + <entry>ssh2.tunnel</entry> + <entry>ssh2.sftp</entry> + <entry>ssh2.scp</entry> + </row> + </thead> + <tbody> + <row> + <entry>Restreint par <link linkend="ini.allow-url-fopen">allow_url_fopen</link>.</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + </row> + <row> + <entry>Permet la lecture</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + </row> + <row> + <entry>Permet l'écriture</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Permet l'ajout</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui (lorsque supporté par le serveur)</entry> + <entry>Non</entry> + </row> + <row> + <entry>Permet l'écriture et la lecture simultanément</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>stat</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>unlink</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>rename</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>mkdir</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>rmdir</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + + <para> + <table> + <title>Options de contexte</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Nom</entry> + <entry>Usage</entry> + <entry>Défaut</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>session</literal></entry> + <entry>ressource ssh2 pré-connectée pour être réutilisée</entry> + <entry/> + </row> + <row> + <entry><literal>sftp</literal></entry> + <entry>ressource sftp pré-allouée pour être réutilisée</entry> + <entry/> + </row> + <row> + <entry><literal>methods</literal></entry> + <entry>méthodes échange de clés, hostkey, cipher, compression et MAC à utiliser</entry> + <entry/> + </row> + <row> + <entry><literal>callbacks</literal></entry> + <entry></entry> + <entry></entry> + </row> + <row> + <entry><literal>username</literal></entry> + <entry>Nom de l'utilisateur pour la connexion</entry> + <entry></entry> + </row> + <row> + <entry><literal>password</literal></entry> + <entry>Mot de passe à utiliser lors d'une identification via mot de passe</entry> + <entry></entry> + </row> + <row> + <entry><literal>pubkey_file</literal></entry> + <entry>Nom du fichier contenant la clé publique à utiliser lors de l'identification</entry> + <entry></entry> + </row> + <row> + <entry><literal>privkey_file</literal></entry> + <entry>Nom du fichier contenant la clé privé à utiliser lors de l'identification</entry> + <entry></entry> + </row> + <row> + <entry><literal>env</literal></entry> + <entry>Tableau associatif de variables d'environnements à définir</entry> + <entry></entry> + </row> + <row> + <entry><literal>term</literal></entry> + <entry>Type d'émulation de terminal à demander lors de l'allocation d'un pty</entry> + <entry></entry> + </row> + <row> + <entry><literal>term_width</literal></entry> + <entry>Largeur du terminal à demander lors de l'allocation d'un pty</entry> + <entry></entry> + </row> + <row> + <entry><literal>term_height</literal></entry> + <entry>Hauteur du terminal à demander lors de l'allocation d'un pty</entry> + <entry></entry> + </row> + <row> + <entry><literal>term_units</literal></entry> + <entry>Unités à utiliser avec term_width et term_height</entry> + <entry><constant>SSH2_TERM_UNIT_CHARS</constant></entry> + </row> + </tbody> + </tgroup> + </table> + </para> + + + </section> + <section id="wrappers.audio"> <title>Flux Audio</title> <simpara><filename>ogg://</filename> &php; 4.3.0 et suivant (PECL) </simpara> http://cvs.php.net/diff.php/phpdoc-fr/faq/using.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc-fr/faq/using.xml diff -u phpdoc-fr/faq/using.xml:1.12 phpdoc-fr/faq/using.xml:1.13 --- phpdoc-fr/faq/using.xml:1.12 Sun Oct 31 15:53:58 2004 +++ phpdoc-fr/faq/using.xml Mon Dec 27 05:09:33 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.32 Maintainer: gui Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.33 Maintainer: gui Status: ready --> <chapter id="faq.using"> <title>Utiliser &php;</title> <titleabbrev>Utiliser &php;</titleabbrev> @@ -425,8 +425,9 @@ </question> <answer> <para> - Les options disponble sont K (pour Kilo octets) et M (pour Méga octets) et sont - sensibles à la casse. Tout autre chose est supposé représenter des octets. + Les options disponible sont K (pour Kilo octets) et M (pour Méga octets) et + G (pour Giga octets ; disponible depuis &php; 5.1.0), ils sont + insensibles à la casse. Tout autre chose est supposé représenter des octets. <literal>1M</literal> équivaut à un Méga octets ou <literal>1048576</literal> octets. <literal>1K</literal> équivaut à un Kilo octets ou <literal>1024</literal> octets. Vous ne devriez pas utiliser http://cvs.php.net/diff.php/phpdoc-fr/install/windows/extensions.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/install/windows/extensions.xml diff -u phpdoc-fr/install/windows/extensions.xml:1.7 phpdoc-fr/install/windows/extensions.xml:1.8 --- phpdoc-fr/install/windows/extensions.xml:1.7 Thu Dec 23 12:03:13 2004 +++ phpdoc-fr/install/windows/extensions.xml Mon Dec 27 05:09:33 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <sect1 id="install.windows.extensions"> <title>Installation des extensions sous Windows</title> <para> @@ -325,13 +325,13 @@ <entry>php_mysql.dll</entry> <entry><link linkend="ref.mysql">MySQL</link> functions</entry> <entry>&php; >= 5.0.0, requires <filename>libmysql.dll</filename> - (bundled)</entry> + (intégré)</entry> </row> <row> <entry>php_mysqli.dll</entry> <entry><link linkend="ref.mysqli">MySQLi</link> functions</entry> - <entry>&php; >= 5.0.0, requires <filename>libmysqli.dll</filename> - (bundled)</entry> + <entry>&php; >= 5.0.0, requires <filename>libmysql.dll</filename> + (<filename>libmysqli.dll</filename> en &php; <=5.0.2) (intégré)</entry> </row> <row> <entry>php_oci8.dll</entry> http://cvs.php.net/diff.php/phpdoc-fr/language/oop5/reflection.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/language/oop5/reflection.xml diff -u phpdoc-fr/language/oop5/reflection.xml:1.9 phpdoc-fr/language/oop5/reflection.xml:1.10 --- phpdoc-fr/language/oop5/reflection.xml:1.9 Sun Nov 21 08:50:36 2004 +++ phpdoc-fr/language/oop5/reflection.xml Mon Dec 27 05:09:33 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <sect1 id="language.oop5.reflection"> <title>Réflexion</title> <sect2 id="language.oop5.reflection.introduction"> @@ -321,6 +321,7 @@ public bool isInternal() public bool isUserDefined() public bool isInstantiable() + public bool hasMethod(string name) public string getFileName() public int getStartLine() public int getEndLine() @@ -352,6 +353,11 @@ ]]> </programlisting> </informalexample> + <note> + <simpara> + <function>hasMethod</function> a été ajouté en &php; 5.1.0. + </simpara> + </note> <para> Pour connaître le fonctionnement d'une classe, vous devez d'abord créer une instance de la classe <classname>ReflectionClass</classname>. Vous @@ -536,7 +542,7 @@ } // Création d'une instance de la classe Reflection_Method -$method= new ReflectionMethod('Counter', 'increment'); +$method = new ReflectionMethod('Counter', 'increment'); // Affichage d'informations basiques printf( http://cvs.php.net/diff.php/phpdoc-fr/language-defs.ent?r1=1.26&r2=1.27&ty=u Index: phpdoc-fr/language-defs.ent diff -u phpdoc-fr/language-defs.ent:1.26 phpdoc-fr/language-defs.ent:1.27 --- phpdoc-fr/language-defs.ent:1.26 Sat Dec 11 16:32:12 2004 +++ phpdoc-fr/language-defs.ent Mon Dec 27 05:09:34 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> -<!-- EN-Revision: 1.22 Maintainer: didou Status: ready --> +<!-- $Revision: 1.27 $ --> +<!-- EN-Revision: 1.23 Maintainer: didou Status: ready --> <!ENTITY PHPManual "Manuel PHP"> <!ENTITY Date "Date :"> @@ -33,19 +33,19 @@ <!-- Utiliser dans reference/$extname/reference.xml et d'autres fichiers supplémentaires pour marquer les titres des sections --> -<!ENTITY reftitle.intro '<title>Introduction</title>'> -<!ENTITY reftitle.required '<title>Pré-requis</title>'> -<!ENTITY reftitle.install '<title>Installation</title>'> -<!ENTITY reftitle.runtime '<title>Configuration à l'exécution</title>'> -<!ENTITY reftitle.resources '<title>Types de ressources</title>'> -<!ENTITY reftitle.constants '<title>Constantes prédefinies</title>'> +<!ENTITY reftitle.changelog '<title>ChangeLog</title>'> <!ENTITY reftitle.classes '<title>Classes prédefinies</title>'> +<!ENTITY reftitle.constants '<title>Constantes prédefinies</title>'> <!ENTITY reftitle.constructor '<title>Constructeur</title>'> -<!ENTITY reftitle.methods '<title>Méthodes</title>'> -<!ENTITY reftitle.properties '<title>Propriétés</title>'> <!ENTITY reftitle.description '<title>Description</title>'> -<!ENTITY reftitle.returnvalues '<title>Valeurs de retour</title>'> <!ENTITY reftitle.examples '<title>Exemples</title>'> -<!ENTITY reftitle.seealso '<title>Voir aussi</title>'> -<!ENTITY reftitle.changelog '<title>ChangeLog</title>'> +<!ENTITY reftitle.install '<title>Installation</title>'> +<!ENTITY reftitle.intro '<title>Introduction</title>'> +<!ENTITY reftitle.methods '<title>Méthodes</title>'> <!ENTITY reftitle.parameters '<title>Liste de paramètres</title>'> +<!ENTITY reftitle.properties '<title>Propriétés</title>'> +<!ENTITY reftitle.required '<title>Pré-requis</title>'> +<!ENTITY reftitle.resources '<title>Types de ressources</title>'> +<!ENTITY reftitle.runtime '<title>Configuration à l'exécution</title>'> +<!ENTITY reftitle.returnvalues '<title>Valeurs de retour</title>'> +<!ENTITY reftitle.seealso '<title>Voir aussi</title>'> \ No newline at end of file
http://cvs.php.net/diff.php/phpdoc-fr/appendices/wrappers.xml?r1=1.20&r2=1.21&ty=u Index: phpdoc-fr/appendices/wrappers.xml diff -u phpdoc-fr/appendices/wrappers.xml:1.20 phpdoc-fr/appendices/wrappers.xml:1.21 --- phpdoc-fr/appendices/wrappers.xml:1.20 Mon Nov 22 10:50:13 2004 +++ phpdoc-fr/appendices/wrappers.xml Mon Dec 27 05:09:32 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> -<!-- EN-Revision: 1.46 Maintainer: dams Status: ready --> +<!-- $Revision: 1.21 $ --> +<!-- EN-Revision: 1.48 Maintainer: dams Status: ready --> <appendix id="wrappers"> <title>Liste des protocoles supportés</title> <para> @@ -779,6 +779,237 @@ </para> </section> + <section id="wrappers.ssh2"> + <title>Shell sécurisé 2</title> + <simpara> + <filename>ssh2.shell://</filename> + <filename>ssh2.exec://</filename> + <filename>ssh2.tunnel://</filename> + <filename>ssh2.sftp://</filename> + <filename>ssh2.scp://</filename> + &php; 4.3.0 et supérieur (PECL) + </simpara> + + <itemizedlist> + <listitem><simpara><filename>ssh2.shell://user:pass@example.com:22/xterm</filename></simpara></listitem> + <listitem><simpara><filename>ssh2.exec://user:pass@example.com:22/usr/local/bin/somecmd</filename></simpara></listitem> + <listitem><simpara><filename>ssh2.tunnel://user:pass@example.com:22/192.168.0.1:14</filename></simpara></listitem> + <listitem><simpara><filename>ssh2.sftp://user:pass@example.com:22/path/to/filename</filename></simpara></listitem> + </itemizedlist> + + <note> + <title>Ce gestionnaire n'est pas activé par défaut</title> + <simpara> + Pour utiliser le gestionnaire <filename>ssh2.*://</filename>, vous devez installer + l'extension <ulink url="&url.pecl.package;ssh2">SSH2</ulink> disponible + dans <ulink url="&url.pecl;">PECL</ulink>. + </simpara> + </note> + + <simpara> + En plus d'accepter les traditionnelles identifications via l'URI, le gestionnaire ssh2 + réutilisera les connexions ouvertes en passant la ressource de connexion + dans la partie hôte de l'URL. + </simpara> + + <example> + <title>Ouverture d'un flux depuis une connexion active</title> + <programlisting role="php"> +<![CDATA[ +<?php +$session = ssh2_connect('example.com', 22); +ssh2_auth_pubkey_file($session, 'username', '/home/username/.ssh/id_rsa.pub', + '/home/username/.ssh/id_rsa', 'secret'); +$stream = fopen("ssh2.tunnel://$session/remote.example.com:1234", 'r'); +?> +]]> + </programlisting> + </example> + <para> + <table> + <title>Résumé du gestionnaire</title> + <tgroup cols="6"> + <thead> + <row> + <entry>Attribut</entry> + <entry>ssh2.shell</entry> + <entry>ssh2.exec</entry> + <entry>ssh2.tunnel</entry> + <entry>ssh2.sftp</entry> + <entry>ssh2.scp</entry> + </row> + </thead> + <tbody> + <row> + <entry>Restreint par <link linkend="ini.allow-url-fopen">allow_url_fopen</link>.</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + </row> + <row> + <entry>Permet la lecture</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + </row> + <row> + <entry>Permet l'écriture</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Permet l'ajout</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui (lorsque supporté par le serveur)</entry> + <entry>Non</entry> + </row> + <row> + <entry>Permet l'écriture et la lecture simultanément</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>stat</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>unlink</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>rename</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>mkdir</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + <row> + <entry>Supporte la fonction <function>rmdir</function></entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Non</entry> + <entry>Oui</entry> + <entry>Non</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + + <para> + <table> + <title>Options de contexte</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Nom</entry> + <entry>Usage</entry> + <entry>Défaut</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>session</literal></entry> + <entry>ressource ssh2 pré-connectée pour être réutilisée</entry> + <entry/> + </row> + <row> + <entry><literal>sftp</literal></entry> + <entry>ressource sftp pré-allouée pour être réutilisée</entry> + <entry/> + </row> + <row> + <entry><literal>methods</literal></entry> + <entry>méthodes échange de clés, hostkey, cipher, compression et MAC à utiliser</entry> + <entry/> + </row> + <row> + <entry><literal>callbacks</literal></entry> + <entry></entry> + <entry></entry> + </row> + <row> + <entry><literal>username</literal></entry> + <entry>Nom de l'utilisateur pour la connexion</entry> + <entry></entry> + </row> + <row> + <entry><literal>password</literal></entry> + <entry>Mot de passe à utiliser lors d'une identification via mot de passe</entry> + <entry></entry> + </row> + <row> + <entry><literal>pubkey_file</literal></entry> + <entry>Nom du fichier contenant la clé publique à utiliser lors de l'identification</entry> + <entry></entry> + </row> + <row> + <entry><literal>privkey_file</literal></entry> + <entry>Nom du fichier contenant la clé privé à utiliser lors de l'identification</entry> + <entry></entry> + </row> + <row> + <entry><literal>env</literal></entry> + <entry>Tableau associatif de variables d'environnements à définir</entry> + <entry></entry> + </row> + <row> + <entry><literal>term</literal></entry> + <entry>Type d'émulation de terminal à demander lors de l'allocation d'un pty</entry> + <entry></entry> + </row> + <row> + <entry><literal>term_width</literal></entry> + <entry>Largeur du terminal à demander lors de l'allocation d'un pty</entry> + <entry></entry> + </row> + <row> + <entry><literal>term_height</literal></entry> + <entry>Hauteur du terminal à demander lors de l'allocation d'un pty</entry> + <entry></entry> + </row> + <row> + <entry><literal>term_units</literal></entry> + <entry>Unités à utiliser avec term_width et term_height</entry> + <entry><constant>SSH2_TERM_UNIT_CHARS</constant></entry> + </row> + </tbody> + </tgroup> + </table> + </para> + + + </section> + <section id="wrappers.audio"> <title>Flux Audio</title> <simpara><filename>ogg://</filename> &php; 4.3.0 et suivant (PECL) </simpara> http://cvs.php.net/diff.php/phpdoc-fr/faq/using.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc-fr/faq/using.xml diff -u phpdoc-fr/faq/using.xml:1.12 phpdoc-fr/faq/using.xml:1.13 --- phpdoc-fr/faq/using.xml:1.12 Sun Oct 31 15:53:58 2004 +++ phpdoc-fr/faq/using.xml Mon Dec 27 05:09:33 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.32 Maintainer: gui Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.33 Maintainer: gui Status: ready --> <chapter id="faq.using"> <title>Utiliser &php;</title> <titleabbrev>Utiliser &php;</titleabbrev> @@ -425,8 +425,9 @@ </question> <answer> <para> - Les options disponble sont K (pour Kilo octets) et M (pour Méga octets) et sont - sensibles à la casse. Tout autre chose est supposé représenter des octets. + Les options disponible sont K (pour Kilo octets) et M (pour Méga octets) et + G (pour Giga octets ; disponible depuis &php; 5.1.0), ils sont + insensibles à la casse. Tout autre chose est supposé représenter des octets. <literal>1M</literal> équivaut à un Méga octets ou <literal>1048576</literal> octets. <literal>1K</literal> équivaut à un Kilo octets ou <literal>1024</literal> octets. Vous ne devriez pas utiliser http://cvs.php.net/diff.php/phpdoc-fr/install/windows/extensions.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/install/windows/extensions.xml diff -u phpdoc-fr/install/windows/extensions.xml:1.7 phpdoc-fr/install/windows/extensions.xml:1.8 --- phpdoc-fr/install/windows/extensions.xml:1.7 Thu Dec 23 12:03:13 2004 +++ phpdoc-fr/install/windows/extensions.xml Mon Dec 27 05:09:33 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <sect1 id="install.windows.extensions"> <title>Installation des extensions sous Windows</title> <para> @@ -325,13 +325,13 @@ <entry>php_mysql.dll</entry> <entry><link linkend="ref.mysql">MySQL</link> functions</entry> <entry>&php; >= 5.0.0, requires <filename>libmysql.dll</filename> - (bundled)</entry> + (intégré)</entry> </row> <row> <entry>php_mysqli.dll</entry> <entry><link linkend="ref.mysqli">MySQLi</link> functions</entry> - <entry>&php; >= 5.0.0, requires <filename>libmysqli.dll</filename> - (bundled)</entry> + <entry>&php; >= 5.0.0, requires <filename>libmysql.dll</filename> + (<filename>libmysqli.dll</filename> en &php; <=5.0.2) (intégré)</entry> </row> <row> <entry>php_oci8.dll</entry> http://cvs.php.net/diff.php/phpdoc-fr/language/oop5/reflection.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/language/oop5/reflection.xml diff -u phpdoc-fr/language/oop5/reflection.xml:1.9 phpdoc-fr/language/oop5/reflection.xml:1.10 --- phpdoc-fr/language/oop5/reflection.xml:1.9 Sun Nov 21 08:50:36 2004 +++ phpdoc-fr/language/oop5/reflection.xml Mon Dec 27 05:09:33 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <sect1 id="language.oop5.reflection"> <title>Réflexion</title> <sect2 id="language.oop5.reflection.introduction"> @@ -321,6 +321,7 @@ public bool isInternal() public bool isUserDefined() public bool isInstantiable() + public bool hasMethod(string name) public string getFileName() public int getStartLine() public int getEndLine() @@ -352,6 +353,11 @@ ]]> </programlisting> </informalexample> + <note> + <simpara> + <function>hasMethod</function> a été ajouté en &php; 5.1.0. + </simpara> + </note> <para> Pour connaître le fonctionnement d'une classe, vous devez d'abord créer une instance de la classe <classname>ReflectionClass</classname>. Vous @@ -536,7 +542,7 @@ } // Création d'une instance de la classe Reflection_Method -$method= new ReflectionMethod('Counter', 'increment'); +$method = new ReflectionMethod('Counter', 'increment'); // Affichage d'informations basiques printf( http://cvs.php.net/diff.php/phpdoc-fr/language-defs.ent?r1=1.26&r2=1.27&ty=u Index: phpdoc-fr/language-defs.ent diff -u phpdoc-fr/language-defs.ent:1.26 phpdoc-fr/language-defs.ent:1.27 --- phpdoc-fr/language-defs.ent:1.26 Sat Dec 11 16:32:12 2004 +++ phpdoc-fr/language-defs.ent Mon Dec 27 05:09:34 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> -<!-- EN-Revision: 1.22 Maintainer: didou Status: ready --> +<!-- $Revision: 1.27 $ --> +<!-- EN-Revision: 1.23 Maintainer: didou Status: ready --> <!ENTITY PHPManual "Manuel PHP"> <!ENTITY Date "Date :"> @@ -33,19 +33,19 @@ <!-- Utiliser dans reference/$extname/reference.xml et d'autres fichiers supplémentaires pour marquer les titres des sections --> -<!ENTITY reftitle.intro '<title>Introduction</title>'> -<!ENTITY reftitle.required '<title>Pré-requis</title>'> -<!ENTITY reftitle.install '<title>Installation</title>'> -<!ENTITY reftitle.runtime '<title>Configuration à l'exécution</title>'> -<!ENTITY reftitle.resources '<title>Types de ressources</title>'> -<!ENTITY reftitle.constants '<title>Constantes prédefinies</title>'> +<!ENTITY reftitle.changelog '<title>ChangeLog</title>'> <!ENTITY reftitle.classes '<title>Classes prédefinies</title>'> +<!ENTITY reftitle.constants '<title>Constantes prédefinies</title>'> <!ENTITY reftitle.constructor '<title>Constructeur</title>'> -<!ENTITY reftitle.methods '<title>Méthodes</title>'> -<!ENTITY reftitle.properties '<title>Propriétés</title>'> <!ENTITY reftitle.description '<title>Description</title>'> -<!ENTITY reftitle.returnvalues '<title>Valeurs de retour</title>'> <!ENTITY reftitle.examples '<title>Exemples</title>'> -<!ENTITY reftitle.seealso '<title>Voir aussi</title>'> -<!ENTITY reftitle.changelog '<title>ChangeLog</title>'> +<!ENTITY reftitle.install '<title>Installation</title>'> +<!ENTITY reftitle.intro '<title>Introduction</title>'> +<!ENTITY reftitle.methods '<title>Méthodes</title>'> <!ENTITY reftitle.parameters '<title>Liste de paramètres</title>'> +<!ENTITY reftitle.properties '<title>Propriétés</title>'> +<!ENTITY reftitle.required '<title>Pré-requis</title>'> +<!ENTITY reftitle.resources '<title>Types de ressources</title>'> +<!ENTITY reftitle.runtime '<title>Configuration à l'exécution</title>'> +<!ENTITY reftitle.returnvalues '<title>Valeurs de retour</title>'> +<!ENTITY reftitle.seealso '<title>Voir aussi</title>'> \ No newline at end of file