cvs: phpdoc-fr /reference/crack reference.xml /reference/crack/functions crack-getlastmessage.xml /reference/ctype/functions ctype-alnum.xml
ctype-alpha.xml ctype-cntrl.xml ctype-digit.xml /reference/datetime/functions time.xml /reference/dom reference.xml /reference/dom/functions
dom-domdocument-getelementbyid.xml dom-domdocument-load.xml dom-domdocument-normalizedocument.xml dom-domdocument-registernodeclass.xml
dom-domdocumentfragment-appendxml.xml dom-domelement-setidattribute.xml dom-domelement-setidattributenode.xml dom-domelement-setidattributens.xml
dom-domnode-isdefaultnamespace.xml dom-domnode-normalize.xml /reference/expect/functions expect-popen.xml /reference/filter/functions
filter-var-array.xml /reference/iconv/functions iconv-mime-decode-headers.xml iconv-mime-encode.xml /reference/image/functions imagepsbbox.xml
/reference/json reference.xml /reference/json/functions json_encode.xml
| From: | Yannick Torres | Date: | Sun, 07 Jan 2007 10:22:01 +0000 |
| Subject: | cvs: phpdoc-fr /reference/crack reference.xml /reference/crack/functions crack-getlastmessage.xml /reference/ctype/functions ctype-alnum.xml ctype-alpha.xml ctype-cntrl.xml ctype-digit.xml /reference/datetime/functions time.xml /reference/dom reference.xml /reference/dom/functions dom-domdocument-getelementbyid.xml dom-domdocument-load.xml dom-domdocument-normalizedocument.xml dom-domdocument-registernodeclass.xml dom-domdocumentfragment-appendxml.xml dom-domelement-setidattribute.xml dom-domelement-setidattributenode.xml dom-domelement-setidattributens.xml dom-domnode-isdefaultnamespace.xml dom-domnode-normalize.xml /reference/expect/functions expect-popen.xml /reference/filter/functions filter-var-array.xml /reference/iconv/functions iconv-mime-decode-headers.xml iconv-mime-encode.xml /reference/image/functions imagepsbbox.xml /reference/json reference.xml /reference/json/functions json_encode.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-5140@lists.php.net to get a copy of this message | ||
yannick Sun Jan 7 10:22:01 2007 UTC
Modified files:
/phpdoc-fr/reference/crack/functions crack-getlastmessage.xml
/phpdoc-fr/reference/crack reference.xml
/phpdoc-fr/reference/ctype/functions ctype-alnum.xml
ctype-alpha.xml
ctype-cntrl.xml
ctype-digit.xml
/phpdoc-fr/reference/datetime/functions time.xml
/phpdoc-fr/reference/dom/functions
dom-domdocumentfragment-appendxml.xml
dom-domdocument-getelementbyid.xml
dom-domdocument-load.xml
dom-domdocument-normalizedocument.xml
dom-domdocument-registernodeclass.xml
dom-domelement-setidattributenode.xml
dom-domelement-setidattributens.xml
dom-domelement-setidattribute.xml
dom-domnode-isdefaultnamespace.xml
dom-domnode-normalize.xml
/phpdoc-fr/reference/dom reference.xml
/phpdoc-fr/reference/expect/functions expect-popen.xml
/phpdoc-fr/reference/filter/functions filter-var-array.xml
/phpdoc-fr/reference/iconv/functions iconv-mime-decode-headers.xml
iconv-mime-encode.xml
/phpdoc-fr/reference/image/functions imagepsbbox.xml
/phpdoc-fr/reference/json/functions json_encode.xml
/phpdoc-fr/reference/json reference.xml
Log:
sync with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml diff -u phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml:1.8 phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml:1.9 --- phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml:1.8 Sun Aug 27 20:36:16 2006 +++ phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.crack-getlastmessage"> @@ -23,7 +23,58 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le message depuis la dernière vérification. + Le message depuis la dernière vérification ou &false; s'il n'y eu aucune + vérification. + </para> + <para> + Le message retourné est un parmi : + <itemizedlist> + <listitem> + <simpara> + <literal>it's WAY too short</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is too short</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it does not contain enough DIFFERENT characters</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is all whitespace</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is too simplistic/systematic</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it looks like a National Insurance number.</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is based on a dictionary word</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is based on a (reversed) dictionary word</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>strong password</literal> + </simpara> + </listitem> + </itemizedlist> </para> </refsect1> <refsect1 role="seealso"> @@ -55,4 +106,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/crack/reference.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/crack/reference.xml diff -u phpdoc-fr/reference/crack/reference.xml:1.15 phpdoc-fr/reference/crack/reference.xml:1.16 --- phpdoc-fr/reference/crack/reference.xml:1.15 Sun Aug 27 20:36:16 2006 +++ phpdoc-fr/reference/crack/reference.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Purpose: mathcrypto.crypto --> <!-- Membership: pecl, external --> <!-- Reviewed: no --> @@ -35,14 +35,17 @@ <ulink url="&url.crack;">&url.crack;</ulink>. </para> </section> - + &reference.crack.configure; &reference.crack.ini; <section id="crack.resources"> &reftitle.resources; - &no.resource; + <para> + L'extension CrackLib définit un identifiant de ressource dictionnaire retourné + par la fonction <function>crack_opendict</function>. + </para> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ctype/functions/ctype-alnum.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-alnum.xml:1.14 phpdoc-fr/reference/ctype/functions/ctype-alnum.xml:1.15 --- phpdoc-fr/reference/ctype/functions/ctype-alnum.xml:1.14 Wed Oct 4 01:04:51 2006 +++ phpdoc-fr/reference/ctype/functions/ctype-alnum.xml Sun Jan 7 10:22:00 2007 @@ -1,9 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.ctype-alnum"> <refnamediv> <refname>ctype_alnum</refname> @@ -110,4 +109,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/ctype/functions/ctype-alpha.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-alpha.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-alpha.xml:1.13 phpdoc-fr/reference/ctype/functions/ctype-alpha.xml:1.14 --- phpdoc-fr/reference/ctype/functions/ctype-alpha.xml:1.13 Sun Aug 27 20:36:17 2006 +++ phpdoc-fr/reference/ctype/functions/ctype-alpha.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ctype-alpha"> @@ -111,4 +111,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/ctype/functions/ctype-cntrl.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml:1.13 phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml:1.14 --- phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml:1.13 Fri Dec 8 09:13:56 2006 +++ phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ctype-cntrl"> @@ -106,4 +106,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/ctype/functions/ctype-digit.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-digit.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.10 phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.11 --- phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.10 Sun Aug 27 20:36:17 2006 +++ phpdoc-fr/reference/ctype/functions/ctype-digit.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ctype-digit"> @@ -106,4 +106,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/datetime/functions/time.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/datetime/functions/time.xml diff -u phpdoc-fr/reference/datetime/functions/time.xml:1.12 phpdoc-fr/reference/datetime/functions/time.xml:1.13 --- phpdoc-fr/reference/datetime/functions/time.xml:1.12 Sun Aug 27 20:47:30 2006 +++ phpdoc-fr/reference/datetime/functions/time.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.time"> @@ -34,6 +34,8 @@ // 7 jours; 24 heures; 60 minutes; 60secondes echo 'Aujourd\'hui : '. date('Y-m-d') ."\n"; echo 'Semaine prochaine : '. date('Y-m-d', $nextWeek) ."\n"; +// ou en utilisant strtotime(): +echo 'Semaine prochaine : '. date('Y-m-d', strtotime('+1 week')) ."\n"; ?> ]]> </programlisting> @@ -41,7 +43,8 @@ <screen> <![CDATA[ Aujourd'hui : 2005-03-30 -Semaine prochaine : 2005-04-07 +Semaine prochaine : 2005-04-06 +Semaine prochaine : 2005-04-06 ]]> </screen> </example> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml:1.3 phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml:1.4 --- phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml:1.3 Sun Sep 10 10:20:44 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.dom-domdocumentfragment.appendxml"> @@ -17,9 +17,17 @@ <methodparam><type>string</type><parameter>data</parameter></methodparam> </methodsynopsis> </classsynopsis> - - &warn.undocumented.func; - + <para> + Ajoute des données raw XML à un DOMDocumentFragment. + </para> + <para> + Cette méthode ne fait pas partie du standart DOM. Elle a été créée pour simplifier + l'ajout d'un XML DocumentFragment dans un DOMDocument. + </para> + <para> + Si vous voulez respecter les standarts, vous devez créer un DOMDocument temporaire + avec une racine et parcourir les noeuds enfants de vos données XML pour les ajouter. + </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; @@ -42,6 +50,35 @@ &return.success; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Ajout de données XML à votre document</title> + <programlisting role="php"> +<![CDATA[ +<?php +$doc = new DOMDocument(); +$doc->loadXML("<root/>"); +$f = $doc->createDocumentFragment(); +$f->appendXML("<foo>text</foo><bar>text2</bar>"); +$doc->documentElement->appendChild($f); +echo $doc->saveXML(); +?> +]]> + </programlisting> + &example.outputs; + <screen role="xml"> +<![CDATA[ +<?xml version="1.0"?> +<root><foo>text</foo><bar>text2</bar></root> +]]> + </screen> + </example> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml:1.9 phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml:1.10 --- phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml:1.9 Sun Aug 27 21:02:33 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.dom-domdocument-getelementbyid"> @@ -23,9 +23,11 @@ mais cherche un élément avec un identifiant donné. </para> <para> - Selon le standard DOM, ceci requiert une DTD qui définie l'attribut ID du type ID. Vous devez - valider votre document avec la fonction - <xref linkend="function.dom-domdocument-validate" /> + Pour que cette fonction fonctionne, vous devez soit définir les attributs ID + avec <xref linkend="function.dom-domelement-setidattribute" /> + ou définir une DTD qui définit un attribut devant être de type ID. + Dans le dernier cas, vous devez valider votre document avec + <xref linkend="function.dom-domdocument-validate" /> ou <literal>DOMDocument::validateOnParse</literal> avant d'utiliser cette fonction. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml:1.13 phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml:1.14 --- phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml:1.13 Sun Aug 27 21:02:33 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.dom-domdocument-load"> @@ -21,13 +21,7 @@ </methodsynopsis> </classsynopsis> <para> - Charge un document XML depuis un fichier. - </para> - <para> - Cette méthode peut également être appelée statiquement pour charger et créer un - objet <classname>DOMDocument</classname>. L'invoquation statique peut être utilisée - lorsque aucune propriété de la classe <classname>DOMDocument</classname> n'a besoin - d'être définie avant le chargement. + Charge un document XML depuis un fichier. </para> </refsect1> <refsect1 role="parameters"> @@ -112,4 +106,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/functions/dom-domdocument-normalizedocument.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml Sun Jan 7 10:22:00 2007 @@ -1,25 +1,46 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domdocument-normalizedocument"> <refnamediv> - <refname>DOMDocument::normalizeDocument</refname> - <refpurpose>Agit comme si le document allait aller dans le cycle de sauvegarde et chargement, place le document dans sa forme "normale"</refpurpose> + <refname>DOMDocument->normalizeDocument()</refname> + <refpurpose>Normalise le document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DOMDocument::normalizeDocument</methodname> - <void/> - </methodsynopsis> + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>void</type><methodname>normalizeDocument</methodname> + <void/> + </methodsynopsis> + </classsynopsis> <para> - <ulink url="&url.dom3.spec;#core-Document3-normalizeDocument">Spécification</ulink> + Cette méthode fonctionne comme si vous sauvegardiez le document, puis vous le chargiez de nouveau, + rendant le document sous une forme "normal". </para> + </refsect1> - &warn.undocumented.func; + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member> + <ulink url="&url.dom3.spec;#core-Document3-normalizeDocument">La spécification DOM</ulink> + </member> + <member><xref linkend="function.dom-domnode-normalize" /></member> + </simplelist> + </para> </refsect1> </refentry> @@ -43,4 +64,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/functions/dom-domdocument-registernodeclass.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml Sun Jan 7 10:22:00 2007 @@ -1,22 +1,115 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domdocument-registernodeclass"> <refnamediv> - <refname>DOMDocument::registerNodeClass</refname> - <refpurpose>Enregistre la classe utilisée étendue pour créer un type de base de noeud</refpurpose> + <refname>DOMDocument->registerNodeClass()</refname> + <refpurpose>Enregistre la classe étendue utilisée pour créer un type de base de noeud</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DOMDocument::registerNodeClass</methodname> - <methodparam><type>string</type><parameter>baseclass</parameter></methodparam> - <methodparam><type>string</type><parameter>extendedclass</parameter></methodparam> - </methodsynopsis> + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>bool</type><methodname>registerNodeClass</methodname> + <methodparam><type>string</type><parameter>baseclass</parameter></methodparam> + <methodparam><type>string</type><parameter>extendedclass</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + + <para> + Cette méthode vous permet d'enregistrer votre propre classe étendue DOM à utiliser + ensuite dans l'extension DOM de &php;. + </para> + <para> + Cette méthode ne fait pas partie du standart DOM. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>baseclass</parameter></term> + <listitem> + <para> + La classe DOM qui vous voulez étendre. Vous pouvez trouver une liste + de ces classes dans l'introduction du chapitre. + </para> + <para> + Bien sûr, vous ne pouvez pas enregistrer une classe étendant DOMDocument + mais vous pouvez toujours commencer votre document en instanciant + votre propre classe étendue. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>extendedclass</parameter></term> + <listitem> + <para> + Le nom de votre classe étendue. Si la valeur &null; est fournie, toutes + les classes enregistrées précédemment étendant + <parameter>baseclass</parameter> seront supprimées. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Ajout d'un nouvelle méthode à DOMElement</title> + <programlisting role="php"> +<![CDATA[ +<?php + +class myElement extends DOMElement { + function appendElement($name) { + return $this->appendChild(new myElement($name)); + } +} + +class myDocument extends DOMDocument { + function setRoot($name) { + return $this->appendChild(new myElement($name)); + } +} + +$doc = new myDocument(); +$doc->registerNodeClass('DOMElement', 'myElement'); + +// À partir d'ici, l'ajout d'un élément à un autre se fait en un seul appel ! +$root = $doc->setRoot('root'); +$child = $root->appendElement('child'); +$child->setAttribute('foo', 'bar'); - &warn.undocumented.func; +echo $doc->saveXML(); +?> +]]> + </programlisting> + &example.outputs; + <screen role="xml"> +<![CDATA[ +<?xml version="1.0"?> +<root><child foo="bar"/></root> +]]> + </screen> + </example> + </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml diff -u phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml Sun Jan 7 10:22:00 2007 @@ -1,26 +1,92 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domelement-setidattributenode"> <refnamediv> - <refname>DOMElement::setIdAttributeNode</refname> + <refname>DOMElement->setIdAttributeNode()</refname> <refpurpose>Déclare l'attribut spécifié par le noeud à être de type ID</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DOMElement::setIdAttributeNode</methodname> - <methodparam><type>attr</type><parameter>idAttr</parameter></methodparam> - <methodparam><type>bool</type><parameter>isId</parameter></methodparam> - </methodsynopsis> + <classsynopsis> + <ooclass><classname>DOMElement</classname></ooclass> + <methodsynopsis> + <type>void</type><methodname>setIdAttributeNode</methodname> + <methodparam><type>DOMAttr</type><parameter>attr</parameter></methodparam> + <methodparam><type>bool</type><parameter>isId</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + Déclare l'attribut spécifié par <parameter>attr</parameter> afin qu'il soit de type ID. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>attr</parameter></term> + <listitem> + <para> + L'attribut du noeud. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>isId</parameter></term> + <listitem> + <para> + Définissez à &true; si vous voulez que <parameter>name</parameter> + soit de type ID, &false; sinon. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - <ulink url="&url.dom3.spec;#core-ID-ElSetIdAttrNode">Spécification</ulink> + &return.void; </para> + </refsect1> - &warn.undocumented.func; + <refsect1 role="errors"> + &reftitle.errors; + <para> + <variablelist> + <varlistentry> + <term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term> + <listitem> + <para> + Envoyé si le noeud est en lecture seul. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>DOM_NOT_FOUND</constant></term> + <listitem> + <para> + Envoyé si <parameter>name</parameter> n'est pas un attribut de cet élément. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domdocument-getelementbyid" /></member> + <member><xref linkend="function.dom-domelement-setidattribute" /></member> + <member><xref linkend="function.dom-domelement-setidattributens" /></member> + </simplelist> + </para> </refsect1> </refentry> @@ -44,4 +110,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/functions/dom-domelement-setidattributens.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml diff -u phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml Sun Jan 7 10:22:00 2007 @@ -1,27 +1,102 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domelement-setidattributens"> <refnamediv> - <refname>DOMElement::setIdAttributeNs</refname> + <refname>DOMElement->setIdAttributeNS()</refname> <refpurpose>Déclare l'attribut spécifié par son nom local et son espace de nom URI à être de type ID</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DOMElement::setIdAttributeNs</methodname> - <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> - <methodparam><type>string</type><parameter>localName</parameter></methodparam> - <methodparam><type>bool</type><parameter>isId</parameter></methodparam> - </methodsynopsis> + <classsynopsis> + <ooclass><classname>DOMElement</classname></ooclass> + <methodsynopsis> + <type>void</type><methodname>setIdAttributeNS</methodname> + <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> + <methodparam><type>string</type><parameter>localName</parameter></methodparam> + <methodparam><type>bool</type><parameter>isId</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + Déclare l'attribut spécifié par <parameter>localName</parameter> et + <parameter>namespaceURI</parameter> afin qu'il soit de type ID. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>namespaceURI</parameter></term> + <listitem> + <para> + L'URI de l'espace de nom de l'attribut. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>localName</parameter></term> + <listitem> + <para> + Le nom local de l'attribut, sous la forme <literal>prefix:tagname</literal>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>isId</parameter></term> + <listitem> + <para> + Définissez à &true; si vous voulez que <parameter>name</parameter> + soit de type ID, &false; sinon. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - <ulink url="&url.dom3.spec;#core-ID-ElSetIdAttrNS">Spécification</ulink> + &return.void; </para> + </refsect1> - &warn.undocumented.func; + <refsect1 role="errors"> + &reftitle.errors; + <para> + <variablelist> + <varlistentry> + <term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term> + <listitem> + <para> + Envoyé si le noeud est en lecture seul. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>DOM_NOT_FOUND</constant></term> + <listitem> + <para> + Envoyé si <parameter>name</parameter> n'est pas un attribut de cet élément. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domdocument-getelementbyid" /></member> + <member><xref linkend="function.dom-domelement-setidattribute" /></member> + <member><xref linkend="function.dom-domelement-setidattributenode" /></member> + </simplelist> + </para> </refsect1> </refentry> @@ -45,4 +120,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/functions/dom-domelement-setidattribute.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml diff -u phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml Sun Jan 7 10:22:00 2007 @@ -1,27 +1,92 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domelement-setidattribute"> <refnamediv> - <refname>DOMElement::setIdAttribute</refname> + <refname>DOMElement->setIdAttribute()</refname> <refpurpose>Déclare l'attribut spécifié par son nom à être de type ID</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DOMElement::setIdAttribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - <methodparam><type>bool</type><parameter>isId</parameter></methodparam> - </methodsynopsis> - + <classsynopsis> + <ooclass><classname>DOMElement</classname></ooclass> + <methodsynopsis> + <type>void</type><methodname>setIdAttribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + <methodparam><type>bool</type><parameter>isId</parameter></methodparam> + </methodsynopsis> + </classsynopsis> <para> - <ulink url="&url.dom3.spec;#core-ID-ElSetIdAttr">Spécification</ulink> + Déclare l'attribut <parameter>name</parameter> afin qu'il soit de type ID. </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>name</parameter></term> + <listitem> + <para> + Le nom de l'attribut. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>isId</parameter></term> + <listitem> + <para> + Définissez à &true; si vous voulez que <parameter>name</parameter> + soit de type ID, &false; sinon. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> - &warn.undocumented.func; + <refsect1 role="errors"> + &reftitle.errors; + <para> + <variablelist> + <varlistentry> + <term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term> + <listitem> + <para> + Envoyé si le noeud est en lecture seul. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>DOM_NOT_FOUND</constant></term> + <listitem> + <para> + Envoyé si <parameter>name</parameter> n'est pas un attribut de cet élément. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domdocument-getelementbyid" /></member> + <member><xref linkend="function.dom-domelement-setidattributenode" /></member> + <member><xref linkend="function.dom-domelement-setidattributens" /></member> + </simplelist> + </para> </refsect1> </refentry> @@ -45,4 +110,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/functions/dom-domnode-isdefaultnamespace.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml diff -u phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml Sun Jan 7 10:22:00 2007 @@ -1,25 +1,48 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domnode-isdefaultnamespace"> <refnamediv> - <refname>DOMNode::isDefaultNamespace</refname> - <refpurpose>Vérifie si l'espace de nom spécifié est l'espace de nom par défaut ou non</refpurpose> + <refname>DOMNode->isDefaultNamespace()</refname> + <refpurpose>Vérifie si l'espace de nom spécifié est l'espace de noms par défaut ou non</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DOMNode::isDefaultNamespace</methodname> - <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> - </methodsynopsis> - + <classsynopsis> + <ooclass><classname>DOMNode</classname></ooclass> + <methodsynopsis> + <type>bool</type><methodname>isDefaultNamespace</methodname> + <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> - <ulink url="&url.dom3.spec;#core-Node3-isDefaultNamespace">Spécification</ulink> + Vérifie si <parameter>namespaceURI</parameter> est l'espace de noms par défaut. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>namespaceURI</parameter></term> + <listitem> + <para> + L'URI de l'espace de noms à vérifier. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si <parameter>namespaceURI</parameter> est l'espace de noms + par défaut, &false; sinon. </para> - - &warn.undocumented.func; - </refsect1> </refentry> @@ -43,4 +66,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/functions/dom-domnode-normalize.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml diff -u phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml:1.8 phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml:1.9 --- phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml:1.8 Sun Aug 27 21:02:34 2006 +++ phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml Sun Jan 7 10:22:00 2007 @@ -1,14 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.dom-domnode-normalize"> <refnamediv> <refname>DOMNode->normalize()</refname> - <refpurpose> - Normalise le noeud - </refpurpose> + <refpurpose>Normalise le noeud</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -33,7 +31,10 @@ &reftitle.seealso; <para> <simplelist> - <member><xref linkend="function.dom-domdocument-normalize" /></member> + <member> + <ulink url="&url.dom3.spec;#core-ID-normalize">La spécification DOM</ulink> + </member> + <member><xref linkend="function.dom-domdocument-normalizedocument" /></member> </simplelist> </para> </refsect1> @@ -58,4 +59,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.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/dom/reference.xml diff -u phpdoc-fr/reference/dom/reference.xml:1.18 phpdoc-fr/reference/dom/reference.xml:1.19 --- phpdoc-fr/reference/dom/reference.xml:1.18 Sun Aug 27 21:02:33 2006 +++ phpdoc-fr/reference/dom/reference.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.23 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.27 Maintainer: jsgoupil Status: ready --> <!-- Purpose: xml --> <!-- Membership: bundled, external --> <!-- Reviewed: no --> @@ -13,15 +13,11 @@ <section id="dom.intro"> &reftitle.intro; <para> - L'extension DOM est le remplacement de l'extension - <link linkend="ref.domxml">DOM XML</link> en &php; 4. - Cette extension contient encore plusieurs anciennes fonctions - mais elles ne doivent plus être utilisées. En particulier, les fonctions - procédurales. + L'extension DOM vous permet d'utiliser des documents XML via l'API DOM + de &php; 5. </para> <para> - Cette extension vous permet de manipuler des documents XML avec l'API - DOM. + Pour &php; 4, utilisez l'extension <link linkend="ref.domxml">DOM XML</link>. </para> </section> @@ -34,7 +30,7 @@ &reftitle.classes; <para> L'API de ce module suit, autant que possible, les standards <ulink - url="&url.dom2.spec;">niveau 2 de DOM</ulink>. + url="&url.dom3.spec;">niveau 3 de DOM</ulink>. En conséquent, l'API est pleinement orientée objets. Il est bien d'avoir les standards DOM sous la main lors de l'utilisation de cette extension. </para> @@ -174,7 +170,7 @@ </table> </section> </section> - + <section id='dom.class.domcomment'> <title><classname>DOMComment</classname></title> <para> @@ -189,7 +185,7 @@ </itemizedlist> </section> </section> - + <section id='dom.class.domdocument'> <title><classname>DOMDocument</classname></title> <para> @@ -261,7 +257,7 @@ <para><xref linkend='function.dom-domdocument-loadxml' /> - Charge du XML depuis une chaîne de caractères</para> </listitem> <listitem> - <para><xref linkend='function.dom-domdocument-normalize' /> - Normalise un document</para> + <para><xref linkend='function.dom-domdocument-normalizedocument' /> - Normalise un document</para> </listitem> <listitem> <para><xref linkend='function.dom-domdocument-relaxngvalidate' /> - Effectue une validation relaxNG sur le document</para> @@ -270,6 +266,10 @@ <para><xref linkend='function.dom-domdocument-relaxngvalidatesource' /> - Effectue une validation relaxNG sur le document</para> </listitem> <listitem> + <para><xref linkend='function.dom-domdocument-registernodeclass' /> - Enregistre une classe étendue utilisée + pour créer un type d'un noeud de base (non standart DOM)</para> + </listitem> + <listitem> <para><xref linkend='function.dom-domdocument-save' /> - Sauvegarde l'arbre interne XML dans un fichier</para> </listitem> <listitem> @@ -326,7 +326,7 @@ <entry>DOMDocumentType</entry> <entry>oui</entry> <entry> - La déclaration de type de document associée avec ce document. + La déclaration de type de document associée avec ce document. </entry> </row> <row> @@ -454,6 +454,21 @@ </section> </section> + <section id='dom.class.domdocumentfragment'> + <title><classname>DOMDocumentFragment</classname></title> + <para> + Étend <classname>DOMNode</classname>. + </para> + <section id='dom.class.domdocumentfragment.methods'> + &reftitle.methods; + <itemizedlist> + <listitem> + <para><xref linkend='function.dom-domdocumentfragment-appendxml' /> - Ajoute des données raw XML (non standart DOM)</para> + </listitem> + </itemizedlist> + </section> + </section> + <section id='dom.class.domdocumenttype'> <title><classname>DOMDocumentType</classname></title> <para> @@ -527,10 +542,10 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> - + <section id='dom.class.domelement'> <title><classname>DOMElement</classname></title> <para> @@ -592,6 +607,15 @@ <listitem> <para><xref linkend='function.dom-domelement-setattributens' /> - Ajoute un nouvel attribut</para> </listitem> + <listitem> + <para><xref linkend='function.dom-domelement-setidattribute' /> - Déclare l'attribut ID</para> + </listitem> + <listitem> + <para><xref linkend='function.dom-domelement-setidattributenode' /> - Déclare l'attribut ID</para> + </listitem> + <listitem> + <para><xref linkend='function.dom-domelement-setidattributens' /> - Déclare l'attribut ID</para> + </listitem> </itemizedlist> </section> <section id='dom.class.domelement.properties'> @@ -622,9 +646,9 @@ </row> </tbody> </tgroup> - </table> + </table> </section> - </section> + </section> <section id='dom.class.domentity'> <title><classname>DOMEntity</classname></title> @@ -706,10 +730,10 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> - + <section id='dom.class.domentityreference'> <title><classname>DOMEntityReference</classname></title> <para> @@ -724,7 +748,7 @@ </itemizedlist> </section> </section> - + <section id='dom.class.domexception'> <title><classname>DOMException</classname></title> <para> @@ -756,7 +780,7 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> @@ -858,6 +882,10 @@ <para><xref linkend='function.dom-domnode-insertbefore' /> - Ajoute un nouvel enfant juste avant un noeud référencé</para> </listitem> <listitem> + <para><xref linkend='function.dom-domnode-isdefaultnamespace' /> - Vérifie si l'URI de l'espace de noms spécifiée + est l'espace de noms par défaut</para> + </listitem> + <listitem> <para><xref linkend='function.dom-domnode-issamenode' /> - Indique si deux noeuds sont identiques</para> </listitem> <listitem> @@ -1030,7 +1058,6 @@ <section id='dom.class.domnodelist'> <title><classname>DOMNodeList</classname></title> <para> - </para> <section id='dom.class.domnodelist.methods'> &reftitle.methods; @@ -1198,10 +1225,10 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> - + <section id='dom.class.domxpath'> <title><classname>DOMXPath</classname></title> <para> @@ -1250,12 +1277,11 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> - </section> - + <section id="dom.examples"> &reftitle.examples; <para> @@ -1317,10 +1343,9 @@ </example> </para> </section> - - + &reference.dom.constants; - + </partintro> &reference.dom.functions; @@ -1344,4 +1369,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/expect/functions/expect-popen.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/expect/functions/expect-popen.xml diff -u phpdoc-fr/reference/expect/functions/expect-popen.xml:1.2 phpdoc-fr/reference/expect/functions/expect-popen.xml:1.3 --- phpdoc-fr/reference/expect/functions/expect-popen.xml:1.2 Mon Oct 3 15:20:36 2005 +++ phpdoc-fr/reference/expect/functions/expect-popen.xml Sun Jan 7 10:22:00 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.expect-popen"> <refnamediv> <refname>expect_popen</refname> @@ -91,4 +92,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/filter/functions/filter-var-array.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/filter/functions/filter-var-array.xml diff -u phpdoc-fr/reference/filter/functions/filter-var-array.xml:1.2 phpdoc-fr/reference/filter/functions/filter-var-array.xml:1.3 --- phpdoc-fr/reference/filter/functions/filter-var-array.xml:1.2 Fri Dec 8 09:13:56 2006 +++ phpdoc-fr/reference/filter/functions/filter-var-array.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.filter-var-array"> @@ -84,18 +84,18 @@ $args = array( 'product_id' => FILTER_SANITIZE_ENCODED, 'component' => array('filter' => FILTER_VALIDATE_INT, - 'flags' => FILTER_FLAG_ARRAY, + 'flags' => FILTER_FORCE_ARRAY, 'options' => array('min_range' => 1, 'max_range' => 10) ), 'versions' => FILTER_SANITIZE_ENCODED, 'doesnotexist' => FILTER_VALIDATE_INT, 'testscalar' => array( 'filter' => FILTER_VALIDATE_INT, - 'flags' => FILTER_FLAG_SCALAR, + 'flags' => FILTER_REQUIRE_SCALAR, ), 'testarray' => array( 'filter' => FILTER_VALIDATE_INT, - 'flags' => FILTER_FLAG_ARRAY, + 'flags' => FILTER_FORCE_ARRAY, ) ); http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml diff -u phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml:1.8 phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml:1.9 --- phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml:1.8 Mon Jan 24 21:16:57 2005 +++ phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml Sun Jan 7 10:22:00 2007 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.iconv-mime-decode-headers"> <refnamediv> <refname>iconv_mime_decode_headers</refname> @@ -92,7 +93,7 @@ Date: Thu, 1 Jan 1970 00:00:00 +0000 Message-Id: <example@example.com> Received: from localhost (localhost [127.0.0.1]) by localhost - with SMTP id example for <example@example.com> + with SMTP id example for <example@example.com>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com) Received: (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000 @@ -154,4 +155,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml diff -u phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml:1.14 phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml:1.15 --- phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml:1.14 Mon Jan 24 21:16:57 2005 +++ phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml Sun Jan 7 10:22:00 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.iconv-mime-encode"> <refnamediv> <refname>iconv_mime_encode</refname> @@ -83,8 +84,8 @@ S'il est omis, la même valeur que <literal>input-charset</literal> sera utilisée. </entry> <entry> - le même valeur que <literal>input-charset</literal> - </entry> + <link linkend="iconv.configuration">iconv.internal_charset</link> + </entry> <entry>UTF-8</entry> </row> <row> @@ -171,4 +172,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/image/functions/imagepsbbox.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/image/functions/imagepsbbox.xml diff -u phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.15 phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.16 --- phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.15 Tue Nov 16 21:46:38 2004 +++ phpdoc-fr/reference/image/functions/imagepsbbox.xml Sun Jan 7 10:22:00 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.imagepsbbox"> <refnamediv> <refname>imagepsbbox</refname> @@ -58,7 +59,7 @@ </para> ¬e.config.t1lib; - + <para> <function>imagepsbbox</function> retourne un tableau contenant les éléments suivants : @@ -67,19 +68,19 @@ <tbody> <row> <entry>0</entry> - <entry>Abscisse inférieure gauche</entry> + <entry>Abscisse gauche</entry> </row> <row> <entry>1</entry> - <entry>Ordonnée inférieure gauche</entry> + <entry>Ordonnée supérieure</entry> </row> <row> <entry>2</entry> - <entry>Abscisse supérieure droite</entry> + <entry>Abscisse droite</entry> </row> <row> <entry>3</entry> - <entry>Ordonnée supérieure droite</entry> + <entry>Ordonnée inférieure</entry> </row> </tbody> </tgroup> @@ -111,4 +112,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/json/functions/json_encode.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/json/functions/json_encode.xml diff -u phpdoc-fr/reference/json/functions/json_encode.xml:1.1 phpdoc-fr/reference/json/functions/json_encode.xml:1.2 --- phpdoc-fr/reference/json/functions/json_encode.xml:1.1 Sun Aug 6 16:40:56 2006 +++ phpdoc-fr/reference/json/functions/json_encode.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.json-encode"> @@ -31,6 +31,9 @@ <para> La valeur à encoder. Peut être de n'importe quel type, excepté une &resource;. </para> + <para> + Cette fonction ne fonctionne qu'avec des données encodées UTF-8. + </para> </listitem> </varlistentry> </variablelist> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/json/reference.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/json/reference.xml diff -u phpdoc-fr/reference/json/reference.xml:1.2 phpdoc-fr/reference/json/reference.xml:1.3 --- phpdoc-fr/reference/json/reference.xml:1.2 Sun Sep 10 17:52:57 2006 +++ phpdoc-fr/reference/json/reference.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Purpose: basic.other --> <!-- Membership: pecl, bundled --> <!-- Reviewed: no --> @@ -14,7 +14,7 @@ &reftitle.intro; <para> Cette extension implémente le format d'échange de données - <literal>JavaScript Object Notation (JSON)</literal>. Le décodage + <ulink url="&url.json;">JavaScript Object Notation (JSON)</ulink>. Le décodage est géré par un moteur d'analyse basé sur le JSON_checker écrit par Douglas Crockford. </para> </section>
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml diff -u phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml:1.8 phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml:1.9 --- phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml:1.8 Sun Aug 27 20:36:16 2006 +++ phpdoc-fr/reference/crack/functions/crack-getlastmessage.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.crack-getlastmessage"> @@ -23,7 +23,58 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le message depuis la dernière vérification. + Le message depuis la dernière vérification ou &false; s'il n'y eu aucune + vérification. + </para> + <para> + Le message retourné est un parmi : + <itemizedlist> + <listitem> + <simpara> + <literal>it's WAY too short</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is too short</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it does not contain enough DIFFERENT characters</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is all whitespace</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is too simplistic/systematic</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it looks like a National Insurance number.</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is based on a dictionary word</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is based on a (reversed) dictionary word</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>strong password</literal> + </simpara> + </listitem> + </itemizedlist> </para> </refsect1> <refsect1 role="seealso"> @@ -55,4 +106,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/crack/reference.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/crack/reference.xml diff -u phpdoc-fr/reference/crack/reference.xml:1.15 phpdoc-fr/reference/crack/reference.xml:1.16 --- phpdoc-fr/reference/crack/reference.xml:1.15 Sun Aug 27 20:36:16 2006 +++ phpdoc-fr/reference/crack/reference.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Purpose: mathcrypto.crypto --> <!-- Membership: pecl, external --> <!-- Reviewed: no --> @@ -35,14 +35,17 @@ <ulink url="&url.crack;">&url.crack;</ulink>. </para> </section> - + &reference.crack.configure; &reference.crack.ini; <section id="crack.resources"> &reftitle.resources; - &no.resource; + <para> + L'extension CrackLib définit un identifiant de ressource dictionnaire retourné + par la fonction <function>crack_opendict</function>. + </para> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ctype/functions/ctype-alnum.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-alnum.xml:1.14 phpdoc-fr/reference/ctype/functions/ctype-alnum.xml:1.15 --- phpdoc-fr/reference/ctype/functions/ctype-alnum.xml:1.14 Wed Oct 4 01:04:51 2006 +++ phpdoc-fr/reference/ctype/functions/ctype-alnum.xml Sun Jan 7 10:22:00 2007 @@ -1,9 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.ctype-alnum"> <refnamediv> <refname>ctype_alnum</refname> @@ -110,4 +109,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/ctype/functions/ctype-alpha.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-alpha.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-alpha.xml:1.13 phpdoc-fr/reference/ctype/functions/ctype-alpha.xml:1.14 --- phpdoc-fr/reference/ctype/functions/ctype-alpha.xml:1.13 Sun Aug 27 20:36:17 2006 +++ phpdoc-fr/reference/ctype/functions/ctype-alpha.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ctype-alpha"> @@ -111,4 +111,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/ctype/functions/ctype-cntrl.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml:1.13 phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml:1.14 --- phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml:1.13 Fri Dec 8 09:13:56 2006 +++ phpdoc-fr/reference/ctype/functions/ctype-cntrl.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ctype-cntrl"> @@ -106,4 +106,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/ctype/functions/ctype-digit.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/ctype/functions/ctype-digit.xml diff -u phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.10 phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.11 --- phpdoc-fr/reference/ctype/functions/ctype-digit.xml:1.10 Sun Aug 27 20:36:17 2006 +++ phpdoc-fr/reference/ctype/functions/ctype-digit.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ctype-digit"> @@ -106,4 +106,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/datetime/functions/time.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/datetime/functions/time.xml diff -u phpdoc-fr/reference/datetime/functions/time.xml:1.12 phpdoc-fr/reference/datetime/functions/time.xml:1.13 --- phpdoc-fr/reference/datetime/functions/time.xml:1.12 Sun Aug 27 20:47:30 2006 +++ phpdoc-fr/reference/datetime/functions/time.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.time"> @@ -34,6 +34,8 @@ // 7 jours; 24 heures; 60 minutes; 60secondes echo 'Aujourd\'hui : '. date('Y-m-d') ."\n"; echo 'Semaine prochaine : '. date('Y-m-d', $nextWeek) ."\n"; +// ou en utilisant strtotime(): +echo 'Semaine prochaine : '. date('Y-m-d', strtotime('+1 week')) ."\n"; ?> ]]> </programlisting> @@ -41,7 +43,8 @@ <screen> <![CDATA[ Aujourd'hui : 2005-03-30 -Semaine prochaine : 2005-04-07 +Semaine prochaine : 2005-04-06 +Semaine prochaine : 2005-04-06 ]]> </screen> </example> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml:1.3 phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml:1.4 --- phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml:1.3 Sun Sep 10 10:20:44 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocumentfragment-appendxml.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.dom-domdocumentfragment.appendxml"> @@ -17,9 +17,17 @@ <methodparam><type>string</type><parameter>data</parameter></methodparam> </methodsynopsis> </classsynopsis> - - &warn.undocumented.func; - + <para> + Ajoute des données raw XML à un DOMDocumentFragment. + </para> + <para> + Cette méthode ne fait pas partie du standart DOM. Elle a été créée pour simplifier + l'ajout d'un XML DocumentFragment dans un DOMDocument. + </para> + <para> + Si vous voulez respecter les standarts, vous devez créer un DOMDocument temporaire + avec une racine et parcourir les noeuds enfants de vos données XML pour les ajouter. + </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; @@ -42,6 +50,35 @@ &return.success; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Ajout de données XML à votre document</title> + <programlisting role="php"> +<![CDATA[ +<?php +$doc = new DOMDocument(); +$doc->loadXML("<root/>"); +$f = $doc->createDocumentFragment(); +$f->appendXML("<foo>text</foo><bar>text2</bar>"); +$doc->documentElement->appendChild($f); +echo $doc->saveXML(); +?> +]]> + </programlisting> + &example.outputs; + <screen role="xml"> +<![CDATA[ +<?xml version="1.0"?> +<root><foo>text</foo><bar>text2</bar></root> +]]> + </screen> + </example> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml:1.9 phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml:1.10 --- phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml:1.9 Sun Aug 27 21:02:33 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocument-getelementbyid.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.dom-domdocument-getelementbyid"> @@ -23,9 +23,11 @@ mais cherche un élément avec un identifiant donné. </para> <para> - Selon le standard DOM, ceci requiert une DTD qui définie l'attribut ID du type ID. Vous devez - valider votre document avec la fonction - <xref linkend="function.dom-domdocument-validate" /> + Pour que cette fonction fonctionne, vous devez soit définir les attributs ID + avec <xref linkend="function.dom-domelement-setidattribute" /> + ou définir une DTD qui définit un attribut devant être de type ID. + Dans le dernier cas, vous devez valider votre document avec + <xref linkend="function.dom-domdocument-validate" /> ou <literal>DOMDocument::validateOnParse</literal> avant d'utiliser cette fonction. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml:1.13 phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml:1.14 --- phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml:1.13 Sun Aug 27 21:02:33 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocument-load.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.dom-domdocument-load"> @@ -21,13 +21,7 @@ </methodsynopsis> </classsynopsis> <para> - Charge un document XML depuis un fichier. - </para> - <para> - Cette méthode peut également être appelée statiquement pour charger et créer un - objet <classname>DOMDocument</classname>. L'invoquation statique peut être utilisée - lorsque aucune propriété de la classe <classname>DOMDocument</classname> n'a besoin - d'être définie avant le chargement. + Charge un document XML depuis un fichier. </para> </refsect1> <refsect1 role="parameters"> @@ -112,4 +106,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/functions/dom-domdocument-normalizedocument.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocument-normalizedocument.xml Sun Jan 7 10:22:00 2007 @@ -1,25 +1,46 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domdocument-normalizedocument"> <refnamediv> - <refname>DOMDocument::normalizeDocument</refname> - <refpurpose>Agit comme si le document allait aller dans le cycle de sauvegarde et chargement, place le document dans sa forme "normale"</refpurpose> + <refname>DOMDocument->normalizeDocument()</refname> + <refpurpose>Normalise le document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DOMDocument::normalizeDocument</methodname> - <void/> - </methodsynopsis> + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>void</type><methodname>normalizeDocument</methodname> + <void/> + </methodsynopsis> + </classsynopsis> <para> - <ulink url="&url.dom3.spec;#core-Document3-normalizeDocument">Spécification</ulink> + Cette méthode fonctionne comme si vous sauvegardiez le document, puis vous le chargiez de nouveau, + rendant le document sous une forme "normal". </para> + </refsect1> - &warn.undocumented.func; + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member> + <ulink url="&url.dom3.spec;#core-Document3-normalizeDocument">La spécification DOM</ulink> + </member> + <member><xref linkend="function.dom-domnode-normalize" /></member> + </simplelist> + </para> </refsect1> </refentry> @@ -43,4 +64,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/functions/dom-domdocument-registernodeclass.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml diff -u phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domdocument-registernodeclass.xml Sun Jan 7 10:22:00 2007 @@ -1,22 +1,115 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domdocument-registernodeclass"> <refnamediv> - <refname>DOMDocument::registerNodeClass</refname> - <refpurpose>Enregistre la classe utilisée étendue pour créer un type de base de noeud</refpurpose> + <refname>DOMDocument->registerNodeClass()</refname> + <refpurpose>Enregistre la classe étendue utilisée pour créer un type de base de noeud</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DOMDocument::registerNodeClass</methodname> - <methodparam><type>string</type><parameter>baseclass</parameter></methodparam> - <methodparam><type>string</type><parameter>extendedclass</parameter></methodparam> - </methodsynopsis> + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>bool</type><methodname>registerNodeClass</methodname> + <methodparam><type>string</type><parameter>baseclass</parameter></methodparam> + <methodparam><type>string</type><parameter>extendedclass</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + + <para> + Cette méthode vous permet d'enregistrer votre propre classe étendue DOM à utiliser + ensuite dans l'extension DOM de &php;. + </para> + <para> + Cette méthode ne fait pas partie du standart DOM. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>baseclass</parameter></term> + <listitem> + <para> + La classe DOM qui vous voulez étendre. Vous pouvez trouver une liste + de ces classes dans l'introduction du chapitre. + </para> + <para> + Bien sûr, vous ne pouvez pas enregistrer une classe étendant DOMDocument + mais vous pouvez toujours commencer votre document en instanciant + votre propre classe étendue. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>extendedclass</parameter></term> + <listitem> + <para> + Le nom de votre classe étendue. Si la valeur &null; est fournie, toutes + les classes enregistrées précédemment étendant + <parameter>baseclass</parameter> seront supprimées. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Ajout d'un nouvelle méthode à DOMElement</title> + <programlisting role="php"> +<![CDATA[ +<?php + +class myElement extends DOMElement { + function appendElement($name) { + return $this->appendChild(new myElement($name)); + } +} + +class myDocument extends DOMDocument { + function setRoot($name) { + return $this->appendChild(new myElement($name)); + } +} + +$doc = new myDocument(); +$doc->registerNodeClass('DOMElement', 'myElement'); + +// À partir d'ici, l'ajout d'un élément à un autre se fait en un seul appel ! +$root = $doc->setRoot('root'); +$child = $root->appendElement('child'); +$child->setAttribute('foo', 'bar'); - &warn.undocumented.func; +echo $doc->saveXML(); +?> +]]> + </programlisting> + &example.outputs; + <screen role="xml"> +<![CDATA[ +<?xml version="1.0"?> +<root><child foo="bar"/></root> +]]> + </screen> + </example> + </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml diff -u phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domelement-setidattributenode.xml Sun Jan 7 10:22:00 2007 @@ -1,26 +1,92 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domelement-setidattributenode"> <refnamediv> - <refname>DOMElement::setIdAttributeNode</refname> + <refname>DOMElement->setIdAttributeNode()</refname> <refpurpose>Déclare l'attribut spécifié par le noeud à être de type ID</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DOMElement::setIdAttributeNode</methodname> - <methodparam><type>attr</type><parameter>idAttr</parameter></methodparam> - <methodparam><type>bool</type><parameter>isId</parameter></methodparam> - </methodsynopsis> + <classsynopsis> + <ooclass><classname>DOMElement</classname></ooclass> + <methodsynopsis> + <type>void</type><methodname>setIdAttributeNode</methodname> + <methodparam><type>DOMAttr</type><parameter>attr</parameter></methodparam> + <methodparam><type>bool</type><parameter>isId</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + Déclare l'attribut spécifié par <parameter>attr</parameter> afin qu'il soit de type ID. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>attr</parameter></term> + <listitem> + <para> + L'attribut du noeud. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>isId</parameter></term> + <listitem> + <para> + Définissez à &true; si vous voulez que <parameter>name</parameter> + soit de type ID, &false; sinon. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - <ulink url="&url.dom3.spec;#core-ID-ElSetIdAttrNode">Spécification</ulink> + &return.void; </para> + </refsect1> - &warn.undocumented.func; + <refsect1 role="errors"> + &reftitle.errors; + <para> + <variablelist> + <varlistentry> + <term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term> + <listitem> + <para> + Envoyé si le noeud est en lecture seul. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>DOM_NOT_FOUND</constant></term> + <listitem> + <para> + Envoyé si <parameter>name</parameter> n'est pas un attribut de cet élément. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domdocument-getelementbyid" /></member> + <member><xref linkend="function.dom-domelement-setidattribute" /></member> + <member><xref linkend="function.dom-domelement-setidattributens" /></member> + </simplelist> + </para> </refsect1> </refentry> @@ -44,4 +110,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/functions/dom-domelement-setidattributens.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml diff -u phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domelement-setidattributens.xml Sun Jan 7 10:22:00 2007 @@ -1,27 +1,102 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domelement-setidattributens"> <refnamediv> - <refname>DOMElement::setIdAttributeNs</refname> + <refname>DOMElement->setIdAttributeNS()</refname> <refpurpose>Déclare l'attribut spécifié par son nom local et son espace de nom URI à être de type ID</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DOMElement::setIdAttributeNs</methodname> - <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> - <methodparam><type>string</type><parameter>localName</parameter></methodparam> - <methodparam><type>bool</type><parameter>isId</parameter></methodparam> - </methodsynopsis> + <classsynopsis> + <ooclass><classname>DOMElement</classname></ooclass> + <methodsynopsis> + <type>void</type><methodname>setIdAttributeNS</methodname> + <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> + <methodparam><type>string</type><parameter>localName</parameter></methodparam> + <methodparam><type>bool</type><parameter>isId</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + Déclare l'attribut spécifié par <parameter>localName</parameter> et + <parameter>namespaceURI</parameter> afin qu'il soit de type ID. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>namespaceURI</parameter></term> + <listitem> + <para> + L'URI de l'espace de nom de l'attribut. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>localName</parameter></term> + <listitem> + <para> + Le nom local de l'attribut, sous la forme <literal>prefix:tagname</literal>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>isId</parameter></term> + <listitem> + <para> + Définissez à &true; si vous voulez que <parameter>name</parameter> + soit de type ID, &false; sinon. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - <ulink url="&url.dom3.spec;#core-ID-ElSetIdAttrNS">Spécification</ulink> + &return.void; </para> + </refsect1> - &warn.undocumented.func; + <refsect1 role="errors"> + &reftitle.errors; + <para> + <variablelist> + <varlistentry> + <term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term> + <listitem> + <para> + Envoyé si le noeud est en lecture seul. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>DOM_NOT_FOUND</constant></term> + <listitem> + <para> + Envoyé si <parameter>name</parameter> n'est pas un attribut de cet élément. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domdocument-getelementbyid" /></member> + <member><xref linkend="function.dom-domelement-setidattribute" /></member> + <member><xref linkend="function.dom-domelement-setidattributenode" /></member> + </simplelist> + </para> </refsect1> </refentry> @@ -45,4 +120,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/functions/dom-domelement-setidattribute.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml diff -u phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domelement-setidattribute.xml Sun Jan 7 10:22:00 2007 @@ -1,27 +1,92 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domelement-setidattribute"> <refnamediv> - <refname>DOMElement::setIdAttribute</refname> + <refname>DOMElement->setIdAttribute()</refname> <refpurpose>Déclare l'attribut spécifié par son nom à être de type ID</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DOMElement::setIdAttribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - <methodparam><type>bool</type><parameter>isId</parameter></methodparam> - </methodsynopsis> - + <classsynopsis> + <ooclass><classname>DOMElement</classname></ooclass> + <methodsynopsis> + <type>void</type><methodname>setIdAttribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + <methodparam><type>bool</type><parameter>isId</parameter></methodparam> + </methodsynopsis> + </classsynopsis> <para> - <ulink url="&url.dom3.spec;#core-ID-ElSetIdAttr">Spécification</ulink> + Déclare l'attribut <parameter>name</parameter> afin qu'il soit de type ID. </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>name</parameter></term> + <listitem> + <para> + Le nom de l'attribut. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>isId</parameter></term> + <listitem> + <para> + Définissez à &true; si vous voulez que <parameter>name</parameter> + soit de type ID, &false; sinon. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> - &warn.undocumented.func; + <refsect1 role="errors"> + &reftitle.errors; + <para> + <variablelist> + <varlistentry> + <term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term> + <listitem> + <para> + Envoyé si le noeud est en lecture seul. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>DOM_NOT_FOUND</constant></term> + <listitem> + <para> + Envoyé si <parameter>name</parameter> n'est pas un attribut de cet élément. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domdocument-getelementbyid" /></member> + <member><xref linkend="function.dom-domelement-setidattributenode" /></member> + <member><xref linkend="function.dom-domelement-setidattributens" /></member> + </simplelist> + </para> </refsect1> </refentry> @@ -45,4 +110,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/functions/dom-domnode-isdefaultnamespace.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml diff -u phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml:1.1 phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml:1.2 --- phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml:1.1 Sun Dec 3 20:11:03 2006 +++ phpdoc-fr/reference/dom/functions/dom-domnode-isdefaultnamespace.xml Sun Jan 7 10:22:00 2007 @@ -1,25 +1,48 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.dom-domnode-isdefaultnamespace"> <refnamediv> - <refname>DOMNode::isDefaultNamespace</refname> - <refpurpose>Vérifie si l'espace de nom spécifié est l'espace de nom par défaut ou non</refpurpose> + <refname>DOMNode->isDefaultNamespace()</refname> + <refpurpose>Vérifie si l'espace de nom spécifié est l'espace de noms par défaut ou non</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DOMNode::isDefaultNamespace</methodname> - <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> - </methodsynopsis> - + <classsynopsis> + <ooclass><classname>DOMNode</classname></ooclass> + <methodsynopsis> + <type>bool</type><methodname>isDefaultNamespace</methodname> + <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> - <ulink url="&url.dom3.spec;#core-Node3-isDefaultNamespace">Spécification</ulink> + Vérifie si <parameter>namespaceURI</parameter> est l'espace de noms par défaut. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>namespaceURI</parameter></term> + <listitem> + <para> + L'URI de l'espace de noms à vérifier. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si <parameter>namespaceURI</parameter> est l'espace de noms + par défaut, &false; sinon. </para> - - &warn.undocumented.func; - </refsect1> </refentry> @@ -43,4 +66,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/functions/dom-domnode-normalize.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml diff -u phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml:1.8 phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml:1.9 --- phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml:1.8 Sun Aug 27 21:02:34 2006 +++ phpdoc-fr/reference/dom/functions/dom-domnode-normalize.xml Sun Jan 7 10:22:00 2007 @@ -1,14 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.dom-domnode-normalize"> <refnamediv> <refname>DOMNode->normalize()</refname> - <refpurpose> - Normalise le noeud - </refpurpose> + <refpurpose>Normalise le noeud</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -33,7 +31,10 @@ &reftitle.seealso; <para> <simplelist> - <member><xref linkend="function.dom-domdocument-normalize" /></member> + <member> + <ulink url="&url.dom3.spec;#core-ID-normalize">La spécification DOM</ulink> + </member> + <member><xref linkend="function.dom-domdocument-normalizedocument" /></member> </simplelist> </para> </refsect1> @@ -58,4 +59,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.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/dom/reference.xml diff -u phpdoc-fr/reference/dom/reference.xml:1.18 phpdoc-fr/reference/dom/reference.xml:1.19 --- phpdoc-fr/reference/dom/reference.xml:1.18 Sun Aug 27 21:02:33 2006 +++ phpdoc-fr/reference/dom/reference.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.23 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.27 Maintainer: jsgoupil Status: ready --> <!-- Purpose: xml --> <!-- Membership: bundled, external --> <!-- Reviewed: no --> @@ -13,15 +13,11 @@ <section id="dom.intro"> &reftitle.intro; <para> - L'extension DOM est le remplacement de l'extension - <link linkend="ref.domxml">DOM XML</link> en &php; 4. - Cette extension contient encore plusieurs anciennes fonctions - mais elles ne doivent plus être utilisées. En particulier, les fonctions - procédurales. + L'extension DOM vous permet d'utiliser des documents XML via l'API DOM + de &php; 5. </para> <para> - Cette extension vous permet de manipuler des documents XML avec l'API - DOM. + Pour &php; 4, utilisez l'extension <link linkend="ref.domxml">DOM XML</link>. </para> </section> @@ -34,7 +30,7 @@ &reftitle.classes; <para> L'API de ce module suit, autant que possible, les standards <ulink - url="&url.dom2.spec;">niveau 2 de DOM</ulink>. + url="&url.dom3.spec;">niveau 3 de DOM</ulink>. En conséquent, l'API est pleinement orientée objets. Il est bien d'avoir les standards DOM sous la main lors de l'utilisation de cette extension. </para> @@ -174,7 +170,7 @@ </table> </section> </section> - + <section id='dom.class.domcomment'> <title><classname>DOMComment</classname></title> <para> @@ -189,7 +185,7 @@ </itemizedlist> </section> </section> - + <section id='dom.class.domdocument'> <title><classname>DOMDocument</classname></title> <para> @@ -261,7 +257,7 @@ <para><xref linkend='function.dom-domdocument-loadxml' /> - Charge du XML depuis une chaîne de caractères</para> </listitem> <listitem> - <para><xref linkend='function.dom-domdocument-normalize' /> - Normalise un document</para> + <para><xref linkend='function.dom-domdocument-normalizedocument' /> - Normalise un document</para> </listitem> <listitem> <para><xref linkend='function.dom-domdocument-relaxngvalidate' /> - Effectue une validation relaxNG sur le document</para> @@ -270,6 +266,10 @@ <para><xref linkend='function.dom-domdocument-relaxngvalidatesource' /> - Effectue une validation relaxNG sur le document</para> </listitem> <listitem> + <para><xref linkend='function.dom-domdocument-registernodeclass' /> - Enregistre une classe étendue utilisée + pour créer un type d'un noeud de base (non standart DOM)</para> + </listitem> + <listitem> <para><xref linkend='function.dom-domdocument-save' /> - Sauvegarde l'arbre interne XML dans un fichier</para> </listitem> <listitem> @@ -326,7 +326,7 @@ <entry>DOMDocumentType</entry> <entry>oui</entry> <entry> - La déclaration de type de document associée avec ce document. + La déclaration de type de document associée avec ce document. </entry> </row> <row> @@ -454,6 +454,21 @@ </section> </section> + <section id='dom.class.domdocumentfragment'> + <title><classname>DOMDocumentFragment</classname></title> + <para> + Étend <classname>DOMNode</classname>. + </para> + <section id='dom.class.domdocumentfragment.methods'> + &reftitle.methods; + <itemizedlist> + <listitem> + <para><xref linkend='function.dom-domdocumentfragment-appendxml' /> - Ajoute des données raw XML (non standart DOM)</para> + </listitem> + </itemizedlist> + </section> + </section> + <section id='dom.class.domdocumenttype'> <title><classname>DOMDocumentType</classname></title> <para> @@ -527,10 +542,10 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> - + <section id='dom.class.domelement'> <title><classname>DOMElement</classname></title> <para> @@ -592,6 +607,15 @@ <listitem> <para><xref linkend='function.dom-domelement-setattributens' /> - Ajoute un nouvel attribut</para> </listitem> + <listitem> + <para><xref linkend='function.dom-domelement-setidattribute' /> - Déclare l'attribut ID</para> + </listitem> + <listitem> + <para><xref linkend='function.dom-domelement-setidattributenode' /> - Déclare l'attribut ID</para> + </listitem> + <listitem> + <para><xref linkend='function.dom-domelement-setidattributens' /> - Déclare l'attribut ID</para> + </listitem> </itemizedlist> </section> <section id='dom.class.domelement.properties'> @@ -622,9 +646,9 @@ </row> </tbody> </tgroup> - </table> + </table> </section> - </section> + </section> <section id='dom.class.domentity'> <title><classname>DOMEntity</classname></title> @@ -706,10 +730,10 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> - + <section id='dom.class.domentityreference'> <title><classname>DOMEntityReference</classname></title> <para> @@ -724,7 +748,7 @@ </itemizedlist> </section> </section> - + <section id='dom.class.domexception'> <title><classname>DOMException</classname></title> <para> @@ -756,7 +780,7 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> @@ -858,6 +882,10 @@ <para><xref linkend='function.dom-domnode-insertbefore' /> - Ajoute un nouvel enfant juste avant un noeud référencé</para> </listitem> <listitem> + <para><xref linkend='function.dom-domnode-isdefaultnamespace' /> - Vérifie si l'URI de l'espace de noms spécifiée + est l'espace de noms par défaut</para> + </listitem> + <listitem> <para><xref linkend='function.dom-domnode-issamenode' /> - Indique si deux noeuds sont identiques</para> </listitem> <listitem> @@ -1030,7 +1058,6 @@ <section id='dom.class.domnodelist'> <title><classname>DOMNodeList</classname></title> <para> - </para> <section id='dom.class.domnodelist.methods'> &reftitle.methods; @@ -1198,10 +1225,10 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> - + <section id='dom.class.domxpath'> <title><classname>DOMXPath</classname></title> <para> @@ -1250,12 +1277,11 @@ </row> </tbody> </tgroup> - </table> + </table> </section> </section> - </section> - + <section id="dom.examples"> &reftitle.examples; <para> @@ -1317,10 +1343,9 @@ </example> </para> </section> - - + &reference.dom.constants; - + </partintro> &reference.dom.functions; @@ -1344,4 +1369,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/expect/functions/expect-popen.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/expect/functions/expect-popen.xml diff -u phpdoc-fr/reference/expect/functions/expect-popen.xml:1.2 phpdoc-fr/reference/expect/functions/expect-popen.xml:1.3 --- phpdoc-fr/reference/expect/functions/expect-popen.xml:1.2 Mon Oct 3 15:20:36 2005 +++ phpdoc-fr/reference/expect/functions/expect-popen.xml Sun Jan 7 10:22:00 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry id="function.expect-popen"> <refnamediv> <refname>expect_popen</refname> @@ -91,4 +92,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/filter/functions/filter-var-array.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/filter/functions/filter-var-array.xml diff -u phpdoc-fr/reference/filter/functions/filter-var-array.xml:1.2 phpdoc-fr/reference/filter/functions/filter-var-array.xml:1.3 --- phpdoc-fr/reference/filter/functions/filter-var-array.xml:1.2 Fri Dec 8 09:13:56 2006 +++ phpdoc-fr/reference/filter/functions/filter-var-array.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.filter-var-array"> @@ -84,18 +84,18 @@ $args = array( 'product_id' => FILTER_SANITIZE_ENCODED, 'component' => array('filter' => FILTER_VALIDATE_INT, - 'flags' => FILTER_FLAG_ARRAY, + 'flags' => FILTER_FORCE_ARRAY, 'options' => array('min_range' => 1, 'max_range' => 10) ), 'versions' => FILTER_SANITIZE_ENCODED, 'doesnotexist' => FILTER_VALIDATE_INT, 'testscalar' => array( 'filter' => FILTER_VALIDATE_INT, - 'flags' => FILTER_FLAG_SCALAR, + 'flags' => FILTER_REQUIRE_SCALAR, ), 'testarray' => array( 'filter' => FILTER_VALIDATE_INT, - 'flags' => FILTER_FLAG_ARRAY, + 'flags' => FILTER_FORCE_ARRAY, ) ); http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml diff -u phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml:1.8 phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml:1.9 --- phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml:1.8 Mon Jan 24 21:16:57 2005 +++ phpdoc-fr/reference/iconv/functions/iconv-mime-decode-headers.xml Sun Jan 7 10:22:00 2007 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.iconv-mime-decode-headers"> <refnamediv> <refname>iconv_mime_decode_headers</refname> @@ -92,7 +93,7 @@ Date: Thu, 1 Jan 1970 00:00:00 +0000 Message-Id: <example@example.com> Received: from localhost (localhost [127.0.0.1]) by localhost - with SMTP id example for <example@example.com> + with SMTP id example for <example@example.com>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com) Received: (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000 @@ -154,4 +155,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml diff -u phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml:1.14 phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml:1.15 --- phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml:1.14 Mon Jan 24 21:16:57 2005 +++ phpdoc-fr/reference/iconv/functions/iconv-mime-encode.xml Sun Jan 7 10:22:00 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.iconv-mime-encode"> <refnamediv> <refname>iconv_mime_encode</refname> @@ -83,8 +84,8 @@ S'il est omis, la même valeur que <literal>input-charset</literal> sera utilisée. </entry> <entry> - le même valeur que <literal>input-charset</literal> - </entry> + <link linkend="iconv.configuration">iconv.internal_charset</link> + </entry> <entry>UTF-8</entry> </row> <row> @@ -171,4 +172,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/image/functions/imagepsbbox.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/image/functions/imagepsbbox.xml diff -u phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.15 phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.16 --- phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.15 Tue Nov 16 21:46:38 2004 +++ phpdoc-fr/reference/image/functions/imagepsbbox.xml Sun Jan 7 10:22:00 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.imagepsbbox"> <refnamediv> <refname>imagepsbbox</refname> @@ -58,7 +59,7 @@ </para> ¬e.config.t1lib; - + <para> <function>imagepsbbox</function> retourne un tableau contenant les éléments suivants : @@ -67,19 +68,19 @@ <tbody> <row> <entry>0</entry> - <entry>Abscisse inférieure gauche</entry> + <entry>Abscisse gauche</entry> </row> <row> <entry>1</entry> - <entry>Ordonnée inférieure gauche</entry> + <entry>Ordonnée supérieure</entry> </row> <row> <entry>2</entry> - <entry>Abscisse supérieure droite</entry> + <entry>Abscisse droite</entry> </row> <row> <entry>3</entry> - <entry>Ordonnée supérieure droite</entry> + <entry>Ordonnée inférieure</entry> </row> </tbody> </tgroup> @@ -111,4 +112,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/json/functions/json_encode.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/json/functions/json_encode.xml diff -u phpdoc-fr/reference/json/functions/json_encode.xml:1.1 phpdoc-fr/reference/json/functions/json_encode.xml:1.2 --- phpdoc-fr/reference/json/functions/json_encode.xml:1.1 Sun Aug 6 16:40:56 2006 +++ phpdoc-fr/reference/json/functions/json_encode.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.json-encode"> @@ -31,6 +31,9 @@ <para> La valeur à encoder. Peut être de n'importe quel type, excepté une &resource;. </para> + <para> + Cette fonction ne fonctionne qu'avec des données encodées UTF-8. + </para> </listitem> </varlistentry> </variablelist> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/json/reference.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/json/reference.xml diff -u phpdoc-fr/reference/json/reference.xml:1.2 phpdoc-fr/reference/json/reference.xml:1.3 --- phpdoc-fr/reference/json/reference.xml:1.2 Sun Sep 10 17:52:57 2006 +++ phpdoc-fr/reference/json/reference.xml Sun Jan 7 10:22:00 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Purpose: basic.other --> <!-- Membership: pecl, bundled --> <!-- Reviewed: no --> @@ -14,7 +14,7 @@ &reftitle.intro; <para> Cette extension implémente le format d'échange de données - <literal>JavaScript Object Notation (JSON)</literal>. Le décodage + <ulink url="&url.json;">JavaScript Object Notation (JSON)</ulink>. Le décodage est géré par un moteur d'analyse basé sur le JSON_checker écrit par Douglas Crockford. </para> </section>