cvs: phpdoc-fr /reference/domxml/functions domxml-root.xml /reference/ldap/functions ldap-add.xml /reference/session reference.xml
/reference/sockets/functions socket-getsockname.xml /reference/strings/functions localeconv.xml

From: Date: Tue, 13 Aug 2002 20:56:06 +0000
Subject: cvs: phpdoc-fr /reference/domxml/functions domxml-root.xml /reference/ldap/functions ldap-add.xml /reference/session reference.xml
/reference/sockets/functions socket-getsockname.xml /reference/strings/functions localeconv.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-24@lists.php.net to get a copy of this message
dams Tue Aug 13 16:56:06 2002 EDT Modified files: /phpdoc-fr/reference/domxml/functions domxml-root.xml /phpdoc-fr/reference/ldap/functions ldap-add.xml /phpdoc-fr/reference/session reference.xml /phpdoc-fr/reference/sockets/functions socket-getsockname.xml /phpdoc-fr/reference/strings/functions localeconv.xml Log: more corrections, xml-wise

Index: phpdoc-fr/reference/domxml/functions/domxml-root.xml diff -u phpdoc-fr/reference/domxml/functions/domxml-root.xml:1.1 phpdoc-fr/reference/domxml/functions/domxml-root.xml:1.2 --- phpdoc-fr/reference/domxml/functions/domxml-root.xml:1.1 Sun Apr 14 20:26:55 2002 +++ phpdoc-fr/reference/domxml/functions/domxml-root.xml Tue Aug 13 16:56:04 2002 @@ -27,36 +27,37 @@ <example> <title>Lecture de l'&eacute;l&eacute;ment principal</title> <programlisting role="php"> -&lt;?php - $xmlstr = "&lt;?xml version='1.0' standalone='yes'&gt; - &lt;!DOCTYPE chapter SYSTEM '/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd' - [ &lt;!ENTITY sp \"spanish\"&gt; - ]&gt; - &lt;!-- lsfj --&gt; - &lt;chapter language='en'&gt;&lt;title language='en'&gt;Title&lt;/title&gt; - &lt;para language='ge'&gt; +<![CDATA[ +<?php + $xmlstr = "<?xml version='1.0' standalone='yes'> + <!DOCTYPE chapter SYSTEM '/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd' + [ <!ENTITY sp \"spanish\"> + ]> + <!-- lsfj --> + <chapter language='en'><title language='en'>Title</title> + <para language='ge'> &amp;sp; - &lt;!-- comment --&gt; - &lt;informaltable language='&amp;sp;'&gt; - &lt;tgroup cols='3'&gt; - &lt;tbody&gt; - &lt;row&gt;&lt;entry&gt;a1&lt;/entry&gt;&lt;entry - morerows='1'&gt;b1&lt;/entry&gt;&lt;entry&gt;c1&lt;/entry&gt;&lt;/row&gt; - &lt;row&gt;&lt;entry&gt;a2&lt;/entry&gt;&lt;entry&gt;c2&lt;/entry&gt;&lt;/row&gt; - &lt;row&gt;&lt;entry&gt;a3&lt;/entry&gt;&lt;entry&gt;b3&lt;/entry&gt;&lt;entry&gt;c3&lt;/entry&gt;&lt;/row&gt; - &lt;/tbody&gt; - &lt;/tgroup&gt; - &lt;/informaltable&gt; - &lt;/para&gt; - &lt;/chapter&gt;"; + <!-- comment --> + <informaltable language='&sp;'> + <tgroup cols='3'> + <tbody> + <row><entry>a1</entry><entry morerows='1'>b1</entry><entry>c1</entry></row> + <row><entry>a2</entry><entry>c2</entry></row> + <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row> + </tbody> + </tgroup> + </informaltable> + </para> + </chapter>"; if(!$dom = xmldoc($xmlstr)) { echo "Erreur lors de l'analyse du document\n"; exit; } - $root = $dom-&gt;root(); + $root = $dom->root(); /* ou $root = domxml_root($dom); */ print_r($root); -?&gt; +?> +]]> </programlisting> </example> </para> Index: phpdoc-fr/reference/ldap/functions/ldap-add.xml diff -u phpdoc-fr/reference/ldap/functions/ldap-add.xml:1.3 phpdoc-fr/reference/ldap/functions/ldap-add.xml:1.4 --- phpdoc-fr/reference/ldap/functions/ldap-add.xml:1.3 Mon Aug 12 22:59:46 2002 +++ phpdoc-fr/reference/ldap/functions/ldap-add.xml Tue Aug 13 16:56:04 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/ldap.xml, last change in rev 1.2 --> <refentry id="function.ldap-add"> <refnamediv> @@ -26,11 +26,13 @@ num&eacute;riquement, &agrave; partir de 0. </para> <informalexample> +<![CDATA[ <?php $entree["attribut1"] = "valeur"; $entree["attribut2"][0] = "valeur1"; $entree["attribut2"][1] = "valeur2"; ?> +]]> </informalexample> <example> <title>Exemple complet avec identification</title> Index: phpdoc-fr/reference/session/reference.xml diff -u phpdoc-fr/reference/session/reference.xml:1.3 phpdoc-fr/reference/session/reference.xml:1.4 --- phpdoc-fr/reference/session/reference.xml:1.3 Thu Jul 25 08:16:08 2002 +++ phpdoc-fr/reference/session/reference.xml Tue Aug 13 16:56:04 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <reference id="ref.session"> <title>Sessions</title> <titleabbrev>Sessions</titleabbrev> @@ -226,7 +226,7 @@ l'identifiant de session automatiquement. Alternativement, vous pouvez utiliser la constante <constant>SID</constant>, qui est dŽfinie, si le client n'a pas envoyŽ le cookie appropriŽ. - <lconstantteral>SID</constant> est soit de la forme + <constant>SID</constant> est soit de la forme <literal>session_name=session_id</literal> ou une chaîne vide. <note> <para> Index: phpdoc-fr/reference/sockets/functions/socket-getsockname.xml diff -u phpdoc-fr/reference/sockets/functions/socket-getsockname.xml:1.1 phpdoc-fr/reference/sockets/functions/socket-getsockname.xml:1.2 --- phpdoc-fr/reference/sockets/functions/socket-getsockname.xml:1.1 Wed Jul 24 23:40:32 2002 +++ phpdoc-fr/reference/sockets/functions/socket-getsockname.xml Tue Aug 13 16:56:05 2002 @@ -1 +1 @@ -<?xml version="1.0" encoding="iso-8859-1"?><!-- $Revision: 1.3 $ --><!-- splitted from ./en/functions/sockets.xml, last change in rev 1.27 --> <refentry id="function.socket-getsockname"> <refnamediv> <refname>socket_getsockname</refname> <refpurpose> Interroge la socket locale </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>socket_getsockname</methodname> <methodparam><type>resource</type><parameter>socket</parameter></methodparam> <methodparam><type>string</type><parameter>&amp;addr</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>&amp;port</parameter></methodparam> </methodsynopsis> &warn.experimental.func; Si la socket <parameter>socket</parameter> est de type <constant>AF_INET</constant>, <function>socket_getsockname</function> retournera <emphasis>l'adresse IP</emphasis> locale, en notation numŽrique (e.g. <literal>127.0.0.1</literal>) dans le paramtre <parameter>address</parameter>, et si le paramtre optionnel <parameter>port</parameter> est prŽsent, elle retournera aussi le port de la communication Žtablie. </para> <para> Si la socket <parameter>socket</parameter> est de type <constant>AF_UNIX</constant>, <function>socket_getsockname</function> retournera le chemin sur le systme de fichiers (e.g. <literal>/var/run/daemon.sock</literal>) dans le paramtre <parameter>address</parameter>. </para> <para> &return.success; <function>socket_getsockname</function> peut aussi retourner &false; si le type de la socket n'est ni <constant>AF_INET</constant> ni <constant>AF_UNIX</constant>, auquel cas le dernier code d'erreur socket n'est <emphasis>pas</emphasis> modifiŽ. </para> <para> Voir aussi <function>socket_getpeername</function>, <function>socket_last_error</function> et <function>socket_strerror</function>. </para> </refsect1> </refentry><!-- Keep this comment at the end of the fileLocal variables:mode: sgmlsgml-omittag:tsgml-shorttag:tsgml-minimize-attributes:nilsgml-always-quote-attributes:tsgml-indent-step:1sgml-indent-data:tindent-tabs-mode:nilsgml-parent-document:nilsgml-default-dtd-file:"../../../../manual.ced"sgml-exposed-tags:nilsgml-local-catalogs:nilsgml-local-ecat-files:nilEnd:vim600: syn=xml fen fdm=syntax fdl=2 sivim: et tw=78 syn=sgmlvi: ts=1 sw=1--> \ No newline at end of file +<?xml version="1.0" encoding="iso-8859-1"?><!-- $Revision: 1.3 $ --><!-- splitted from ./en/functions/sockets.xml, last change in rev 1.27 --> <refentry id="function.socket-getsockname"> <refnamediv> <refname>socket_getsockname</refname> <refpurpose> Interroge la socket locale </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>socket_getsockname</methodname> <methodparam><type>resource</type><parameter>socket</parameter></methodparam> <methodparam><type>string</type><parameter>&amp;addr</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>&amp;port</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Si la socket <parameter>socket</parameter> est de type <constant>AF_INET</constant>, <function>socket_getsockname</function> retournera <emphasis>l'adresse IP</emphasis> locale, en notation numŽrique (e.g. <literal>127.0.0.1</literal>) dans le paramtre <parameter>address</parameter>, et si le paramtre optionnel <parameter>port</parameter> est prŽsent, elle retournera aussi le port de la communication Žtablie. </para> <para> Si la socket <parameter>socket</parameter> est de type <constant>AF_UNIX</constant>, <function>socket_getsockname</function> retournera le chemin sur le systme de fichiers (e.g. <literal>/var/run/daemon.sock</literal>) dans le paramtre <parameter>address</parameter>. </para> <para> &return.success; <function>socket_getsockname</function> peut aussi retourner &false; si le type de la socket n'est ni <constant>AF_INET</constant> ni <constant>AF_UNIX</constant>, auquel cas le dernier code d'erreur socket n'est <emphasis>pas</emphasis> modifiŽ. </para> <para> Voir aussi <function>socket_getpeername</function>, <function>socket_last_error</function> et <function>socket_strerror</function>. </para> </refsect1> </refentry><!-- Keep this comment at the end of the fileLocal variables:mode: sgmlsgml-omittag:tsgml-shorttag:tsgml-minimize-attributes:nilsgml-always-quote-attributes:tsgml-indent-step:1sgml-indent-data:tindent-tabs-mode:nilsgml-parent-document:nilsgml-default-dtd-file:"../../../../manual.ced"sgml-exposed-tags:nilsgml-local-catalogs:nilsgml-local-ecat-files:nilEnd:vim600: syn=xml fen fdm=syntax fdl=2 sivim: et tw=78 syn=sgmlvi: ts=1 sw=1--> \ No newline at end of file Index: phpdoc-fr/reference/strings/functions/localeconv.xml diff -u phpdoc-fr/reference/strings/functions/localeconv.xml:1.4 phpdoc-fr/reference/strings/functions/localeconv.xml:1.5 --- phpdoc-fr/reference/strings/functions/localeconv.xml:1.4 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/localeconv.xml Tue Aug 13 16:56:06 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.68 --> <refentry id="function.localeconv"> <refnamediv> @@ -22,7 +22,7 @@ de la configuration effectu&eacute;e avec <function>setlocale</function>. Le tableau associatif qui est retourn&eacute; contient les index suivants : - <informaltable > + <informaltable> <tgroup cols="2"> <thead> <row>
« previous php.doc.fr (#24) next »