cvs: phpdoc-zh /reference/oci8/functions OCI-Lob-import.xml OCI-Lob-save.xml oci-num-rows.xml oci-rollback.xml oci-server-version.xml ocirollback.xml
ocirowcount.xml ocisavelob.xml ocisavelobfile.xml ociserverversion.xml
| From: | Dallas Thunder | Date: | Fri, 09 Sep 2005 15:46:42 +0000 |
| Subject: | cvs: phpdoc-zh /reference/oci8/functions OCI-Lob-import.xml OCI-Lob-save.xml oci-num-rows.xml oci-rollback.xml oci-server-version.xml ocirollback.xml ocirowcount.xml ocisavelob.xml ocisavelobfile.xml ociserverversion.xml |
||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2637@lists.php.net to get a copy of this message | ||
dallas Fri Sep 9 11:46:42 2005 EDT
Added files:
/phpdoc-zh/reference/oci8/functions OCI-Lob-import.xml
OCI-Lob-save.xml
oci-num-rows.xml
oci-rollback.xml
oci-server-version.xml
Modified files:
/phpdoc-zh/reference/oci8/functions ocirollback.xml ocirowcount.xml
ocisavelob.xml
ocisavelobfile.xml
ociserverversion.xml
Log:
Updated.
http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocirollback.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocirollback.xml diff -u phpdoc-zh/reference/oci8/functions/ocirollback.xml:1.2 phpdoc-zh/reference/oci8/functions/ocirollback.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocirollback.xml:1.2 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ocirollback.xml Fri Sep 9 11:46:41 2005 @@ -1,29 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocirollback"> - <refnamediv> - <refname>ocirollback</refname> - <refpurpose>»Ø¹öδÌá½»µÄÊÂÎñ</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocirollback</methodname> - <methodparam><type>resource</type><parameter>connection</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocirollback</function> »Ø¹ö Oracle Á¬½Ó <parameter>connection</parameter> -ÉÏËùÓÐδÌá½»Óï¾ä¡£ - &return.success; - </para> - <simpara> - See also <function>ocicommit</function>. - </simpara> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> +<refentry id="function.ocirollback"> + <refnamediv> + <refname>ocirollback</refname> + <refpurpose><function>oci_rollback</function> &Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_rollback</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocirowcount.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocirowcount.xml diff -u phpdoc-zh/reference/oci8/functions/ocirowcount.xml:1.2 phpdoc-zh/reference/oci8/functions/ocirowcount.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocirowcount.xml:1.2 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ocirowcount.xml Fri Sep 9 11:46:41 2005 @@ -1,52 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.7 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocirowcount"> - <refnamediv> - <refname>ocirowcount</refname> - <refpurpose>»ñÈ¡ÊÜÓ°ÏìµÄÐÐÊý</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>int</type><methodname>ocirowcount</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocirowcount</function> ·µ»ØÊÜÓ°ÏìµÄÐÐÊý¡£±ÈÈç˵£¬update Óï¾ä¡£ -¸Ãº¯Êý²»Äܹ»¸æËßÄãÒ»¸ö select ·µ»ØµÄÐÐÊý¡£ - </para> - <para> - <example> - <title><function>ocirowcount</function></title> - <programlisting role="php"> -<![CDATA[ -<?php - echo "<pre>"; - $conn = OCILogon("scott", "tiger"); - $stmt = OCIParse($conn, "create table emp2 as select * from emp"); - OCIExecute($stmt); - echo OCIRowCount($stmt) . " rows inserted.<br />"; - OCIFreeStatement($stmt); - $stmt = OCIParse($conn, "delete from emp2"); - OCIExecute($stmt); - echo OCIRowCount($stmt) . " rows deleted.<br />"; - OCICommit($conn); - OCIFreeStatement($stmt); - $stmt = OCIParse($conn, "drop table emp2"); - OCIExecute($stmt); - OCIFreeStatement($stmt); - OCILogOff($conn); - echo "</pre>"; -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> +<refentry id="function.ocirowcount"> + <refnamediv> + <refname>ocirowcount</refname> + <refpurpose><function>oci_num_rows</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_num_rows</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocisavelob.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-zh/reference/oci8/functions/ocisavelob.xml diff -u phpdoc-zh/reference/oci8/functions/ocisavelob.xml:1.7 phpdoc-zh/reference/oci8/functions/ocisavelob.xml:1.8 --- phpdoc-zh/reference/oci8/functions/ocisavelob.xml:1.7 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ocisavelob.xml Fri Sep 9 11:46:41 2005 @@ -1,24 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.7 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.6 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> - <refentry id="function.ocisavelob"> - <refnamediv> - <refname>ocisavelob</refname> - <refpurpose>±£´æÒ»¸ö´ó¶ÔÏó</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocisavelob</methodname> - <void /> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.8 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.11 Maintainer: dallas Status: ready --> +<refentry id="function.ocisavelob"> + <refnamediv> + <refname>ocisavelob</refname> + <refpurpose><xref linkend="function.oci-lob-save" /> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<xref linkend="function.oci-lob-save" />¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml diff -u phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml:1.6 phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml:1.7 --- phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml:1.6 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml Fri Sep 9 11:46:41 2005 @@ -1,24 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.6 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> - <refentry id="function.ocisavelobfile"> - <refnamediv> - <refname>ocisavelobfile</refname> - <refpurpose>±£´æÒ»¸ö´ó¶ÔÏóÎļþ</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocisavelobfile</methodname> - <void /> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.11 Maintainer: dallas Status: ready --> +<refentry id="function.ocisavelobfile"> + <refnamediv> + <refname>ocisavelobfile</refname> + <refpurpose><xref linkend="function.oci-lob-import" /> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<xref linkend="function.oci-lob-import" />¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ociserverversion.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/oci8/functions/ociserverversion.xml diff -u phpdoc-zh/reference/oci8/functions/ociserverversion.xml:1.5 phpdoc-zh/reference/oci8/functions/ociserverversion.xml:1.6 --- phpdoc-zh/reference/oci8/functions/ociserverversion.xml:1.5 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ociserverversion.xml Fri Sep 9 11:46:41 2005 @@ -1,35 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.5 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ociserverversion"> - <refnamediv> - <refname>ociserverversion</refname> - <refpurpose>·µ»ØÒ»¸ö°üº¬·þÎñÆ÷°æ±¾ÐÅÏ¢µÄ×Ö·û´®</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>string</type><methodname>ociserverversion</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> - </methodsynopsis> - <para> - <example> - <title>ociserverversion</title> - <programlisting role="php"> -<![CDATA[ -<?php - $conn = OCILogon("scott", "tiger"); - echo "Server Version: " . OCIServerVersion($conn); - OCILogOff($conn); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> +<refentry id="function.ociserverversion"> + <refnamediv> + <refname>ociserverversion</refname> + <refpurpose><function>oci_server_version</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_server_version</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/OCI-Lob-import.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/OCI-Lob-import.xml +++ phpdoc-zh/reference/oci8/functions/OCI-Lob-import.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-lob-import"> <refnamediv> <refname>OCI-Lob->import</refname> <refpurpose>½«Êý¾Ý´ÓÎļþµ¼Èë LOB</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>OCI-Lob</classname></ooclass> <methodsynopsis> <type>bool</type><methodname>import</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> ½« <parameter>filename</parameter> ÖеÄÊý¾Ý±£´æµ½´ó¶ÔÏóÖеĵ±Ç°Î»Öᣠ</para> <para> &return.success; </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.oci-lob-export" /></member> <member><xref linkend="function.oci-lob-write" /></member> </simplelist> </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/OCI-Lob-save.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/OCI-Lob-save.xml +++ phpdoc-zh/reference/oci8/functions/OCI-Lob-save.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-lob-save"> <refnamediv> <refname>OCI-Lob->save</refname> <refpurpose>½«Êý¾Ý±£´æµ½´ó¶ÔÏóÖÐ</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>OCI-Lob</classname></ooclass> <methodsynopsis> <type>bool</type><methodname>save</methodname> <methodparam><type>string</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> ½« <parameter>data</parameter> ±£´æµ½´ó¶ÔÏóÖС£<parameter>offset</parameter> ²ÎÊý¿ÉÒÔÓÃÀ´Ö¸¶¨´Ó´ó¶ÔÏó¿ªÍ·ÆðµÄÆ«ÒÆÁ¿¡£ </para> <para> &return.success; </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>data</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term><parameter>offset</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.oci-lob-write" /></member> <member><xref linkend="function.oci-lob-import" /></member> </simplelist> </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/oci-num-rows.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-num-rows.xml +++ phpdoc-zh/reference/oci8/functions/oci-num-rows.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-num-rows"> <refnamediv> <refname>oci_num_rows</refname> <refpurpose>·µ»ØÓï¾äÖ´ÐкóÊÜÓ°ÏìµÄÐÐÊý</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>int</type><methodname>oci_num_rows</methodname> <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> </methodsynopsis> <para> <function>oci_num_rows</function> ·µ»ØÓï¾äÖ´ÐкóÊÜÓ°ÏìµÄÐÐÊý¡£ </para> <note> <para> ±¾º¯Êý<emphasis>²¢²»</emphasis>·µ»Ø SELECT ²éѯ³öÀ´µÄÐÐÊý£¡¶ÔÓÚ SELECT Óï¾ä±¾º¯Êý½«·µ»ØÓà <function>oci_fetch*</function> º¯ÊýÈ¡µ½»º³åÇøµÄÐÐÊý¡£ </para> </note> <para> <example> <title><function>oci_num_rows</function> Àý×Ó</title> <programlisting role="php"> <![CDATA[ <?php echo "<pre>"; $conn = oci_connect("scott", "tiger"); $stmt = oci_parse($conn, "create table emp2 as select * from emp"); oci_execute($stmt); echo oci_num_rows($stmt) . " rows inserted.<br />"; oci_free_statement($stmt); $stmt = oci_parse($conn, "delete from emp2"); oci_execute($stmt, OCI_DEFAULT); echo oci_num_rows($stmt) . " rows deleted.<br />"; oci_commit($conn); oci_free_statement($stmt); $stmt = oci_parse($conn, "drop table emp2"); oci_execute($stmt); oci_free_statement($stmt); oci_close($conn); echo "</pre>"; ?> ]]> </programlisting> </example> </para> <para> <function>oci_num_rows</function> ÔÚ³ö´íʱ·µ»Ø &false;¡£ </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocirowcount</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_num_rows</function> µÄ±ðÃû¡£²»¹ýÆäÒѱ»·ÏÆú£¬²»ÍƼöʹÓᣠ</para> </note> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/oci-rollback.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-rollback.xml +++ phpdoc-zh/reference/oci8/functions/oci-rollback.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-rollback"> <refnamediv> <refname>oci_rollback</refname> <refpurpose>»Ø¹öδÌá½»µÄÊÂÎñ</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>oci_rollback</methodname> <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> <function>oci_rollback</function> »Ø¹ö Oracle Á¬½Ó <parameter>connection</parameter> ÉÏËùÓÐδÌá½»µÄÓï¾ä¡£ </para> <para> &return.success; </para> <note> <para> µ±¹Ø±ÕÁ¬½Ó»ò½Å±¾½áÊøÊ±£¨¿´ÄĸöÏÈ£©ÊÂÎñ»á×Ô¶¯»Ø¾í¡£ÐèÒªÃ÷È·µØµ÷Óà <function>oci_commit</function> À´Ìá½»ÊÂÎñ£¬»ò <function>oci_rollback</function> À´ÖÐÖ¹ÊÂÎñ¡£ </para> </note> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocirollback</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_rollback</function> µÄ±ðÃû¡£²»¹ýÆäÒѱ»·ÏÆú£¬²»ÍƼöʹÓᣠ</para> </note> <para> ²Î¼û <function>oci_commit</function>¡£ </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/oci-server-version.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-server-version.xml +++ phpdoc-zh/reference/oci8/functions/oci-server-version.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-server-version"> <refnamediv> <refname>oci_server_version</refname> <refpurpose>·µ»Ø·þÎñÆ÷°æ±¾ÐÅÏ¢</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>string</type><methodname>oci_server_version</methodname> <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> ÒÔ×Ö·û´®·µ»Ø <parameter>connection</parameter> ËùÁ¬½ÓµÄ Oracle ·þÎñÆ÷µÄ°æ±¾ÐÅÏ¢¡£³ö´íÔò·µ»Ø &false;¡£ </para> <para> <example> <title><function>oci_server_version</function> Àý×Ó</title> <programlisting role="php"> <![CDATA[ <?php $conn = oci_connect("scott", "tiger"); echo "Server Version: " . oci_server_version($conn); oci_close($conn); ?> ]]> </programlisting> </example> </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ociserverversion</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_server_version</function> µÄ±ðÃû¡£²»¹ýÆäÒѱ»·ÏÆú£¬²»ÍƼöʹÓᣠ</para> </note> </refsect1> </refentry> <!-- 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 -->
http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocirollback.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocirollback.xml diff -u phpdoc-zh/reference/oci8/functions/ocirollback.xml:1.2 phpdoc-zh/reference/oci8/functions/ocirollback.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocirollback.xml:1.2 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ocirollback.xml Fri Sep 9 11:46:41 2005 @@ -1,29 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocirollback"> - <refnamediv> - <refname>ocirollback</refname> - <refpurpose>»Ø¹öδÌá½»µÄÊÂÎñ</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocirollback</methodname> - <methodparam><type>resource</type><parameter>connection</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocirollback</function> »Ø¹ö Oracle Á¬½Ó <parameter>connection</parameter> -ÉÏËùÓÐδÌá½»Óï¾ä¡£ - &return.success; - </para> - <simpara> - See also <function>ocicommit</function>. - </simpara> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> +<refentry id="function.ocirollback"> + <refnamediv> + <refname>ocirollback</refname> + <refpurpose><function>oci_rollback</function> &Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_rollback</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocirowcount.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocirowcount.xml diff -u phpdoc-zh/reference/oci8/functions/ocirowcount.xml:1.2 phpdoc-zh/reference/oci8/functions/ocirowcount.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocirowcount.xml:1.2 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ocirowcount.xml Fri Sep 9 11:46:41 2005 @@ -1,52 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.7 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocirowcount"> - <refnamediv> - <refname>ocirowcount</refname> - <refpurpose>»ñÈ¡ÊÜÓ°ÏìµÄÐÐÊý</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>int</type><methodname>ocirowcount</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocirowcount</function> ·µ»ØÊÜÓ°ÏìµÄÐÐÊý¡£±ÈÈç˵£¬update Óï¾ä¡£ -¸Ãº¯Êý²»Äܹ»¸æËßÄãÒ»¸ö select ·µ»ØµÄÐÐÊý¡£ - </para> - <para> - <example> - <title><function>ocirowcount</function></title> - <programlisting role="php"> -<![CDATA[ -<?php - echo "<pre>"; - $conn = OCILogon("scott", "tiger"); - $stmt = OCIParse($conn, "create table emp2 as select * from emp"); - OCIExecute($stmt); - echo OCIRowCount($stmt) . " rows inserted.<br />"; - OCIFreeStatement($stmt); - $stmt = OCIParse($conn, "delete from emp2"); - OCIExecute($stmt); - echo OCIRowCount($stmt) . " rows deleted.<br />"; - OCICommit($conn); - OCIFreeStatement($stmt); - $stmt = OCIParse($conn, "drop table emp2"); - OCIExecute($stmt); - OCIFreeStatement($stmt); - OCILogOff($conn); - echo "</pre>"; -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> +<refentry id="function.ocirowcount"> + <refnamediv> + <refname>ocirowcount</refname> + <refpurpose><function>oci_num_rows</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_num_rows</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocisavelob.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-zh/reference/oci8/functions/ocisavelob.xml diff -u phpdoc-zh/reference/oci8/functions/ocisavelob.xml:1.7 phpdoc-zh/reference/oci8/functions/ocisavelob.xml:1.8 --- phpdoc-zh/reference/oci8/functions/ocisavelob.xml:1.7 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ocisavelob.xml Fri Sep 9 11:46:41 2005 @@ -1,24 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.7 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.6 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> - <refentry id="function.ocisavelob"> - <refnamediv> - <refname>ocisavelob</refname> - <refpurpose>±£´æÒ»¸ö´ó¶ÔÏó</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocisavelob</methodname> - <void /> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.8 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.11 Maintainer: dallas Status: ready --> +<refentry id="function.ocisavelob"> + <refnamediv> + <refname>ocisavelob</refname> + <refpurpose><xref linkend="function.oci-lob-save" /> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<xref linkend="function.oci-lob-save" />¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml diff -u phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml:1.6 phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml:1.7 --- phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml:1.6 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ocisavelobfile.xml Fri Sep 9 11:46:41 2005 @@ -1,24 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.6 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> - <refentry id="function.ocisavelobfile"> - <refnamediv> - <refname>ocisavelobfile</refname> - <refpurpose>±£´æÒ»¸ö´ó¶ÔÏóÎļþ</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocisavelobfile</methodname> - <void /> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.11 Maintainer: dallas Status: ready --> +<refentry id="function.ocisavelobfile"> + <refnamediv> + <refname>ocisavelobfile</refname> + <refpurpose><xref linkend="function.oci-lob-import" /> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<xref linkend="function.oci-lob-import" />¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ociserverversion.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/oci8/functions/ociserverversion.xml diff -u phpdoc-zh/reference/oci8/functions/ociserverversion.xml:1.5 phpdoc-zh/reference/oci8/functions/ociserverversion.xml:1.6 --- phpdoc-zh/reference/oci8/functions/ociserverversion.xml:1.5 Thu Aug 18 00:41:32 2005 +++ phpdoc-zh/reference/oci8/functions/ociserverversion.xml Fri Sep 9 11:46:41 2005 @@ -1,35 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.5 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ociserverversion"> - <refnamediv> - <refname>ociserverversion</refname> - <refpurpose>·µ»ØÒ»¸ö°üº¬·þÎñÆ÷°æ±¾ÐÅÏ¢µÄ×Ö·û´®</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>string</type><methodname>ociserverversion</methodname> - <methodparam><type>int</type><parameter>conn</parameter></methodparam> - </methodsynopsis> - <para> - <example> - <title>ociserverversion</title> - <programlisting role="php"> -<![CDATA[ -<?php - $conn = OCILogon("scott", "tiger"); - echo "Server Version: " . OCIServerVersion($conn); - OCILogOff($conn); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> +<refentry id="function.ociserverversion"> + <refnamediv> + <refname>ociserverversion</refname> + <refpurpose><function>oci_server_version</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_server_version</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/OCI-Lob-import.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/OCI-Lob-import.xml +++ phpdoc-zh/reference/oci8/functions/OCI-Lob-import.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-lob-import"> <refnamediv> <refname>OCI-Lob->import</refname> <refpurpose>½«Êý¾Ý´ÓÎļþµ¼Èë LOB</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>OCI-Lob</classname></ooclass> <methodsynopsis> <type>bool</type><methodname>import</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> ½« <parameter>filename</parameter> ÖеÄÊý¾Ý±£´æµ½´ó¶ÔÏóÖеĵ±Ç°Î»Öᣠ</para> <para> &return.success; </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.oci-lob-export" /></member> <member><xref linkend="function.oci-lob-write" /></member> </simplelist> </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/OCI-Lob-save.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/OCI-Lob-save.xml +++ phpdoc-zh/reference/oci8/functions/OCI-Lob-save.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-lob-save"> <refnamediv> <refname>OCI-Lob->save</refname> <refpurpose>½«Êý¾Ý±£´æµ½´ó¶ÔÏóÖÐ</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>OCI-Lob</classname></ooclass> <methodsynopsis> <type>bool</type><methodname>save</methodname> <methodparam><type>string</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> ½« <parameter>data</parameter> ±£´æµ½´ó¶ÔÏóÖС£<parameter>offset</parameter> ²ÎÊý¿ÉÒÔÓÃÀ´Ö¸¶¨´Ó´ó¶ÔÏó¿ªÍ·ÆðµÄÆ«ÒÆÁ¿¡£ </para> <para> &return.success; </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>data</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term><parameter>offset</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.oci-lob-write" /></member> <member><xref linkend="function.oci-lob-import" /></member> </simplelist> </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/oci-num-rows.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-num-rows.xml +++ phpdoc-zh/reference/oci8/functions/oci-num-rows.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-num-rows"> <refnamediv> <refname>oci_num_rows</refname> <refpurpose>·µ»ØÓï¾äÖ´ÐкóÊÜÓ°ÏìµÄÐÐÊý</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>int</type><methodname>oci_num_rows</methodname> <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> </methodsynopsis> <para> <function>oci_num_rows</function> ·µ»ØÓï¾äÖ´ÐкóÊÜÓ°ÏìµÄÐÐÊý¡£ </para> <note> <para> ±¾º¯Êý<emphasis>²¢²»</emphasis>·µ»Ø SELECT ²éѯ³öÀ´µÄÐÐÊý£¡¶ÔÓÚ SELECT Óï¾ä±¾º¯Êý½«·µ»ØÓà <function>oci_fetch*</function> º¯ÊýÈ¡µ½»º³åÇøµÄÐÐÊý¡£ </para> </note> <para> <example> <title><function>oci_num_rows</function> Àý×Ó</title> <programlisting role="php"> <![CDATA[ <?php echo "<pre>"; $conn = oci_connect("scott", "tiger"); $stmt = oci_parse($conn, "create table emp2 as select * from emp"); oci_execute($stmt); echo oci_num_rows($stmt) . " rows inserted.<br />"; oci_free_statement($stmt); $stmt = oci_parse($conn, "delete from emp2"); oci_execute($stmt, OCI_DEFAULT); echo oci_num_rows($stmt) . " rows deleted.<br />"; oci_commit($conn); oci_free_statement($stmt); $stmt = oci_parse($conn, "drop table emp2"); oci_execute($stmt); oci_free_statement($stmt); oci_close($conn); echo "</pre>"; ?> ]]> </programlisting> </example> </para> <para> <function>oci_num_rows</function> ÔÚ³ö´íʱ·µ»Ø &false;¡£ </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocirowcount</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_num_rows</function> µÄ±ðÃû¡£²»¹ýÆäÒѱ»·ÏÆú£¬²»ÍƼöʹÓᣠ</para> </note> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/oci-rollback.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-rollback.xml +++ phpdoc-zh/reference/oci8/functions/oci-rollback.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-rollback"> <refnamediv> <refname>oci_rollback</refname> <refpurpose>»Ø¹öδÌá½»µÄÊÂÎñ</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>oci_rollback</methodname> <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> <function>oci_rollback</function> »Ø¹ö Oracle Á¬½Ó <parameter>connection</parameter> ÉÏËùÓÐδÌá½»µÄÓï¾ä¡£ </para> <para> &return.success; </para> <note> <para> µ±¹Ø±ÕÁ¬½Ó»ò½Å±¾½áÊøÊ±£¨¿´ÄĸöÏÈ£©ÊÂÎñ»á×Ô¶¯»Ø¾í¡£ÐèÒªÃ÷È·µØµ÷Óà <function>oci_commit</function> À´Ìá½»ÊÂÎñ£¬»ò <function>oci_rollback</function> À´ÖÐÖ¹ÊÂÎñ¡£ </para> </note> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocirollback</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_rollback</function> µÄ±ðÃû¡£²»¹ýÆäÒѱ»·ÏÆú£¬²»ÍƼöʹÓᣠ</para> </note> <para> ²Î¼û <function>oci_commit</function>¡£ </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-zh/reference/oci8/functions/oci-server-version.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-server-version.xml +++ phpdoc-zh/reference/oci8/functions/oci-server-version.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-server-version"> <refnamediv> <refname>oci_server_version</refname> <refpurpose>·µ»Ø·þÎñÆ÷°æ±¾ÐÅÏ¢</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>string</type><methodname>oci_server_version</methodname> <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> ÒÔ×Ö·û´®·µ»Ø <parameter>connection</parameter> ËùÁ¬½ÓµÄ Oracle ·þÎñÆ÷µÄ°æ±¾ÐÅÏ¢¡£³ö´íÔò·µ»Ø &false;¡£ </para> <para> <example> <title><function>oci_server_version</function> Àý×Ó</title> <programlisting role="php"> <![CDATA[ <?php $conn = oci_connect("scott", "tiger"); echo "Server Version: " . oci_server_version($conn); oci_close($conn); ?> ]]> </programlisting> </example> </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ociserverversion</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_server_version</function> µÄ±ðÃû¡£²»¹ýÆäÒѱ»·ÏÆú£¬²»ÍƼöʹÓᣠ</para> </note> </refsect1> </refentry> <!-- 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 -->