cvs: phpdoc-fr /reference/oracle/functions ora-bind.xml ora-close.xml ora-columnname.xml ora-columnsize.xml ora-columntype.xml ora-commit.xml
ora-commitoff.xml ora-commiton.xml ora-do.xml ora-error.xml ora-errorcode.xml ora-fetch-into.xml ora-fetch.xml ora-getcolumn.xml ora-logoff.xml
ora-numcols.xml ora-numrows.xml ora-open.xml ora-parse.xml ora-plogon.xml ora-rollback.xml
| From: | Damien Seguy | Date: | Sat, 16 Aug 2003 12:34:55 +0000 |
| Subject: | cvs: phpdoc-fr /reference/oracle/functions ora-bind.xml ora-close.xml ora-columnname.xml ora-columnsize.xml ora-columntype.xml ora-commit.xml ora-commitoff.xml ora-commiton.xml ora-do.xml ora-error.xml ora-errorcode.xml ora-fetch-into.xml ora-fetch.xml ora-getcolumn.xml ora-logoff.xml ora-numcols.xml ora-numrows.xml ora-open.xml ora-parse.xml ora-plogon.xml ora-rollback.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-705@lists.php.net to get a copy of this message | ||
dams Sat Aug 16 08:34:55 2003 EDT
Modified files:
/phpdoc-fr/reference/oracle/functions ora-bind.xml ora-close.xml
ora-columnname.xml
ora-columnsize.xml
ora-columntype.xml
ora-commit.xml
ora-commitoff.xml
ora-commiton.xml ora-do.xml
ora-error.xml
ora-errorcode.xml
ora-fetch-into.xml
ora-fetch.xml
ora-getcolumn.xml
ora-logoff.xml
ora-numcols.xml
ora-numrows.xml ora-open.xml
ora-parse.xml ora-plogon.xml
ora-rollback.xml
Log:
latest proto update
Index: phpdoc-fr/reference/oracle/functions/ora-bind.xml diff -u phpdoc-fr/reference/oracle/functions/ora-bind.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-bind.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-bind.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-bind.xml Sat Aug 16 08:34:55 2003 @@ -5,40 +5,38 @@ <refnamediv> <refname>ora_bind</refname> <refpurpose> - Lie une variable PHP à un paramètre Oracle. + Lie une variable &php; à un paramètre Oracle </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_bind</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <type>bool</type><methodname>ora_bind</methodname> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>string</type><parameter>php_variable_name</parameter></methodparam> <methodparam><type>string</type><parameter>sql_parameter_name</parameter></methodparam> <methodparam><type>int</type><parameter>length</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> - <function>ora_bind</function> retourne &true; - si la liaison a pu se faire, et sinon &false;. - Les erreurs sont accessibles avec les fonctions - <function>ora_error</function> et <function>ora_errorcode</function>. - </para> - <para> - Cette fonction lie une variable PHP avec un paramètre SQL. Le + <function>ora_bind</function> lie une variable &php; avec un paramètre SQL. Le paramètre SQL doit être de la forme ":name". Avec l'option, vous pouvez choisir si le paramètre SQL est de type entrée/sortie (0, valeur par défaut), entrée seulement - (1) ou sortie seulement (2). Comme dans PHP 3.0.1, vous pouvez + (1) ou sortie seulement (2). Comme dans &php; 3.0.1, vous pouvez respectivement utiliser les constantes <constant>ORA_BIND_INOUT</constant>, <constant>ORA_BIND_IN</constant> et <constant>ORA_BIND_OUT</constant> plutôt que des nombres. </para> <para> + &return.success; Les erreurs sont accessibles avec les fonctions + <function>ora_error</function> et <function>ora_errorcode</function>. + </para> + <para> <function>ora_bind</function> doit être appelée après la fonction <function>ora_parse</function> et avant <function>ora_exec</function>. Les valeurs d'entrées peuvent alors - être fournies par assignation des variables PHP. Après la + être fournies par assignation des variables &php;. Après la fonction <function>ora_exec</function> les variables liées contiennent les valeurs de sortie, si elles sont disponibles. Par exemple : <example> Index: phpdoc-fr/reference/oracle/functions/ora-close.xml diff -u phpdoc-fr/reference/oracle/functions/ora-close.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-close.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-close.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-close.xml Sat Aug 16 08:34:55 2003 @@ -9,18 +9,16 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_close</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <type>bool</type><methodname>ora_close</methodname> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> </methodsynopsis> <para> - <function>ora_close</function> retourne &true; - si la fermeture a bien eu lieu, et &false; sinon. - Les erreurs sont accessibles avec les fonctions - <function>ora_error</function> et <function>ora_errorcode</function>. - </para> - <para> <function>ora_close</function> termine les pointeurs ouverts avec la fonction <function>ora_open</function>. + </para> + <para> + &return.success; Les erreurs sont accessibles avec les fonctions + <function>ora_error</function> et <function>ora_errorcode</function>. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/oracle/functions/ora-columnname.xml diff -u phpdoc-fr/reference/oracle/functions/ora-columnname.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-columnname.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-columnname.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-columnname.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>string</type><methodname>ora_columnname</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>int</type><parameter>column</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/oracle/functions/ora-columnsize.xml diff -u phpdoc-fr/reference/oracle/functions/ora-columnsize.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-columnsize.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-columnsize.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-columnsize.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_columnsize</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>int</type><parameter>column</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/oracle/functions/ora-columntype.xml diff -u phpdoc-fr/reference/oracle/functions/ora-columntype.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-columntype.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-columntype.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-columntype.xml Sat Aug 16 08:34:55 2003 @@ -4,7 +4,7 @@ <refentry id="function.ora-columntype"> <refnamediv> <refname>ora_columntype</refname> - <refpurpose>Retourne le type de la colonne de résultat</refpurpose> + <refpurpose>Retourne le type de la colonne de résultat Oracle</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/oracle/functions/ora-commit.xml diff -u phpdoc-fr/reference/oracle/functions/ora-commit.xml:1.3 phpdoc-fr/reference/oracle/functions/ora-commit.xml:1.4 --- phpdoc-fr/reference/oracle/functions/ora-commit.xml:1.3 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-commit.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_commit</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> + <type>bool</type><methodname>ora_commit</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> </methodsynopsis> <para> <function>ora_commit</function> valide les transactions Oracle en cours @@ -24,6 +24,11 @@ &return.success;. Les erreurs sont accessibles avec les fonctions <function>ora_error</function> et <function>ora_errorcode</function>. + </para> + <para> + Voir aussi + <function>ora_commiton</function> et + <function>ora_commitoff</function>. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/oracle/functions/ora-commitoff.xml diff -u phpdoc-fr/reference/oracle/functions/ora-commitoff.xml:1.3 phpdoc-fr/reference/oracle/functions/ora-commitoff.xml:1.4 --- phpdoc-fr/reference/oracle/functions/ora-commitoff.xml:1.3 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-commitoff.xml Sat Aug 16 08:34:55 2003 @@ -4,13 +4,13 @@ <refentry id="function.ora-commitoff"> <refnamediv> <refname>ora_commitoff</refname> - <refpurpose>Désactive la validation automatique</refpurpose> + <refpurpose>Désactive la validation automatique Oracle</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_commitoff</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> + <type>bool</type><methodname>ora_commitoff</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> </methodsynopsis> <para> <function>ora_commitoff</function> désactive la validation @@ -20,6 +20,11 @@ <para> &return.success;. Les erreurs sont accessibles avec les fonctions <function>ora_error</function> et <function>ora_errorcode</function>. + </para> + <para> + Voir aussi + <function>ora_commiton</function> et + <function>ora_commit</function>. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/oracle/functions/ora-commiton.xml diff -u phpdoc-fr/reference/oracle/functions/ora-commiton.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-commiton.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-commiton.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-commiton.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_commiton</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> + <type>bool</type><methodname>ora_commiton</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> </methodsynopsis> <para> <function>ora_commiton</function> active la validation @@ -21,6 +21,11 @@ &return.success;. Les erreurs sont accessibles avec les fonctions <function>ora_error</function> et <function>ora_errorcode</function>. + </para> + <para> + Voir aussi + <function>ora_commitoff</function> et + <function>ora_commit</function>. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/oracle/functions/ora-do.xml diff -u phpdoc-fr/reference/oracle/functions/ora-do.xml:1.3 phpdoc-fr/reference/oracle/functions/ora-do.xml:1.4 --- phpdoc-fr/reference/oracle/functions/ora-do.xml:1.3 Mon Jul 7 10:08:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-do.xml Sat Aug 16 08:34:55 2003 @@ -4,13 +4,15 @@ <refentry id="function.ora-do"> <refnamediv> <refname>ora_do</refname> - <refpurpose>Analyse, exécute et lit le résultat d'une requête Oracle</refpurpose> + <refpurpose> + Analyse, exécute et lit le résultat d'une requête Oracle + </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_do</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> + <type>resource</type><methodname>ora_do</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> <methodparam><type>string</type><parameter>query</parameter></methodparam> </methodsynopsis> <para> @@ -21,7 +23,8 @@ résultat. </para> <para> - &return.success;. + <function>ora_do</function> retourne un index de curseur, + ou bien &false; en cas d'échec. Le détails sur les erreurs est accessible avec les fonctions <function>ora_error</function> et <function>ora_errorcode</function>. </para> Index: phpdoc-fr/reference/oracle/functions/ora-error.xml diff -u phpdoc-fr/reference/oracle/functions/ora-error.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-error.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-error.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-error.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>string</type><methodname>ora_error</methodname> - <methodparam><type>int</type><parameter>cursor_or_connection</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor_or_connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_error</function> retourne un messages d'erreur de la forme Index: phpdoc-fr/reference/oracle/functions/ora-errorcode.xml diff -u phpdoc-fr/reference/oracle/functions/ora-errorcode.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-errorcode.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-errorcode.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-errorcode.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_errorcode</methodname> - <methodparam><type>int</type><parameter>cursor_or_connection</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor_or_connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_errorcode</function> retourne le code d'erreur Index: phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml diff -u phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_fetch_into</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>array</type><parameter>result</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/oracle/functions/ora-fetch.xml diff -u phpdoc-fr/reference/oracle/functions/ora-fetch.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-fetch.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-fetch.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-fetch.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_fetch</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <type>bool</type><methodname>ora_fetch</methodname> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> </methodsynopsis> <para> <function>ora_fetch</function> lit une ligne de données Index: phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml diff -u phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml Sat Aug 16 08:34:55 2003 @@ -10,8 +10,8 @@ <title>Description</title> <methodsynopsis> <type>mixed</type><methodname>ora_getcolumn</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> - <methodparam><type>mixed</type><parameter>column</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> + <methodparam><type>int</type><parameter>column</parameter></methodparam> </methodsynopsis> <para> <function>ora_getcolumn</function> lit les données de la colonne Index: phpdoc-fr/reference/oracle/functions/ora-logoff.xml diff -u phpdoc-fr/reference/oracle/functions/ora-logoff.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-logoff.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-logoff.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-logoff.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_logoff</methodname> - <methodparam><type>int</type><parameter>connection</parameter></methodparam> + <type>bool</type><methodname>ora_logoff</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_logoff</function> ferme la connexion Oracle Index: phpdoc-fr/reference/oracle/functions/ora-numcols.xml diff -u phpdoc-fr/reference/oracle/functions/ora-numcols.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-numcols.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-numcols.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-numcols.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_numcols</methodname> - <methodparam><type>int</type><parameter>cursor_ind</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> </methodsynopsis> <para> <function>ora_numcols</function> retourne le nombre de colonne dans le Index: phpdoc-fr/reference/oracle/functions/ora-numrows.xml diff -u phpdoc-fr/reference/oracle/functions/ora-numrows.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-numrows.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-numrows.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-numrows.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_numrows</methodname> - <methodparam><type>int</type><parameter>cursor_ind</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> </methodsynopsis> <para> <function>ora_numrows</function> retourne le nombre de colonnes Index: phpdoc-fr/reference/oracle/functions/ora-open.xml diff -u phpdoc-fr/reference/oracle/functions/ora-open.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-open.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-open.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-open.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_open</methodname> - <methodparam><type>int</type><parameter>connection</parameter></methodparam> + <type>resource</type><methodname>ora_open</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_open</function> ouvre un pointeur Oracle sur la connexion. Index: phpdoc-fr/reference/oracle/functions/ora-parse.xml diff -u phpdoc-fr/reference/oracle/functions/ora-parse.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-parse.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-parse.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-parse.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_parse</methodname> - <methodparam><type>int</type><parameter>cursor_ind</parameter></methodparam> + <type>bool</type><methodname>ora_parse</methodname> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>string</type><parameter>sql_statement</parameter></methodparam> <methodparam><type>int</type><parameter>defer</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/oracle/functions/ora-plogon.xml diff -u phpdoc-fr/reference/oracle/functions/ora-plogon.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-plogon.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-plogon.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-plogon.xml Sat Aug 16 08:34:55 2003 @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_plogon</methodname> + <type>resource</type><methodname>ora_plogon</methodname> <methodparam><type>string</type><parameter>user</parameter></methodparam> <methodparam><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/oracle/functions/ora-rollback.xml diff -u phpdoc-fr/reference/oracle/functions/ora-rollback.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-rollback.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-rollback.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-rollback.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_rollback</methodname> - <methodparam><type>int</type><parameter>connection</parameter></methodparam> + <type>bool</type><methodname>ora_rollback</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_rollback</function> annule une transaction Oracle sur la
Index: phpdoc-fr/reference/oracle/functions/ora-bind.xml diff -u phpdoc-fr/reference/oracle/functions/ora-bind.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-bind.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-bind.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-bind.xml Sat Aug 16 08:34:55 2003 @@ -5,40 +5,38 @@ <refnamediv> <refname>ora_bind</refname> <refpurpose> - Lie une variable PHP à un paramètre Oracle. + Lie une variable &php; à un paramètre Oracle </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_bind</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <type>bool</type><methodname>ora_bind</methodname> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>string</type><parameter>php_variable_name</parameter></methodparam> <methodparam><type>string</type><parameter>sql_parameter_name</parameter></methodparam> <methodparam><type>int</type><parameter>length</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> - <function>ora_bind</function> retourne &true; - si la liaison a pu se faire, et sinon &false;. - Les erreurs sont accessibles avec les fonctions - <function>ora_error</function> et <function>ora_errorcode</function>. - </para> - <para> - Cette fonction lie une variable PHP avec un paramètre SQL. Le + <function>ora_bind</function> lie une variable &php; avec un paramètre SQL. Le paramètre SQL doit être de la forme ":name". Avec l'option, vous pouvez choisir si le paramètre SQL est de type entrée/sortie (0, valeur par défaut), entrée seulement - (1) ou sortie seulement (2). Comme dans PHP 3.0.1, vous pouvez + (1) ou sortie seulement (2). Comme dans &php; 3.0.1, vous pouvez respectivement utiliser les constantes <constant>ORA_BIND_INOUT</constant>, <constant>ORA_BIND_IN</constant> et <constant>ORA_BIND_OUT</constant> plutôt que des nombres. </para> <para> + &return.success; Les erreurs sont accessibles avec les fonctions + <function>ora_error</function> et <function>ora_errorcode</function>. + </para> + <para> <function>ora_bind</function> doit être appelée après la fonction <function>ora_parse</function> et avant <function>ora_exec</function>. Les valeurs d'entrées peuvent alors - être fournies par assignation des variables PHP. Après la + être fournies par assignation des variables &php;. Après la fonction <function>ora_exec</function> les variables liées contiennent les valeurs de sortie, si elles sont disponibles. Par exemple : <example> Index: phpdoc-fr/reference/oracle/functions/ora-close.xml diff -u phpdoc-fr/reference/oracle/functions/ora-close.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-close.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-close.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-close.xml Sat Aug 16 08:34:55 2003 @@ -9,18 +9,16 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_close</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <type>bool</type><methodname>ora_close</methodname> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> </methodsynopsis> <para> - <function>ora_close</function> retourne &true; - si la fermeture a bien eu lieu, et &false; sinon. - Les erreurs sont accessibles avec les fonctions - <function>ora_error</function> et <function>ora_errorcode</function>. - </para> - <para> <function>ora_close</function> termine les pointeurs ouverts avec la fonction <function>ora_open</function>. + </para> + <para> + &return.success; Les erreurs sont accessibles avec les fonctions + <function>ora_error</function> et <function>ora_errorcode</function>. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/oracle/functions/ora-columnname.xml diff -u phpdoc-fr/reference/oracle/functions/ora-columnname.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-columnname.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-columnname.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-columnname.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>string</type><methodname>ora_columnname</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>int</type><parameter>column</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/oracle/functions/ora-columnsize.xml diff -u phpdoc-fr/reference/oracle/functions/ora-columnsize.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-columnsize.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-columnsize.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-columnsize.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_columnsize</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>int</type><parameter>column</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/oracle/functions/ora-columntype.xml diff -u phpdoc-fr/reference/oracle/functions/ora-columntype.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-columntype.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-columntype.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-columntype.xml Sat Aug 16 08:34:55 2003 @@ -4,7 +4,7 @@ <refentry id="function.ora-columntype"> <refnamediv> <refname>ora_columntype</refname> - <refpurpose>Retourne le type de la colonne de résultat</refpurpose> + <refpurpose>Retourne le type de la colonne de résultat Oracle</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/oracle/functions/ora-commit.xml diff -u phpdoc-fr/reference/oracle/functions/ora-commit.xml:1.3 phpdoc-fr/reference/oracle/functions/ora-commit.xml:1.4 --- phpdoc-fr/reference/oracle/functions/ora-commit.xml:1.3 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-commit.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_commit</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> + <type>bool</type><methodname>ora_commit</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> </methodsynopsis> <para> <function>ora_commit</function> valide les transactions Oracle en cours @@ -24,6 +24,11 @@ &return.success;. Les erreurs sont accessibles avec les fonctions <function>ora_error</function> et <function>ora_errorcode</function>. + </para> + <para> + Voir aussi + <function>ora_commiton</function> et + <function>ora_commitoff</function>. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/oracle/functions/ora-commitoff.xml diff -u phpdoc-fr/reference/oracle/functions/ora-commitoff.xml:1.3 phpdoc-fr/reference/oracle/functions/ora-commitoff.xml:1.4 --- phpdoc-fr/reference/oracle/functions/ora-commitoff.xml:1.3 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-commitoff.xml Sat Aug 16 08:34:55 2003 @@ -4,13 +4,13 @@ <refentry id="function.ora-commitoff"> <refnamediv> <refname>ora_commitoff</refname> - <refpurpose>Désactive la validation automatique</refpurpose> + <refpurpose>Désactive la validation automatique Oracle</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_commitoff</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> + <type>bool</type><methodname>ora_commitoff</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> </methodsynopsis> <para> <function>ora_commitoff</function> désactive la validation @@ -20,6 +20,11 @@ <para> &return.success;. Les erreurs sont accessibles avec les fonctions <function>ora_error</function> et <function>ora_errorcode</function>. + </para> + <para> + Voir aussi + <function>ora_commiton</function> et + <function>ora_commit</function>. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/oracle/functions/ora-commiton.xml diff -u phpdoc-fr/reference/oracle/functions/ora-commiton.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-commiton.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-commiton.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-commiton.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_commiton</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> + <type>bool</type><methodname>ora_commiton</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> </methodsynopsis> <para> <function>ora_commiton</function> active la validation @@ -21,6 +21,11 @@ &return.success;. Les erreurs sont accessibles avec les fonctions <function>ora_error</function> et <function>ora_errorcode</function>. + </para> + <para> + Voir aussi + <function>ora_commitoff</function> et + <function>ora_commit</function>. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/oracle/functions/ora-do.xml diff -u phpdoc-fr/reference/oracle/functions/ora-do.xml:1.3 phpdoc-fr/reference/oracle/functions/ora-do.xml:1.4 --- phpdoc-fr/reference/oracle/functions/ora-do.xml:1.3 Mon Jul 7 10:08:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-do.xml Sat Aug 16 08:34:55 2003 @@ -4,13 +4,15 @@ <refentry id="function.ora-do"> <refnamediv> <refname>ora_do</refname> - <refpurpose>Analyse, exécute et lit le résultat d'une requête Oracle</refpurpose> + <refpurpose> + Analyse, exécute et lit le résultat d'une requête Oracle + </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_do</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> + <type>resource</type><methodname>ora_do</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> <methodparam><type>string</type><parameter>query</parameter></methodparam> </methodsynopsis> <para> @@ -21,7 +23,8 @@ résultat. </para> <para> - &return.success;. + <function>ora_do</function> retourne un index de curseur, + ou bien &false; en cas d'échec. Le détails sur les erreurs est accessible avec les fonctions <function>ora_error</function> et <function>ora_errorcode</function>. </para> Index: phpdoc-fr/reference/oracle/functions/ora-error.xml diff -u phpdoc-fr/reference/oracle/functions/ora-error.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-error.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-error.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-error.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>string</type><methodname>ora_error</methodname> - <methodparam><type>int</type><parameter>cursor_or_connection</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor_or_connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_error</function> retourne un messages d'erreur de la forme Index: phpdoc-fr/reference/oracle/functions/ora-errorcode.xml diff -u phpdoc-fr/reference/oracle/functions/ora-errorcode.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-errorcode.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-errorcode.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-errorcode.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_errorcode</methodname> - <methodparam><type>int</type><parameter>cursor_or_connection</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor_or_connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_errorcode</function> retourne le code d'erreur Index: phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml diff -u phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-fetch-into.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_fetch_into</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>array</type><parameter>result</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/oracle/functions/ora-fetch.xml diff -u phpdoc-fr/reference/oracle/functions/ora-fetch.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-fetch.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-fetch.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-fetch.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_fetch</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> + <type>bool</type><methodname>ora_fetch</methodname> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> </methodsynopsis> <para> <function>ora_fetch</function> lit une ligne de données Index: phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml diff -u phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-getcolumn.xml Sat Aug 16 08:34:55 2003 @@ -10,8 +10,8 @@ <title>Description</title> <methodsynopsis> <type>mixed</type><methodname>ora_getcolumn</methodname> - <methodparam><type>int</type><parameter>cursor</parameter></methodparam> - <methodparam><type>mixed</type><parameter>column</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> + <methodparam><type>int</type><parameter>column</parameter></methodparam> </methodsynopsis> <para> <function>ora_getcolumn</function> lit les données de la colonne Index: phpdoc-fr/reference/oracle/functions/ora-logoff.xml diff -u phpdoc-fr/reference/oracle/functions/ora-logoff.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-logoff.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-logoff.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-logoff.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_logoff</methodname> - <methodparam><type>int</type><parameter>connection</parameter></methodparam> + <type>bool</type><methodname>ora_logoff</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_logoff</function> ferme la connexion Oracle Index: phpdoc-fr/reference/oracle/functions/ora-numcols.xml diff -u phpdoc-fr/reference/oracle/functions/ora-numcols.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-numcols.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-numcols.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-numcols.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_numcols</methodname> - <methodparam><type>int</type><parameter>cursor_ind</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> </methodsynopsis> <para> <function>ora_numcols</function> retourne le nombre de colonne dans le Index: phpdoc-fr/reference/oracle/functions/ora-numrows.xml diff -u phpdoc-fr/reference/oracle/functions/ora-numrows.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-numrows.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-numrows.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-numrows.xml Sat Aug 16 08:34:55 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>int</type><methodname>ora_numrows</methodname> - <methodparam><type>int</type><parameter>cursor_ind</parameter></methodparam> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> </methodsynopsis> <para> <function>ora_numrows</function> retourne le nombre de colonnes Index: phpdoc-fr/reference/oracle/functions/ora-open.xml diff -u phpdoc-fr/reference/oracle/functions/ora-open.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-open.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-open.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-open.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_open</methodname> - <methodparam><type>int</type><parameter>connection</parameter></methodparam> + <type>resource</type><methodname>ora_open</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_open</function> ouvre un pointeur Oracle sur la connexion. Index: phpdoc-fr/reference/oracle/functions/ora-parse.xml diff -u phpdoc-fr/reference/oracle/functions/ora-parse.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-parse.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-parse.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-parse.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_parse</methodname> - <methodparam><type>int</type><parameter>cursor_ind</parameter></methodparam> + <type>bool</type><methodname>ora_parse</methodname> + <methodparam><type>resource</type><parameter>cursor</parameter></methodparam> <methodparam><type>string</type><parameter>sql_statement</parameter></methodparam> <methodparam><type>int</type><parameter>defer</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/oracle/functions/ora-plogon.xml diff -u phpdoc-fr/reference/oracle/functions/ora-plogon.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-plogon.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-plogon.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-plogon.xml Sat Aug 16 08:34:55 2003 @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_plogon</methodname> + <type>resource</type><methodname>ora_plogon</methodname> <methodparam><type>string</type><parameter>user</parameter></methodparam> <methodparam><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/oracle/functions/ora-rollback.xml diff -u phpdoc-fr/reference/oracle/functions/ora-rollback.xml:1.2 phpdoc-fr/reference/oracle/functions/ora-rollback.xml:1.3 --- phpdoc-fr/reference/oracle/functions/ora-rollback.xml:1.2 Sat Jul 5 10:53:37 2003 +++ phpdoc-fr/reference/oracle/functions/ora-rollback.xml Sat Aug 16 08:34:55 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ora_rollback</methodname> - <methodparam><type>int</type><parameter>connection</parameter></methodparam> + <type>bool</type><methodname>ora_rollback</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> <function>ora_rollback</function> annule une transaction Oracle sur la