cvs: phpdoc-fr /reference/curl/functions curl-setopt.xml /reference/dir .cvsignore book.xml constants.xml reference.xml setup.xml /reference/dom
.cvsignore book.xml constants.xml reference.xml setup.xml /reference/domxml .cvsignore book.xml constants.xml reference.xml setup.xml
/reference/expect book.xml constants.xml examples.xml reference.xml setup.xml

From: Date: Sat, 08 Mar 2008 09:15:54 +0000
Subject: cvs: phpdoc-fr /reference/curl/functions curl-setopt.xml /reference/dir .cvsignore book.xml constants.xml reference.xml setup.xml /reference/dom
.cvsignore book.xml constants.xml reference.xml setup.xml /reference/domxml .cvsignore book.xml constants.xml reference.xml setup.xml
/reference/expect book.xml constants.xml examples.xml reference.xml setup.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5577@lists.php.net to get a copy of this message
yannick Sat Mar 8 09:15:54 2008 UTC Added files: /phpdoc-fr/reference/dir book.xml setup.xml /phpdoc-fr/reference/dom book.xml setup.xml /phpdoc-fr/reference/domxml book.xml setup.xml /phpdoc-fr/reference/expect book.xml examples.xml setup.xml Removed files: /phpdoc-fr/reference/dir .cvsignore /phpdoc-fr/reference/dom .cvsignore /phpdoc-fr/reference/domxml .cvsignore Modified files: /phpdoc-fr/reference/curl/functions curl-setopt.xml /phpdoc-fr/reference/dir constants.xml reference.xml /phpdoc-fr/reference/dom constants.xml reference.xml /phpdoc-fr/reference/domxml constants.xml reference.xml /phpdoc-fr/reference/expect constants.xml reference.xml Log: sync with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/curl/functions/curl-setopt.xml?r1=1.41&r2=1.42&diff_format=u Index: phpdoc-fr/reference/curl/functions/curl-setopt.xml diff -u phpdoc-fr/reference/curl/functions/curl-setopt.xml:1.41 phpdoc-fr/reference/curl/functions/curl-setopt.xml:1.42 --- phpdoc-fr/reference/curl/functions/curl-setopt.xml:1.41 Tue Feb 26 08:32:50 2008 +++ phpdoc-fr/reference/curl/functions/curl-setopt.xml Sat Mar 8 09:15:53 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.41 $ --> -<!-- EN-Revision: 1.27 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.42 $ --> +<!-- EN-Revision: 1.28 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook"> @@ -726,7 +726,7 @@ </entry> </row> <row> - <entry><constant>CURLOPT_EGBSOCKET</constant></entry> + <entry><constant>CURLOPT_EGDSOCKET</constant></entry> <entry> Comme <parameter>CURLOPT_RANDOM_FILE</parameter> excepté que vous passez une chaîne qui contient un nom de fichier vers le socket http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dir/constants.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/dir/constants.xml diff -u phpdoc-fr/reference/dir/constants.xml:1.7 phpdoc-fr/reference/dir/constants.xml:1.8 --- phpdoc-fr/reference/dir/constants.xml:1.7 Sat Jul 21 18:17:54 2007 +++ phpdoc-fr/reference/dir/constants.xml Sat Mar 8 09:15:53 2008 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> -<section xml:id="dir.constants" xmlns="http://docbook.org/ns/docbook"> +<appendix xml:id="dir.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <variablelist> @@ -35,7 +35,7 @@ La constante <constant>PATH_SEPARATOR</constant> a été introduite en &php; 4.3.0-RC2. </simpara> </note> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dir/reference.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/dir/reference.xml diff -u phpdoc-fr/reference/dir/reference.xml:1.11 phpdoc-fr/reference/dir/reference.xml:1.12 --- phpdoc-fr/reference/dir/reference.xml:1.11 Mon Dec 10 17:10:05 2007 +++ phpdoc-fr/reference/dir/reference.xml Sat Mar 8 09:15:53 2008 @@ -1,57 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> -<!-- Purpose: fileprocess.file --> -<!-- Membership: core --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <reference xml:id="ref.dir" xmlns="http://docbook.org/ns/docbook"> - <title>Accès aux dossiers</title> - <titleabbrev>Dossiers</titleabbrev> - <partintro> - <section xml:id="dir.intro"> - &reftitle.intro; - <para> - </para> - </section> - - <section xml:id="dir.requirements"> - &reftitle.required; - &no.requirement; - </section> - - <section xml:id="dir.installation"> - &reftitle.install; - &no.install; - </section> +<reference xml:id="ref.dir" xmlns="http://docbook.org/ns/docbook"> + <title>&Functions; sur les dossiers</title> + <titleabbrev>Dossiers</titleabbrev> + + <partintro> + &reftitle.seealso; + <para> + Pour des fonctions connexes telles que <function>dirname</function>, + <function>is_dir</function>, <function>mkdir</function> et + <function>rmdir</function>, voyez donc la section + <link linkend="ref.filesystem">système de fichiers</link>. + </para> + </partintro> - <section xml:id="dir.configuration"> - &reftitle.runtime; - &no.config; - </section> - - <section xml:id="dir.resources"> - &reftitle.resources; - <para> - </para> - </section> - - &reference.dir.constants; - - <section xml:id="dir.seealso"> - &reftitle.seealso; - <para> - Pour des fonctions connexes telles que <function>dirname</function>, - <function>is_dir</function>, <function>mkdir</function> et - <function>rmdir</function>, voyez donc la section - <link linkend="ref.filesystem">système de fichiers</link>. - </para> - </section> - </partintro> - -&reference.dir.entities.functions; + &reference.dir.entities.functions; </reference> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -68,5 +37,4 @@ sgml-local-catalogs:nil sgml-local-ecat-files:nil End: ---> - +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/constants.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/dom/constants.xml diff -u phpdoc-fr/reference/dom/constants.xml:1.9 phpdoc-fr/reference/dom/constants.xml:1.10 --- phpdoc-fr/reference/dom/constants.xml:1.9 Sat Jul 21 18:17:54 2007 +++ phpdoc-fr/reference/dom/constants.xml Sat Mar 8 09:15:53 2008 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<section xml:id="dom.constants" xmlns="http://docbook.org/ns/docbook"> +<chapter xml:id="dom.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <table> @@ -411,8 +411,8 @@ </tbody> </tgroup> </table> - </section> - + </chapter> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -432,5 +432,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/viewvc.cgi/phpdoc-fr/reference/dom/reference.xml?r1=1.26&r2=1.27&diff_format=u Index: phpdoc-fr/reference/dom/reference.xml diff -u phpdoc-fr/reference/dom/reference.xml:1.26 phpdoc-fr/reference/dom/reference.xml:1.27 --- phpdoc-fr/reference/dom/reference.xml:1.26 Mon Dec 10 17:10:05 2007 +++ phpdoc-fr/reference/dom/reference.xml Sat Mar 8 09:15:53 2008 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> -<!-- EN-Revision: 1.30 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.27 $ --> +<!-- EN-Revision: 1.35 Maintainer: yannick Status: ready --> <!-- Purpose: xml --> <!-- Membership: bundled, external --> <!-- Reviewed: yes --> <reference xml:id="ref.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Fonctions DOM</title> + <title>&Functions; DOM</title> <titleabbrev>DOM</titleabbrev> <partintro> @@ -19,6 +19,14 @@ <para> Pour &php; 4, utilisez l'extension <link linkend="ref.domxml">DOM XML</link>. </para> + <note> + <para> + L'extension DOM utilise l'encdage UTF-8. Utilisez les fonctions + <function>utf8_encode</function> et <function>utf8_decode</function> + pour travailler avec les textes en ISO-8859-1 ou l'extension + <link linkend="ref.iconv">Iconv</link> pour les autres encodages. + </para> + </note> </section> <section xml:id="dom.installation"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/domxml/constants.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/domxml/constants.xml diff -u phpdoc-fr/reference/domxml/constants.xml:1.9 phpdoc-fr/reference/domxml/constants.xml:1.10 --- phpdoc-fr/reference/domxml/constants.xml:1.9 Sat Jul 21 18:17:55 2007 +++ phpdoc-fr/reference/domxml/constants.xml Sat Mar 8 09:15:53 2008 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <section xml:id="domxml.constants" xmlns="http://docbook.org/ns/docbook"> +<appendix xml:id="domxml.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <table> @@ -336,7 +336,7 @@ </tbody> </tgroup> </table> - </section> + </appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/domxml/reference.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc-fr/reference/domxml/reference.xml diff -u phpdoc-fr/reference/domxml/reference.xml:1.24 phpdoc-fr/reference/domxml/reference.xml:1.25 --- phpdoc-fr/reference/domxml/reference.xml:1.24 Mon Dec 10 17:10:05 2007 +++ phpdoc-fr/reference/domxml/reference.xml Sat Mar 8 09:15:53 2008 @@ -1,70 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> -<!-- EN-Revision: 1.23 Maintainer: didou Status: ready --> -<!-- Purpose: xml --> -<!-- Membership: pecl, external --> +<!-- $Revision: 1.25 $ --> +<!-- EN-Revision: 1.25 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <reference xml:id="ref.domxml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Fonctions DOM XML</title> - <titleabbrev>DOM XML</titleabbrev> + <title>&Functions; DOM XML</title> <partintro> - <section xml:id="domxml.intro"> - &reftitle.intro; - <para> - L'extension DOM XML a été reprise en main en &php; 4.3.0 pour être - mieux compatible avec les standards DOM. L'extension contient encore - de vieilles fonctions, mais elles ne sont plus utilisées. En particulier, - les fonctions qui ne sont pas orientées objets ne doivent pas être - utilisées. - </para> - <para> - Cette extension vous permet de générer des documents XML avec - les API DOM. Elle fournit aussi une fonction <function>domxml_xmltree</function> - qui transforme un fichier XML en tableau &php;. Actuellement, ce - tableau est accessible uniquement en lecture. Cela ne siginifie pas - que vous ne pouvez pas le modifier, mais cela n'aurait aucun sens - car <function>DomDocument_dump_mem</function> ne pourra pas prendre ces - modifications en considération. Par conséquent, si vous voulez - lire un fichier XML et écrire sa version modifiée, utilisez les - fonctions <function>DomDocument_create_text_node</function>, - <function>set_attribute</function>, etc. - et finalement <function>DomDocument_dump_mem</function>. - </para> - <note> - <para> - &pecl.moved-ver;5.0.0. - </para> - </note> - <note> - <simpara> - Cette extension n'est plus considérée comme expérimental. Néanmoins, elle ne - sera jamais distribuée avec &php; 5 mais uniquement avec &php; 4. - Si vous avez besoin du support DOM XML avec &php; 5, vous pouvez utiliser l'extension - <link linkend="ref.dom">DOM</link>. <literal>domxml</literal> - n'est pas compatible avec l'extension <link linkend="ref.dom">DOM</link>. - </simpara> - </note> - </section> - - <section xml:id="domxml.requirements"> - &reftitle.required; - <para> - Cette extension utilise la bibliothèque - <link xlink:href="&url.libxml;">GNOME XML</link>. Téléchargez là, - puis installez là. Vous aurez besoin de la version libxml-2.4.14 - ou plus récent. Pour utiliser les fonctionnalités DOM XSLT - vous pouvez utiliser la bibliothèque - <link xlink:href="&url.libxslt;">libxslt</link> et les progrès - des EXSLT (<link xlink:href="&url.exslt;">&url.exslt;</link>). - Téléchargez et installez ces bibliothèques si vous envisagez d'exploiter - ces fonctionnalités. Vous aurez besoin d'au moins libxslt-1.0.18. - </para> - </section> - - &reference.domxml.configure; - <section xml:id="domxml.deprecated"> <title>Fonctions dépréciées</title> <para> @@ -180,8 +122,6 @@ </para> </section> - &reference.domxml.constants; - <section xml:id="domxml.classes"> <title>Classes</title> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/expect/constants.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/expect/constants.xml diff -u phpdoc-fr/reference/expect/constants.xml:1.5 phpdoc-fr/reference/expect/constants.xml:1.6 --- phpdoc-fr/reference/expect/constants.xml:1.5 Sun Jul 22 17:47:28 2007 +++ phpdoc-fr/reference/expect/constants.xml Sat Mar 8 09:15:53 2008 @@ -1,8 +1,9 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.4 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> -<section xml:id="expect.constants" xmlns="http://docbook.org/ns/docbook"> + +<appendix xml:id="expect.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <variablelist> @@ -78,7 +79,7 @@ </listitem> </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/expect/reference.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/expect/reference.xml diff -u phpdoc-fr/reference/expect/reference.xml:1.7 phpdoc-fr/reference/expect/reference.xml:1.8 --- phpdoc-fr/reference/expect/reference.xml:1.7 Mon Dec 10 17:10:05 2007 +++ phpdoc-fr/reference/expect/reference.xml Sat Mar 8 09:15:53 2008 @@ -1,89 +1,10 @@ <?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.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> -<!-- Purpose: fileprocess.process --> -<!-- Membership: pecl --> <reference xml:id="ref.expect" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Fonctions Expect</title> - <titleabbrev>Expect</titleabbrev> - - <partintro> - <section xml:id="expect.intro"> - &reftitle.intro; - <para> - Cette extension autorise l'interaction avec des processus à travers PTY. - Vous pouvez utiliser l'<link - linkend="wrappers.expect">enveloppe <literal>expect://</literal></link> - avec les <link linkend="ref.filesystem">fonctions de système de - fichiers</link> ce qui fourni une interface simple et plus intuitive. - </para> - </section> - - <section xml:id="expect.requirements"> - &reftitle.required; - <para> - Ce module utilise les fonctions de la bibliothèque <link - xlink:href="&url.expect;">expect</link>. - Vous avez besoin de la libexpect version &gt;= 5.43.0. - </para> - </section> - - &reference.expect.configure; - - &reference.expect.ini; - - <section xml:id="expect.resources"> - &reftitle.resources; - <para> - <function>expect_popen</function> retourne un flux ouvert PTY utilisé par la fonction - <function>expect_expectl</function>. - </para> - </section> - - &reference.expect.constants; - - <section xml:id="expect.examples"> - &reftitle.examples; - <para> - Cet exemple se connecte à un hôte distant via SSH et affiche le temps - d'utilisation distant. - </para> - <example> - <title>Exemple d'Utilisation avec Expect</title> - <programlisting role="php"> -<![CDATA[ -<?php -ini_set ("expect.loguser", "Off"); - -$stream = fopen ("expect://ssh root@remotehost uptime", "r"); - -$cases = array ( - array (0 => "password:", 1 => PASSWORD) -); - -switch (expect_expectl ($stream, $cases)) -{ - case PASSWORD: - fwrite ($stream, "password\n"); - break; - - default: - die ("Une erreur s'est produite lors de la connexion à l'hôte distant !\n"); -} - -while ($line = fgets ($stream)) { - print $line; -} -fclose ($stream); -?> -]]> - </programlisting> - </example> - </section> - </partintro> - + <title>&Functions; Expect</title> &reference.expect.entities.functions; </reference> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dir/book.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/dir/book.xml +++ phpdoc-fr/reference/dir/book.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <book xml:id="book.dir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>&Functions; sur les dossiers</title> <titleabbrev>Dossiers</titleabbrev> <!-- {{{ preface FIXME: Empty intro? <preface xml:id="intro.dir"> &reftitle.intro; <para> </para> </preface> }}} --> &reference.dir.setup; &reference.dir.constants; &reference.dir.reference; </book> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dir/setup.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/dir/setup.xml +++ phpdoc-fr/reference/dir/setup.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="dir.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; <!-- {{{ Requirements --> <section xml:id="dir.requirements"> &reftitle.required; &no.requirement; </section> <!-- }}} --> <!-- {{{ Installation --> <section xml:id="dir.installation"> &reftitle.install; &no.install; </section> <!-- }}} --> <!-- {{{ Configuration --> <section xml:id="dir.configuration"> &reftitle.runtime; &no.config; </section> <!-- }}} --> <!-- {{{ Resources --> <section xml:id="dir.resources"> &reftitle.resources; &no.resource; </section> <!-- }}} --> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/book.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/dom/book.xml +++ phpdoc-fr/reference/dom/book.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <!-- Purpose: xml --> <!-- Membership: bundled, external --> <book xml:id="book.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>DOM Extension</title> <titleabbrev>DOM</titleabbrev> <preface xml:id="intro.dom"> &reftitle.intro; <para> L'extension DOM vous permet d'utiliser des documents XML via l'API DOM de &php; 5. </para> <para> Pour &php; 4, utilisez l'extension <link linkend="ref.domxml">DOM XML</link>. </para> <note> <para> L'extension DOM utilise l'encodage UTF-8. Utilisez les fonctions <function>utf8_encode</function> et <function>utf8_decode</function> pour travailler avec les textes en ISO-8859-1 ou l'extension <link linkend="ref.iconv">Iconv</link> pour les autres encodages. </para> </note> </preface> &reference.dom.setup; &reference.dom.constants; <!-- <reference xml:id="functions.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>DOM &Functions;</title> &reference.dom.entities.functions; </reference> --> &reference.dom.domattr; &reference.dom.domcharacterdata; &reference.dom.domcomment; &reference.dom.domdocument; &reference.dom.domdocumentfragment; &reference.dom.domdocumenttype; &reference.dom.domelement; &reference.dom.domentity; &reference.dom.domentityreference; &reference.dom.domexception; &reference.dom.domimplementation; &reference.dom.domnamednodemap; &reference.dom.domnode; &reference.dom.domnodelist; &reference.dom.domnotation; &reference.dom.domprocessinginstruction; &reference.dom.domtext; &reference.dom.domxpath; <!-- FIXME: <section xml:id='dom.class.domnamelist'> <title><classname>DOMNameList</classname></title> <para> </para> <section xml:id='dom.class.domnamelist.methods'> &reftitle.methods; <itemizedlist> <listitem> <para><xref linkend='function.dom-domnamelist-getname' /> - </para> </listitem> <listitem> <para><xref linkend='function.dom-domnamelist-getnamespaceuri' /> - </para> </listitem> </itemizedlist> </section> <section xml:id='dom.class.domnamelist.properties'> &reftitle.properties; <table> <title/> <tgroup cols="4"> <thead> <row> <entry>Name</entry> <entry>Type</entry> <entry>Read-only</entry> <entry>Description</entry> </row> </thead> <tbody> <row> <entry>length</entry> <entry>int</entry> <entry>yes</entry> <entry> The number of pairs (name and namespaceURI) in the list. The range of valid child node indices is 0 to <literal>length - 1</literal> inclusive. </entry> </row> </tbody> </tgroup> </table> </section> </section>--> </book> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/setup.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/dom/setup.xml +++ phpdoc-fr/reference/dom/setup.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="dom.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; <!-- {{{ Requirements --> <section xml:id="dom.requirements"> &reftitle.required; &no.requirement; </section> <!-- }}} --> <!-- {{{ Installation --> <section xml:id="dom.installation"> &reftitle.install; &no.install; </section> <!-- }}} --> <!-- {{{ Configuration --> <section xml:id="dom.configuration"> &reftitle.runtime; &no.config; </section> <!-- }}} --> <!-- {{{ Resources --> <section xml:id="dom.resources"> &reftitle.resources; &no.resource; </section> <!-- }}} --> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/domxml/book.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/domxml/book.xml +++ phpdoc-fr/reference/domxml/book.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <!-- Purpose: xml --> <!-- Membership: pecl, external --> <book xml:id="book.domxml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>DOM XML</title> <!-- {{{ preface --> <preface xml:id="intro.domxml"> &reftitle.intro; <para> L'extension DOM XML a été reprise en main en &php; 4.3.0 pour être mieux compatible avec les standards DOM. L'extension contient encore de vieilles fonctions, mais elles ne sont plus utilisées. En particulier, les fonctions qui ne sont pas orientées objets ne doivent pas être utilisées. </para> <para> Cette extension vous permet de générer des documents XML avec les API DOM. Elle fournit aussi une fonction <function>domxml_xmltree</function> qui transforme un fichier XML en tableau &php;. Actuellement, ce tableau est accessible uniquement en lecture. Cela ne siginifie pas que vous ne pouvez pas le modifier, mais cela n'aurait aucun sens car <function>DomDocument_dump_mem</function> ne pourra pas prendre ces modifications en considération. Par conséquent, si vous voulez lire un fichier XML et écrire sa version modifiée, utilisez les fonctions <function>DomDocument_create_text_node</function>, <function>set_attribute</function>, etc. et finalement <function>DomDocument_dump_mem</function>. </para> <note> <para> &pecl.moved-ver;5.0.0. </para> </note> <note> <simpara> Cette extension n'est plus considérée comme expérimental. Néanmoins, elle ne sera jamais distribuée avec &php; 5 mais uniquement avec &php; 4. Si vous avez besoin du support DOM XML avec &php; 5, vous pouvez utiliser l'extension <link linkend="book.dom">DOM</link>. <literal>domxml</literal> n'est pas compatible avec l'extension <link linkend="book.dom">DOM</link>. </simpara> </note> </preface> <!-- }}} --> &reference.domxml.setup; &reference.domxml.constants; &reference.domxml.reference; </book> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/domxml/setup.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/domxml/setup.xml +++ phpdoc-fr/reference/domxml/setup.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter xml:id="domxml.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; <!-- {{{ Requirements --> <section xml:id="domxml.requirements"> &reftitle.required; <para> Cette extension utilise la bibliothèque <link xlink:href="&url.libxml;">GNOME XML</link>. Téléchargez là, puis installez là. Vous aurez besoin de la version libxml-2.4.14 ou plus récent. Pour utiliser les fonctionnalités DOM XSLT vous pouvez utiliser la bibliothèque <link xlink:href="&url.libxslt;">libxslt</link> et les progrès des EXSLT (<link xlink:href="&url.exslt;">&url.exslt;</link>). Téléchargez et installez ces bibliothèques si vous envisagez d'exploiter ces fonctionnalités. Vous aurez besoin d'au moins libxslt-1.0.18. </para> </section> <!-- }}} --> <!-- {{{ Installation --> &reference.domxml.configure; <!-- }}} --> <!-- {{{ Configuration --> <section xml:id="domxml.configuration"> &reftitle.runtime; &no.config; </section> <!-- }}} --> <!-- {{{ Resources --> <section xml:id="domxml.resources"> &reftitle.resources; &no.resource; </section> <!-- }}} --> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/expect/book.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/expect/book.xml +++ phpdoc-fr/reference/expect/book.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <!-- Purpose: fileprocess.process --> <!-- Membership: pecl --> <book xml:id="book.expect" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Expect</title> <!-- {{{ preface --> <preface xml:id="intro.expect"> &reftitle.intro; <para> Cette extension autorise l'interaction avec des processus à travers PTY. Vous pouvez utiliser l'<link linkend="wrappers.expect">enveloppe <literal>expect://</literal></link> avec les <link linkend="ref.filesystem">fonctions de système de fichiers</link> ce qui fourni une interface simple et plus intuitive. </para> </preface> <!-- }}} --> &reference.expect.setup; &reference.expect.constants; &reference.expect.examples; &reference.expect.reference; </book> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/expect/examples.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/expect/examples.xml +++ phpdoc-fr/reference/expect/examples.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter xml:id="expect.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; <section xml:id="expect.examples-usage"> <title>Exemples d'Utilisation avec Expect</title> <example> <title>Exemple d'Utilisation avec Expect</title> <para> Cet exemple se connecte à un hôte distant via SSH et affiche le temps d'utilisation distant. </para> <programlisting role="php"> <![CDATA[ <?php ini_set("expect.loguser", "Off"); $stream = fopen("expect://ssh root@remotehost uptime", "r"); $cases = array ( array (0 => "password:", 1 => PASSWORD) ); switch (expect_expectl ($stream, $cases)) { case PASSWORD: fwrite ($stream, "password\n"); break; default: die ("Une erreur s'est produite lors de la connexion à l'hôte distant !\n"); } while ($line = fgets($stream)) { print $line; } fclose ($stream); ?> ]]> </programlisting> </example> <para> L'exemple suivant permet de se connecter à un hôte distant, détermine si le système d'exploitation distant est 32 ou 64 bits, puis, effectue une mise à jour d'un paquet spécifique. </para> <example> <title>Autre exemple d'utilisation d'Expect</title> <programlisting role="php"> <![CDATA[ <?php ini_set("expect.timeout", -1); ini_set("expect.loguser", "Off"); $stream = expect_popen("ssh root@remotehost"); while (true) { switch (expect_expectl ($stream, array ( array ("password:", PASSWORD), // SSH demande un mot de passe array ("yes/no)?", YESNO), // SSH demande si l'on souhaite stocker l'hôte array ("~$ ", SHELL, EXP_EXACT), // Nous avons récupéré un shell ! ))) { case PASSWORD: fwrite ($stream, "secret\n"); break; case YESNO: fwrite ($stream, "yes\n"); break; case SHELL: fwrite ($stream, "uname -a\n"); while (true) { switch (expect_expectl ($stream, array ( array ("~$ ", SHELL, EXP_EXACT), // Nous sommes dans le shell! array ("^Linux.*$", UNAME, EXP_REGEXP), // Affichage de la commande uname -a ), $match)) { case UNAME: $uname .= $match[0]; break; case SHELL: // Exécution de la mise à jour : if (strstr ($uname, "x86_64")) { fwrite ($stream, "rpm -Uhv http://mirrorsite/somepath/some_64bit.rpm\n"); } else { fwrite ($stream, "rpm -Uhv http://mirrorsite/somepath/some_32bit.rpm\n"); } fwrite ($stream, "exit\n"); break 2; case EXP_TIMEOUT: case EXP_EOF: break 2; default: die ("Une erreur est survenue !\n"); } } break 2; case EXP_TIMEOUT: case EXP_EOF: break 2; default: die ("Une erreur est survenue !\n"); } } fclose ($stream); ?> ]]> </programlisting> </example> </section> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/expect/setup.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/expect/setup.xml +++ phpdoc-fr/reference/expect/setup.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter xml:id="expect.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; <!-- {{{ Requirements --> <section xml:id="expect.requirements"> &reftitle.required; <para> Ce module utilise les fonctions de la bibliothèque <link xlink:href="&url.expect;">expect</link>. Vous avez besoin de la libexpect version &gt;= 5.43.0. </para> </section> <!-- }}} --> <!-- {{{ Installation --> &reference.expect.configure; <!-- }}} --> <!-- {{{ Configuration --> &reference.expect.ini; <!-- }}} --> <!-- {{{ Resources --> <section xml:id="expect.resources"> &reftitle.resources; <para> <function>expect_popen</function> retourne un flux ouvert PTY utilisé par la fonction <function>expect_expectl</function>. </para> </section> <!-- }}} --> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.fr (#5577) next »