cvs: phpdoc-fr /reference/ovrimos configure.xml reference.xml /reference/ovrimos/functions ovrimos-connect.xml ovrimos-execute.xml
ovrimos-fetch-into.xml ovrimos-fetch-row.xml ovrimos-free-result.xml ovrimos-prepare.xml ovrimos-result-all.xml
| From: | Damien Seguy | Date: | Thu, 08 May 2003 19:45:41 +0000 |
| Subject: | cvs: phpdoc-fr /reference/ovrimos configure.xml reference.xml /reference/ovrimos/functions ovrimos-connect.xml ovrimos-execute.xml ovrimos-fetch-into.xml ovrimos-fetch-row.xml ovrimos-free-result.xml ovrimos-prepare.xml ovrimos-result-all.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-354@lists.php.net to get a copy of this message | ||
dams Thu May 8 15:45:41 2003 EDT
Added files:
/phpdoc-fr/reference/ovrimos configure.xml
Modified files:
/phpdoc-fr/reference/ovrimos reference.xml
/phpdoc-fr/reference/ovrimos/functions ovrimos-connect.xml
ovrimos-execute.xml
ovrimos-fetch-into.xml
ovrimos-fetch-row.xml
ovrimos-free-result.xml
ovrimos-prepare.xml
ovrimos-result-all.xml
Log:
spring commit
Index: phpdoc-fr/reference/ovrimos/reference.xml diff -u phpdoc-fr/reference/ovrimos/reference.xml:1.2 phpdoc-fr/reference/ovrimos/reference.xml:1.3 --- phpdoc-fr/reference/ovrimos/reference.xml:1.2 Mon Apr 15 20:54:41 2002 +++ phpdoc-fr/reference/ovrimos/reference.xml Thu May 8 15:45:41 2003 @@ -1,29 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <reference id="ref.ovrimos"> <title>Ovrimos SQL</title> <titleabbrev>OvrimosSQL</titleabbrev> <partintro> - <para> + <section id="ovrimos.intro"> + &reftitle.intro; + <para> Ovrimos SQL Server est une base de données relationnelle client/serveur et transactionnelle, combinée avec des fonctionnalités web, et des transactions rapides. - </para> - <para> + </para> + ¬e.no-windows.extension; + </section> + + <section id="ovrimos.requirements"> + &reftitle.required; + <para> Ovrimos SQL Server est disponible à <ulink - url="&url.ovrimos;">www.ovrimos.com</ulink>. Pour activer le support - ovrimos de PHP, il suffit de compiler PHP avec l'option - <link linkend="install.configure.with-ovrimos"><option role="configure">--with-ovrimos</option></link> - du script de configuration. Vous devrez aussi installer la librairie sqlcli - disponible avec la distribution Ovrimos SQL Server. - </para> - <para> - <example> - <title> + url="&url.ovrimos;">www.ovrimos.com</ulink>. Vous devez installer la + librairie sqlcli, qui est disponible dans la distribution de + Ovrimos SQL Server. + </para> + </section> + + &reference.ovrimos.configure; + + <section id="ovrimos.configuration"> + &reftitle.runtime; + &no.config; + </section> + + <section id="ovrimos.resources"> + &reftitle.resources; + <para> + </para> + </section> + + <section id="ovrimos.examples"> + &reftitle.examples; + <para> + <example> + <title> Connection au serveur Ovrimos SQL Server et sélection d'une table système - </title> - <programlisting role="php"> -<?php + </title> + <programlisting role="php"> +<![CDATA[ +<?php $conn = ovrimos_connect("server.domain.com", "8001", "admin", "password"); if ($conn != 0) { echo ("Connection établie!"); @@ -35,15 +58,15 @@ } ovrimos_close($conn); } -?> - </programlisting> - </example> +?> +]]> + </programlisting> + </example> Cet exemple effectue une connexion réussie. - </para> + </para> + </section> </partintro> - -&reference.ovrimos.functions; - + &reference.ovrimos.functions; </reference> <!-- Keep this comment at the end of the file Local variables: Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml:1.1 Sun Apr 14 20:36:08 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml Thu May 8 15:45:41 2003 @@ -30,7 +30,8 @@ <example> <title>Exemple avec <function>ovrimos_connect</function></title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("server.domain.com", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -42,7 +43,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> L'exemple ci-dessus montre comment se connecter à une base de données Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml:1.1 Sun Apr 14 20:36:09 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml Thu May 8 15:45:41 2003 @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>ovrimos_execute</methodname> + <type>bool</type><methodname>ovrimos_execute</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>parameters_array</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml:1.1 Sun Apr 14 20:36:09 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml Thu May 8 15:45:41 2003 @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>ovrimos_fetch_into</methodname> + <type>bool</type><methodname>ovrimos_fetch_into</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> <methodparam><type>array</type><parameter>result_array</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>how</parameter></methodparam> @@ -36,17 +36,18 @@ <example> <title>Lit un exemple</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn=ovrimos_connect("neptune", "8001", "admin", "password"); if ($conn!=0) { echo "Connection établie!"; $res=ovrimos_exec($conn,"SELECT table_id, table_name FROM sys.tables"); if ($res != 0) { echo "Requête effectuée!"; - if (ovrimos_fetch_into($res, &$row)) { + if (ovrimos_fetch_into($res, &$row)) { list ($table_id, $table_name) = $row; echo "table_id=".$table_id.", table_name=".$table_name."\n"; - if (ovrimos_fetch_into($res, &$row)) { + if (ovrimos_fetch_into($res, &$row)) { list ($table_id, $table_name) = $row; echo "table_id=".$table_id.", table_name=".$table_name."\n"; } else { @@ -59,7 +60,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> Cet exemple lis une ligne. Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml:1.1 Sun Apr 14 20:36:09 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml Thu May 8 15:45:41 2003 @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>ovrimos_fetch_row</methodname> + <type>bool</type><methodname>ovrimos_fetch_row</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>how</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>row_number</parameter></methodparam> @@ -26,7 +26,8 @@ <example> <title>Exemple de lecture de ligne</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("remote.host", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -51,7 +52,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> Cet exemple lit une ligne et l'affiche. Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml:1.1 Sun Apr 14 20:36:10 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml Thu May 8 15:45:41 2003 @@ -4,12 +4,14 @@ <refentry id="function.ovrimos-free-result"> <refnamediv> <refname>ovrimos_free_result</refname> - <refpurpose>Libère les ressources utilisées par un résultat</refpurpose> + <refpurpose> + Libère les ressources utilisées par un résultat Ovrimos + </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ovrimos_free_result</methodname> + <type>bool</type><methodname>ovrimos_free_result</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml:1.1 Sun Apr 14 20:36:11 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml Thu May 8 15:45:41 2003 @@ -27,10 +27,11 @@ d'une requête </title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn=ovrimos_connect("db_host", "8001", "admin", "password"); if ($conn!=0) { - echo "Connection établie!"; + echo "Connexion établie!"; $res=ovrimos_prepare($conn, "select table_id, table_name from sys.tables where table_id=1"); if ($res != 0) { @@ -47,7 +48,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> Cet exemple montre comment se connecter à un serveur Ovrimos SQL Server, Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml:1.1 Sun Apr 14 20:36:11 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml Thu May 8 15:45:41 2003 @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>ovrimos_result_all</methodname> + <type>bool</type><methodname>ovrimos_result_all</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>format</parameter></methodparam> </methodsynopsis> @@ -28,7 +28,8 @@ <example> <title>Prépare une requête, l'éxécute, et affiche le résultat</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("db_host", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -48,7 +49,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> Cet exemple exécute une requête SQL et affiche le résultat sous forme @@ -58,7 +60,8 @@ <example> <title><function>ovrimos_result_all</function> avec meta-information</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("db_host", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -68,7 +71,7 @@ echo "Requête effectuée! cursor=".ovrimos_cursor($res)."\n"; $colnb = ovrimos_num_fields($res); echo "Output columns=".$colnb."\n"; - for ($i=1; $i<=$colnb; $i++) { + for ($i=1; $i<=$colnb; $i++) { $name = ovrimos_field_name($res, $i); $type = ovrimos_field_type($res, $i); $len = ovrimos_field_len($res, $i); @@ -79,7 +82,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> </para> @@ -87,7 +91,8 @@ <example> <title>Exemple avec <function>ovrimos_result_all</function></title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("db_host", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -99,7 +104,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> </para> Index: phpdoc-fr/reference/ovrimos/configure.xml +++ phpdoc-fr/reference/ovrimos/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="ovrimos.installation"> &reftitle.install; <para> Pour activer le support d'Ovrimos support en &php;, vous devez comiler &php; avecl'option <option role="configure">--with-ovrimos[=DIR]</option>. DIR est le path jusqu'au dossier d'Ovrimos qui contient la librairie libsqlcli. </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
Index: phpdoc-fr/reference/ovrimos/reference.xml diff -u phpdoc-fr/reference/ovrimos/reference.xml:1.2 phpdoc-fr/reference/ovrimos/reference.xml:1.3 --- phpdoc-fr/reference/ovrimos/reference.xml:1.2 Mon Apr 15 20:54:41 2002 +++ phpdoc-fr/reference/ovrimos/reference.xml Thu May 8 15:45:41 2003 @@ -1,29 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <reference id="ref.ovrimos"> <title>Ovrimos SQL</title> <titleabbrev>OvrimosSQL</titleabbrev> <partintro> - <para> + <section id="ovrimos.intro"> + &reftitle.intro; + <para> Ovrimos SQL Server est une base de données relationnelle client/serveur et transactionnelle, combinée avec des fonctionnalités web, et des transactions rapides. - </para> - <para> + </para> + ¬e.no-windows.extension; + </section> + + <section id="ovrimos.requirements"> + &reftitle.required; + <para> Ovrimos SQL Server est disponible à <ulink - url="&url.ovrimos;">www.ovrimos.com</ulink>. Pour activer le support - ovrimos de PHP, il suffit de compiler PHP avec l'option - <link linkend="install.configure.with-ovrimos"><option role="configure">--with-ovrimos</option></link> - du script de configuration. Vous devrez aussi installer la librairie sqlcli - disponible avec la distribution Ovrimos SQL Server. - </para> - <para> - <example> - <title> + url="&url.ovrimos;">www.ovrimos.com</ulink>. Vous devez installer la + librairie sqlcli, qui est disponible dans la distribution de + Ovrimos SQL Server. + </para> + </section> + + &reference.ovrimos.configure; + + <section id="ovrimos.configuration"> + &reftitle.runtime; + &no.config; + </section> + + <section id="ovrimos.resources"> + &reftitle.resources; + <para> + </para> + </section> + + <section id="ovrimos.examples"> + &reftitle.examples; + <para> + <example> + <title> Connection au serveur Ovrimos SQL Server et sélection d'une table système - </title> - <programlisting role="php"> -<?php + </title> + <programlisting role="php"> +<![CDATA[ +<?php $conn = ovrimos_connect("server.domain.com", "8001", "admin", "password"); if ($conn != 0) { echo ("Connection établie!"); @@ -35,15 +58,15 @@ } ovrimos_close($conn); } -?> - </programlisting> - </example> +?> +]]> + </programlisting> + </example> Cet exemple effectue une connexion réussie. - </para> + </para> + </section> </partintro> - -&reference.ovrimos.functions; - + &reference.ovrimos.functions; </reference> <!-- Keep this comment at the end of the file Local variables: Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml:1.1 Sun Apr 14 20:36:08 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-connect.xml Thu May 8 15:45:41 2003 @@ -30,7 +30,8 @@ <example> <title>Exemple avec <function>ovrimos_connect</function></title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("server.domain.com", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -42,7 +43,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> L'exemple ci-dessus montre comment se connecter à une base de données Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml:1.1 Sun Apr 14 20:36:09 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-execute.xml Thu May 8 15:45:41 2003 @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>ovrimos_execute</methodname> + <type>bool</type><methodname>ovrimos_execute</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>parameters_array</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml:1.1 Sun Apr 14 20:36:09 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-into.xml Thu May 8 15:45:41 2003 @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>ovrimos_fetch_into</methodname> + <type>bool</type><methodname>ovrimos_fetch_into</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> <methodparam><type>array</type><parameter>result_array</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>how</parameter></methodparam> @@ -36,17 +36,18 @@ <example> <title>Lit un exemple</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn=ovrimos_connect("neptune", "8001", "admin", "password"); if ($conn!=0) { echo "Connection établie!"; $res=ovrimos_exec($conn,"SELECT table_id, table_name FROM sys.tables"); if ($res != 0) { echo "Requête effectuée!"; - if (ovrimos_fetch_into($res, &$row)) { + if (ovrimos_fetch_into($res, &$row)) { list ($table_id, $table_name) = $row; echo "table_id=".$table_id.", table_name=".$table_name."\n"; - if (ovrimos_fetch_into($res, &$row)) { + if (ovrimos_fetch_into($res, &$row)) { list ($table_id, $table_name) = $row; echo "table_id=".$table_id.", table_name=".$table_name."\n"; } else { @@ -59,7 +60,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> Cet exemple lis une ligne. Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml:1.1 Sun Apr 14 20:36:09 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-fetch-row.xml Thu May 8 15:45:41 2003 @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>ovrimos_fetch_row</methodname> + <type>bool</type><methodname>ovrimos_fetch_row</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>how</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>row_number</parameter></methodparam> @@ -26,7 +26,8 @@ <example> <title>Exemple de lecture de ligne</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("remote.host", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -51,7 +52,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> Cet exemple lit une ligne et l'affiche. Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml:1.1 Sun Apr 14 20:36:10 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-free-result.xml Thu May 8 15:45:41 2003 @@ -4,12 +4,14 @@ <refentry id="function.ovrimos-free-result"> <refnamediv> <refname>ovrimos_free_result</refname> - <refpurpose>Libère les ressources utilisées par un résultat</refpurpose> + <refpurpose> + Libère les ressources utilisées par un résultat Ovrimos + </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ovrimos_free_result</methodname> + <type>bool</type><methodname>ovrimos_free_result</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml:1.1 Sun Apr 14 20:36:11 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-prepare.xml Thu May 8 15:45:41 2003 @@ -27,10 +27,11 @@ d'une requête </title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn=ovrimos_connect("db_host", "8001", "admin", "password"); if ($conn!=0) { - echo "Connection établie!"; + echo "Connexion établie!"; $res=ovrimos_prepare($conn, "select table_id, table_name from sys.tables where table_id=1"); if ($res != 0) { @@ -47,7 +48,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> Cet exemple montre comment se connecter à un serveur Ovrimos SQL Server, Index: phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml diff -u phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml:1.1 phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml:1.2 --- phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml:1.1 Sun Apr 14 20:36:11 2002 +++ phpdoc-fr/reference/ovrimos/functions/ovrimos-result-all.xml Thu May 8 15:45:41 2003 @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>ovrimos_result_all</methodname> + <type>bool</type><methodname>ovrimos_result_all</methodname> <methodparam><type>int</type><parameter>result_id</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>format</parameter></methodparam> </methodsynopsis> @@ -28,7 +28,8 @@ <example> <title>Prépare une requête, l'éxécute, et affiche le résultat</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("db_host", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -48,7 +49,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> Cet exemple exécute une requête SQL et affiche le résultat sous forme @@ -58,7 +60,8 @@ <example> <title><function>ovrimos_result_all</function> avec meta-information</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("db_host", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -68,7 +71,7 @@ echo "Requête effectuée! cursor=".ovrimos_cursor($res)."\n"; $colnb = ovrimos_num_fields($res); echo "Output columns=".$colnb."\n"; - for ($i=1; $i<=$colnb; $i++) { + for ($i=1; $i<=$colnb; $i++) { $name = ovrimos_field_name($res, $i); $type = ovrimos_field_type($res, $i); $len = ovrimos_field_len($res, $i); @@ -79,7 +82,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> </para> @@ -87,7 +91,8 @@ <example> <title>Exemple avec <function>ovrimos_result_all</function></title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $conn = ovrimos_connect("db_host", "8001", "admin", "password"); if ($conn != 0) { echo "Connection établie!"; @@ -99,7 +104,8 @@ } ovrimos_close($conn); } -?> +?> +]]> </programlisting> </example> </para> Index: phpdoc-fr/reference/ovrimos/configure.xml +++ phpdoc-fr/reference/ovrimos/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="ovrimos.installation"> &reftitle.install; <para> Pour activer le support d'Ovrimos support en &php;, vous devez comiler &php; avecl'option <option role="configure">--with-ovrimos[=DIR]</option>. DIR est le path jusqu'au dossier d'Ovrimos qui contient la librairie libsqlcli. </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->