cvs: phpdoc-fr /reference/dom reference.xml /reference/strings/functions substr.xml /reference/uodbc/functions odbc-binmode.xml
odbc-columnprivileges.xml odbc-data-source.xml odbc-fetch-into.xml odbc-field-precision.xml odbc-field-scale.xml odbc-gettypeinfo.xml
odbc-longreadlen.xml odbc-rollback.xml odbc-setoption.xml odbc-tableprivileges.xml odbc-tables.xml
| From: | Yannick Torres | Date: | Fri, 21 Jan 2005 23:02:14 +0000 |
| Subject: | cvs: phpdoc-fr /reference/dom reference.xml /reference/strings/functions substr.xml /reference/uodbc/functions odbc-binmode.xml odbc-columnprivileges.xml odbc-data-source.xml odbc-fetch-into.xml odbc-field-precision.xml odbc-field-scale.xml odbc-gettypeinfo.xml odbc-longreadlen.xml odbc-rollback.xml odbc-setoption.xml odbc-tableprivileges.xml odbc-tables.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-3842@lists.php.net to get a copy of this message | ||
yannick Fri Jan 21 18:02:14 2005 EDT
Modified files:
/phpdoc-fr/reference/dom reference.xml
/phpdoc-fr/reference/strings/functions substr.xml
/phpdoc-fr/reference/uodbc/functions odbc-binmode.xml
odbc-columnprivileges.xml
odbc-data-source.xml
odbc-fetch-into.xml
odbc-field-precision.xml
odbc-field-scale.xml
odbc-gettypeinfo.xml
odbc-longreadlen.xml
odbc-rollback.xml
odbc-setoption.xml
odbc-tableprivileges.xml
odbc-tables.xml
Log:
sync with EN
http://cvs.php.net/diff.php/phpdoc-fr/reference/dom/reference.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/dom/reference.xml diff -u phpdoc-fr/reference/dom/reference.xml:1.9 phpdoc-fr/reference/dom/reference.xml:1.10 --- phpdoc-fr/reference/dom/reference.xml:1.9 Sun Jan 9 17:20:53 2005 +++ phpdoc-fr/reference/dom/reference.xml Fri Jan 21 18:02:11 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.15 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.16 Maintainer: didou Status: ready --> <reference id="ref.dom"> <title>Fonctions DOM</title> <titleabbrev>DOM</titleabbrev> @@ -21,6 +21,11 @@ </para> </section> + <section id="dom.installation"> + &reftitle.install; + &no.install; + </section> + <section id='dom.classes'> &reftitle.classes; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/strings/functions/substr.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/strings/functions/substr.xml diff -u phpdoc-fr/reference/strings/functions/substr.xml:1.11 phpdoc-fr/reference/strings/functions/substr.xml:1.12 --- phpdoc-fr/reference/strings/functions/substr.xml:1.11 Tue Nov 16 17:04:21 2004 +++ phpdoc-fr/reference/strings/functions/substr.xml Fri Jan 21 18:02:13 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> <refentry id="function.substr"> <refnamediv> <refname>substr</refname> @@ -30,15 +30,19 @@ <programlisting role="php"> <![CDATA[ <?php -$rest = substr("abcdef", 1); // retourne "bcdef" -$rest = substr("abcdef", 1, 3); // retourne "bcd" -$rest = substr("abcdef", 0, 4); // retourne "abcd" -$rest = substr("abcdef", 0, 8); // retourne "abcdef" +echo substr('abcdef', 1); // bcdef +echo substr('abcdef', 1, 3); // bcd +echo substr('abcdef', 0, 4); // abcd +echo substr('abcdef', 0, 8); // abcdef +echo substr('abcdef', -1, 1); // f -// Accéder aux caractères via les accolades +// Accéder à un simple caractère dans une chaîne +// peut également être réalisé en utilisant des parenthèses $string = 'abcdef'; -echo $string{0}; // retourne a -echo $string{3}; // retourne d +echo $string{0}; // a +echo $string{3}; // d +echo $string{strlen($string)-1}; // f + ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml:1.9 phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml:1.10 --- phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml:1.9 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml Fri Jan 21 18:02:13 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-binmode"> <refnamediv> <refname>odbc_binmode</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_binmode</methodname> + <type>bool</type><methodname>odbc_binmode</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml:1.9 phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml:1.10 --- phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml:1.9 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml Fri Jan 21 18:02:13 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-columnprivileges"> <refnamediv> <refname>odbc_columnprivileges</refname> @@ -11,7 +11,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_columnprivileges</methodname> + <type>resource</type><methodname>odbc_columnprivileges</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam><type>string</type><parameter>qualifier</parameter></methodparam> <methodparam><type>string</type><parameter>owner</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml:1.7 phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml:1.8 --- phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml:1.7 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml Fri Jan 21 18:02:13 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-data-source"> <refnamediv> <refname>odbc_data_source</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>resource</type><methodname>odbc_data_source</methodname> + <type>array</type><methodname>odbc_data_source</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam><type>int</type><parameter>fetch_type</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml:1.14 phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml:1.15 --- phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml:1.14 Wed Nov 10 16:26:59 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <refentry id="function.odbc-fetch-into"> <refnamediv> <refname>odbc_fetch_into</refname> @@ -11,7 +11,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>resource</type><methodname>odbc_fetch_into</methodname> + <type>int</type><methodname>odbc_fetch_into</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>array</type><parameter role="reference">result_array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>rownumber</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml:1.7 phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml:1.8 --- phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml:1.7 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-field-precision"> <refnamediv> <refname>odbc_field_precision</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>string</type><methodname>odbc_field_precision</methodname> + <type>int</type><methodname>odbc_field_precision</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>int</type><parameter>field_number</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml:1.7 phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml:1.8 --- phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml:1.7 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-field-scale"> <refnamediv> <refname>odbc_field_scale</refname> @@ -9,12 +9,12 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>string</type><methodname>odbc_field_scale</methodname> + <type>int</type><methodname>odbc_field_scale</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>int</type><parameter>field_number</parameter></methodparam> </methodsynopsis> <para> - <function>odbc_field_precision</function> retourne l'échelle + <function>odbc_field_scale</function> retourne l'échelle du champ référencé par son numéro de champ <parameter>field_number</parameter> dans le résultat ODBC <parameter>result_id</parameter>. http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml:1.8 phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml:1.9 --- phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml:1.8 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml Fri Jan 21 18:02:14 2005 @@ -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 --> <refentry id="function.odbc-gettypeinfo"> <refnamediv> <refname>odbc_gettypeinfo</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_gettypeinfo</methodname> + <type>resource</type><methodname>odbc_gettypeinfo</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>data_type</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml:1.8 phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml:1.9 --- phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml:1.8 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.odbc-longreadlen"> <refnamediv> <refname>odbc_longreadlen</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_longreadlen</methodname> + <type>bool</type><methodname>odbc_longreadlen</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml:1.9 phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml:1.10 --- phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml:1.9 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="function.odbc-rollback"> <refnamediv> <refname>odbc_rollback</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_rollback</methodname> + <type>bool</type><methodname>odbc_rollback</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml:1.11 phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml:1.12 --- phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml:1.11 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <refentry id="function.odbc-setoption"> <refnamediv> <refname>odbc_setoption</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_setoption</methodname> + <type>bool</type><methodname>odbc_setoption</methodname> <methodparam><type>resource</type><parameter>id</parameter></methodparam> <methodparam><type>int</type><parameter>function</parameter></methodparam> <methodparam><type>int</type><parameter>option</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml:1.9 phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml:1.10 --- phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml:1.9 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-tableprivileges"> <refnamediv> <refname>odbc_tableprivileges</refname> @@ -11,7 +11,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_tableprivileges</methodname> + <type>resource</type><methodname>odbc_tableprivileges</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam><type>string</type><parameter>qualifier</parameter></methodparam> <methodparam><type>string</type><parameter>owner</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-tables.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-tables.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-tables.xml:1.10 phpdoc-fr/reference/uodbc/functions/odbc-tables.xml:1.11 --- phpdoc-fr/reference/uodbc/functions/odbc-tables.xml:1.10 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-tables.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.odbc-tables"> <refnamediv> <refname>odbc_tables</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_tables</methodname> + <type>resource</type><methodname>odbc_tables</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>qualifier</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>owner</parameter></methodparam>
http://cvs.php.net/diff.php/phpdoc-fr/reference/dom/reference.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/dom/reference.xml diff -u phpdoc-fr/reference/dom/reference.xml:1.9 phpdoc-fr/reference/dom/reference.xml:1.10 --- phpdoc-fr/reference/dom/reference.xml:1.9 Sun Jan 9 17:20:53 2005 +++ phpdoc-fr/reference/dom/reference.xml Fri Jan 21 18:02:11 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.15 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.16 Maintainer: didou Status: ready --> <reference id="ref.dom"> <title>Fonctions DOM</title> <titleabbrev>DOM</titleabbrev> @@ -21,6 +21,11 @@ </para> </section> + <section id="dom.installation"> + &reftitle.install; + &no.install; + </section> + <section id='dom.classes'> &reftitle.classes; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/strings/functions/substr.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/strings/functions/substr.xml diff -u phpdoc-fr/reference/strings/functions/substr.xml:1.11 phpdoc-fr/reference/strings/functions/substr.xml:1.12 --- phpdoc-fr/reference/strings/functions/substr.xml:1.11 Tue Nov 16 17:04:21 2004 +++ phpdoc-fr/reference/strings/functions/substr.xml Fri Jan 21 18:02:13 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> <refentry id="function.substr"> <refnamediv> <refname>substr</refname> @@ -30,15 +30,19 @@ <programlisting role="php"> <![CDATA[ <?php -$rest = substr("abcdef", 1); // retourne "bcdef" -$rest = substr("abcdef", 1, 3); // retourne "bcd" -$rest = substr("abcdef", 0, 4); // retourne "abcd" -$rest = substr("abcdef", 0, 8); // retourne "abcdef" +echo substr('abcdef', 1); // bcdef +echo substr('abcdef', 1, 3); // bcd +echo substr('abcdef', 0, 4); // abcd +echo substr('abcdef', 0, 8); // abcdef +echo substr('abcdef', -1, 1); // f -// Accéder aux caractères via les accolades +// Accéder à un simple caractère dans une chaîne +// peut également être réalisé en utilisant des parenthèses $string = 'abcdef'; -echo $string{0}; // retourne a -echo $string{3}; // retourne d +echo $string{0}; // a +echo $string{3}; // d +echo $string{strlen($string)-1}; // f + ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml:1.9 phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml:1.10 --- phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml:1.9 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-binmode.xml Fri Jan 21 18:02:13 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-binmode"> <refnamediv> <refname>odbc_binmode</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_binmode</methodname> + <type>bool</type><methodname>odbc_binmode</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml:1.9 phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml:1.10 --- phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml:1.9 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-columnprivileges.xml Fri Jan 21 18:02:13 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-columnprivileges"> <refnamediv> <refname>odbc_columnprivileges</refname> @@ -11,7 +11,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_columnprivileges</methodname> + <type>resource</type><methodname>odbc_columnprivileges</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam><type>string</type><parameter>qualifier</parameter></methodparam> <methodparam><type>string</type><parameter>owner</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml:1.7 phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml:1.8 --- phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml:1.7 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-data-source.xml Fri Jan 21 18:02:13 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-data-source"> <refnamediv> <refname>odbc_data_source</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>resource</type><methodname>odbc_data_source</methodname> + <type>array</type><methodname>odbc_data_source</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam><type>int</type><parameter>fetch_type</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml:1.14 phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml:1.15 --- phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml:1.14 Wed Nov 10 16:26:59 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-fetch-into.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <refentry id="function.odbc-fetch-into"> <refnamediv> <refname>odbc_fetch_into</refname> @@ -11,7 +11,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>resource</type><methodname>odbc_fetch_into</methodname> + <type>int</type><methodname>odbc_fetch_into</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>array</type><parameter role="reference">result_array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>rownumber</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml:1.7 phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml:1.8 --- phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml:1.7 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-field-precision.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-field-precision"> <refnamediv> <refname>odbc_field_precision</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>string</type><methodname>odbc_field_precision</methodname> + <type>int</type><methodname>odbc_field_precision</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>int</type><parameter>field_number</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml:1.7 phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml:1.8 --- phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml:1.7 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-field-scale.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-field-scale"> <refnamediv> <refname>odbc_field_scale</refname> @@ -9,12 +9,12 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>string</type><methodname>odbc_field_scale</methodname> + <type>int</type><methodname>odbc_field_scale</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>int</type><parameter>field_number</parameter></methodparam> </methodsynopsis> <para> - <function>odbc_field_precision</function> retourne l'échelle + <function>odbc_field_scale</function> retourne l'échelle du champ référencé par son numéro de champ <parameter>field_number</parameter> dans le résultat ODBC <parameter>result_id</parameter>. http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml:1.8 phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml:1.9 --- phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml:1.8 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-gettypeinfo.xml Fri Jan 21 18:02:14 2005 @@ -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 --> <refentry id="function.odbc-gettypeinfo"> <refnamediv> <refname>odbc_gettypeinfo</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_gettypeinfo</methodname> + <type>resource</type><methodname>odbc_gettypeinfo</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>data_type</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml:1.8 phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml:1.9 --- phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml:1.8 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-longreadlen.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.odbc-longreadlen"> <refnamediv> <refname>odbc_longreadlen</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_longreadlen</methodname> + <type>bool</type><methodname>odbc_longreadlen</methodname> <methodparam><type>resource</type><parameter>result_id</parameter></methodparam> <methodparam><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml:1.9 phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml:1.10 --- phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml:1.9 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-rollback.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="function.odbc-rollback"> <refnamediv> <refname>odbc_rollback</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_rollback</methodname> + <type>bool</type><methodname>odbc_rollback</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml:1.11 phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml:1.12 --- phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml:1.11 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-setoption.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <refentry id="function.odbc-setoption"> <refnamediv> <refname>odbc_setoption</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_setoption</methodname> + <type>bool</type><methodname>odbc_setoption</methodname> <methodparam><type>resource</type><parameter>id</parameter></methodparam> <methodparam><type>int</type><parameter>function</parameter></methodparam> <methodparam><type>int</type><parameter>option</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml:1.9 phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml:1.10 --- phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml:1.9 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-tableprivileges.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.odbc-tableprivileges"> <refnamediv> <refname>odbc_tableprivileges</refname> @@ -11,7 +11,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_tableprivileges</methodname> + <type>resource</type><methodname>odbc_tableprivileges</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam><type>string</type><parameter>qualifier</parameter></methodparam> <methodparam><type>string</type><parameter>owner</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-fr/reference/uodbc/functions/odbc-tables.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/uodbc/functions/odbc-tables.xml diff -u phpdoc-fr/reference/uodbc/functions/odbc-tables.xml:1.10 phpdoc-fr/reference/uodbc/functions/odbc-tables.xml:1.11 --- phpdoc-fr/reference/uodbc/functions/odbc-tables.xml:1.10 Tue Nov 16 17:05:51 2004 +++ phpdoc-fr/reference/uodbc/functions/odbc-tables.xml Fri Jan 21 18:02:14 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.odbc-tables"> <refnamediv> <refname>odbc_tables</refname> @@ -9,7 +9,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>odbc_tables</methodname> + <type>resource</type><methodname>odbc_tables</methodname> <methodparam><type>resource</type><parameter>connection_id</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>qualifier</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>owner</parameter></methodparam>