cvs: phpdoc-zh /reference/oci8/functions OCI-Collection-free.xml oci-define-by-name.xml oci-error.xml oci-execute.xml oci-fetch-all.xml oci-fetch.xml
ocidefinebyname.xml ocierror.xml ociexecute.xml ocifetch.xml ocifetchinto.xml ocifetchstatement.xml ocifreecollection.xml
| From: | Dallas Thunder | Date: | Thu, 08 Sep 2005 15:18:03 +0000 |
| Subject: | cvs: phpdoc-zh /reference/oci8/functions OCI-Collection-free.xml oci-define-by-name.xml oci-error.xml oci-execute.xml oci-fetch-all.xml oci-fetch.xml ocidefinebyname.xml ocierror.xml ociexecute.xml ocifetch.xml ocifetchinto.xml ocifetchstatement.xml ocifreecollection.xml |
||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2612@lists.php.net to get a copy of this message | ||
dallas Thu Sep 8 11:18:03 2005 EDT
Added files:
/phpdoc-zh/reference/oci8/functions OCI-Collection-free.xml
oci-define-by-name.xml
oci-error.xml oci-execute.xml
oci-fetch-all.xml oci-fetch.xml
Modified files:
/phpdoc-zh/reference/oci8/functions ocidefinebyname.xml
ocierror.xml ociexecute.xml
ocifetch.xml ocifetchinto.xml
ocifetchstatement.xml
ocifreecollection.xml
Log:
Updated. Note some function/file names are changed!
http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml diff -u phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml:1.2 phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml:1.2 Thu Aug 18 00:41:28 2005 +++ phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml Thu Sep 8 11:18:03 2005 @@ -1,69 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.9 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocidefinebyname"> - <refnamediv> - <refname>ocidefinebyname</refname> - <refpurpose> -ÔÚÒ»¸ö SELECT ÖÐʹÓÃÒ»¸ö PHP ±äÁ¿×÷Ϊ¶¨ÒåµÄ²½Öè - </refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocidefinebyname</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - <methodparam><type>string</type><parameter>column_name</parameter></methodparam> - <methodparam><type>mixed</type><parameter>&variable</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocidefinebyname</function> °ó¶¨ PHP µ½»ñÈ¡µÄ -SQL ÁС£ ÐèҪעÒâµÄÊÇ£¬Oracle ʹÓôóд×ÖĸµÄÁÐÃû£¬¶øÔÚÄãµÄ select ÖУ¬ -ÄãÒ»°ãʹÓÃСд×Öĸ¡£ - <function>ocidefinebyname</function> ÆÚÍû - <parameter>column_name</parameter> ÊÇ´óд×Öĸ¡£ -Èç¹ûÄãÔÚÄãµÄ select Óï¾äÖж¨ÒåÒ»¸ö²»´æÔڵıäÁ¿£¬½«Ã»ÓдíÎ󱻸ø³ö¡£ - </para> - <para> -Èç¹ûÄãÐèÒª¶¨ÒåÒ»¸ö³éÏóÊý¾ÝÀàÐÍ(LOB/ROWID/BFILE)£¬ -ÄãÊ×ÏÈÐèҪʹÓà <function>ocinewdescriptor</function> È¥·ÖÅä¡£ -²Î¼û - <function>ocibindbyname</function> º¯Êý¡£ - </para> - <example> - <title><function>ocidefinebyname</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -/* OCIDefineByName example - thies at thieso dot net (980219) */ - -$conn = OCILogon("scott", "tiger"); - -$stmt = OCIParse($conn, "select empno, ename from emp"); - -/* the define MUST be done BEFORE ociexecute! */ - -OCIDefineByName($stmt, "EMPNO", $empno); -OCIDefineByName($stmt, "ENAME", $ename); - -OCIExecute($stmt); - -while (OCIFetch($stmt)) { - echo "empno:" . $empno . "\n"; - echo "ename:" . $ename . "\n"; -} - -OCIFreeStatement($stmt); -OCILogoff($conn); -?> -]]> - </programlisting> - </example> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.15 Maintainer: dallas Status: ready --> +<refentry id="function.ocidefinebyname"> + <refnamediv> + <refname>ocidefinebyname</refname> + <refpurpose><function>oci_define_by_name</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_define_by_name</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/ocierror.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocierror.xml diff -u phpdoc-zh/reference/oci8/functions/ocierror.xml:1.2 phpdoc-zh/reference/oci8/functions/ocierror.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocierror.xml:1.2 Thu Aug 18 00:41:28 2005 +++ phpdoc-zh/reference/oci8/functions/ocierror.xml Thu Sep 8 11:18:03 2005 @@ -1,37 +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.ocierror"> - <refnamediv> - <refname>ocierror</refname> - <refpurpose>·µ»Ø stmt|conn|global µÄ×îºóµÄ´íÎó</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>array</type><methodname>ocierror</methodname> - <methodparam choice="opt"><type>resource</type><parameter>stmt|conn|global</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>ocierror</function> ·µ»ØËü·¢ÏÖµÄ×îºóµÄ´íÎó¡£ -Èç¹û¿ÉÑ¡²ÎÊý <parameter>stmt|conn|global</parameter> ûÓÐÌṩ£¬ -º¯Êý·µ»ØËüÓöµ½µÄ×îºóµÄ´íÎó¡£Èç¹ûûÓдíÎó·¢ÏÖ£¬ - <function>ocierror</function> ·µ»Ø - &false;.¡£<function>ocierror</function> ÓÃÒ»¸öÏà¹ØµÄÊý×é·µ»Ø´íÎó¡£ -ÔÚÕâ¸öÊý×éÖУ¬<literal>code</literal> ÊÇ oracle ´íÎó´úÂ룬 - <literal>message</literal> ÊÇ oracle µÄ´íÎó×Ö·û´®¡£ - </simpara> - <note> - <title>ÔÚ PHP 4.3 ÖÐ</title> - <simpara> - <literal>offset</literal> ºÍ <literal>sqltext</literal> Ò²°üÀ¨ÔÚ·µ»ØµÄÊý×éÖУ¬ -ÓÃÀ´Ö¸³ö´íÎó·¢ÉúµÄλÖÃÒÔ¼°Ôì³É´íÎóµÄÔʼµÄ SQL Îı¾¡£ - </simpara> - </note> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> +<refentry id="function.ocierror"> + <refnamediv> + <refname>ocierror</refname> + <refpurpose><function>oci_error</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_error</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/ociexecute.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/oci8/functions/ociexecute.xml diff -u phpdoc-zh/reference/oci8/functions/ociexecute.xml:1.4 phpdoc-zh/reference/oci8/functions/ociexecute.xml:1.5 --- phpdoc-zh/reference/oci8/functions/ociexecute.xml:1.4 Thu Aug 18 00:41:29 2005 +++ phpdoc-zh/reference/oci8/functions/ociexecute.xml Thu Sep 8 11:18:03 2005 @@ -1,32 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $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.ociexecute"> - <refnamediv> - <refname>ociexecute</refname> - <refpurpose>Ö´ÐÐÒ»ÌõÓï¾ä</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ociexecute</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> -<function>ociexecute</function> Ö´ÐÐÒ»Ìõ±»·ÖÎö¹ýµÄÓï¾ä¡£(²Î¼û -<function>ociparse</function>)¡£¿ÉÑ¡µÄ²ÎÊý -<parameter>mode</parameter> ÔÊÐí¶¨ÒåÖ´ÐÐģʽ (ĬÈÏÊÇ -OCI_COMMIT_ON_SUCCESS)¡£ Èç¹û²»ÐèÒª½«Óï¾ä×Ô¶¯Ìá½»£¬ÔòÐèÒª°Ñģʽ¶¨ÒåΪ -OCI_DEFAULT ¡£ - </para> - <para> - &return.success; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> +<refentry id="function.ociexecute"> + <refnamediv> + <refname>ociexecute</refname> + <refpurpose><function>oci_execute</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_execute</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/ocifetch.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocifetch.xml diff -u phpdoc-zh/reference/oci8/functions/ocifetch.xml:1.2 phpdoc-zh/reference/oci8/functions/ocifetch.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocifetch.xml:1.2 Thu Aug 18 00:41:29 2005 +++ phpdoc-zh/reference/oci8/functions/ocifetch.xml Thu Sep 8 11:18:03 2005 @@ -1,25 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $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.ocifetch"> - <refnamediv> - <refname>ocifetch</refname> - <refpurpose>»ñÈ¡ÏÂÒ»Ðе½½á¹û»º³åÇø</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocifetch</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocifetch</function> »ñÈ¡SELECT Óï¾äµÄÏÂÒ»Ðе½ÄÚ²¿½á¹û»º³åÇø¡£ -&return.success; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> +<refentry id="function.ocifetch"> + <refnamediv> + <refname>ocifetch</refname> + <refpurpose><function>oci_fetch</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_fetch</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/ocifetchinto.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocifetchinto.xml diff -u phpdoc-zh/reference/oci8/functions/ocifetchinto.xml:1.2 phpdoc-zh/reference/oci8/functions/ocifetchinto.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocifetchinto.xml:1.2 Thu Aug 18 00:41:30 2005 +++ phpdoc-zh/reference/oci8/functions/ocifetchinto.xml Thu Sep 8 11:18:03 2005 @@ -1,52 +1,57 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.9 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocifetchinto"> - <refnamediv> - <refname>ocifetchinto</refname> - <refpurpose>»ñÈ¡ÏÂÒ»Ðе½Ò»¸öÊý×é</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>int</type><methodname>ocifetchinto</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - <methodparam><type>array</type><parameter>&result</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocifetchinto</function> »ñÈ¡ SELECT µÄÏÂÒ»Ðе½ - <parameter>result</parameter> Êý×é¡£ - <function>ocifetchinto</function> ½«¸²¸Ç <parameter>result</parameter> -ÒÔǰµÄÄÚÈÝ¡£ÔÚĬÈÏÇé¿öÏ£¬ - <parameter>result</parameter> ½«º¬ÓÐËùÓÐ·Ç &null; ÁеÄÊý×é¡£¸ÃÊý×é´Ó 0 ¿ªÊ¼¼ÆÊý¡£ - </para> - <para> - <parameter>mode</parameter> ²ÎÊýÔÊÐíÄã¸Ä±äĬÈϵÄÐÐΪ¡£ -¿ÉÒÔ¼òµ¥µÄ½«±êÖ¾Ïà¼ÓÀ´Ê¹Óöà¸ö±êÖ¾(ÁÐÈ磺 -OCI_ASSOC+OCI_RETURN_NULLS)¡£ -±êÖ¾ÁбíÈçÏ£º - <simplelist> - <member> - <constant>OCI_ASSOC</constant> ·µ»ØÒ»¸öÏà¹ØÊý×é¡£ - </member> - <member> - <constant>OCI_NUM</constant> ·µ»ØÒ»¸ö´Ó 0 ¿ªÊ¼µÄÊý×ÖÊý×é¡£(ĬÈÏÇé¿ö) - </member> - <member> - <constant>OCI_RETURN_NULLS</constant> ·µ»Ø¿ÕÁС£ - </member> - <member> - <constant>OCI_RETURN_LOBS</constant> ·µ»Ø LOB µÄÖµ¶ø²»ÊÇËüµÄÃèÊö·û¡£ - </member> - </simplelist> - </para> - <para> - <example> - <title>Ò»¸ö¼òµ¥µÄ <function>ocifetchinto</function> Àý×Ó</title> - <programlisting role="php"> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.14 Maintainer: yincheng Status: ready --> +<!-- CREDITS: dallas --> +<refentry id="function.ocifetchinto"> + <refnamediv> + <refname>ocifetchinto</refname> + <refpurpose>»ñÈ¡ÏÂÒ»Ðе½Ò»¸öÊý×é</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>ocifetchinto</methodname> + <methodparam><type>resource</type><parameter>statement</parameter></methodparam> + <methodparam><type>array</type><parameter role="reference">result</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> + </methodsynopsis> + <note> + <para> + ±¾º¯ÊýÒÑ·ÏÆú¡£½¨ÒéʹÓãº<function>oci_fetch_array</function>£¬<function>oci_fetch_object</function>£¬<function>oci_fetch_assoc</function> + ÒÔ¼° <function>oci_fetch_row</function>¡£ + </para> + </note> + <para> + <function>ocifetchinto</function> »ñÈ¡ SELECT µÄÏÂÒ»Ðе½ + <parameter>result</parameter> Êý×é¡£<function>ocifetchinto</function> + ½«¸²¸Ç <parameter>result</parameter> + ÒÔǰµÄÄÚÈÝ¡£ÔÚĬÈÏÇé¿öÏ£¬<parameter>result</parameter> + ÊÇÒ»¸öË÷Òý´Ó 0 ¿ªÊ¼µÄÊý×飬º¬ÓÐËùÓÐ·Ç &null; µÄÁС£ + </para> + <para> + <parameter>mode</parameter> + ²ÎÊýÔÊÐí¸Ä±äĬÈϵÄÐÐΪ¡£¿ÉÒÔ¼òµ¥µÄ½«±êÖ¾Ïà¼ÓÀ´Ê¹Óöà¸ö±êÖ¾£¨ÀýÈç + OCI_ASSOC+OCI_RETURN_NULLS£©¡£ÆäÓÐЧֵΪ£º + <simplelist> + <member> + <constant>OCI_ASSOC</constant> - ·µ»ØÒ»¸ö¹ØÁªÊý×é¡£ + </member> + <member> + <constant>OCI_NUM</constant> - ·µ»ØÒ»¸öÊý×Öϱê´Ó 0 ¿ªÊ¼µÄÊý×飨ĬÈÏÇé¿ö£©¡£ + </member> + <member> + <constant>OCI_RETURN_NULLS</constant> - ¶ÔÓÚ¿ÕÁзµ»Ø &null; Öµ¡£ + </member> + <member> + <constant>OCI_RETURN_LOBS</constant> - ·µ»Ø LOB µÄÖµ¶ø²»ÊÇËüµÄÃèÊö·û¡£ + </member> + </simplelist> + </para> + <para> + <example> + <title><function>ocifetchinto</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $conn = ocilogon("username", "password"); @@ -61,15 +66,16 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - ²Î¼û <function>ocifetch</function> ºÍ - <function>ociexecute</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + ²Î¼û + <function>oci_fetch_array</function>£¬<function>oci_fetch_object</function>£¬<function>oci_fetch_assoc</function>£¬<function>oci_fetch_row</function>£¬<function>oci_fetch</function> + ºÍ <function>oci_execute</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml diff -u phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml:1.2 phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml:1.2 Thu Aug 18 00:41:30 2005 +++ phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml Thu Sep 8 11:18:03 2005 @@ -1,97 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.10 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocifetchstatement"> - <refnamediv> - <refname>ocifetchstatement</refname> - <refpurpose>»ñÈ¡½á¹ûÊý¾ÝµÄËùÓÐÐе½Ò»¸öÊý×é</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>int</type><methodname>ocifetchstatement</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - <methodparam><type>array</type><parameter>&output</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>skip</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>maxrows</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocifetchstatement</function> ´ÓÒ»¸ö½á¹ûÖлñÈ¡ËùÓеÄÐе½Ò»¸ö -Óû§¶¨ÒåµÄÊý×é¡£ - <function>ocifetchstatement</function> ·µ»Ø»ñÈ¡µÄÐÐÊý¡£ - <parameter>skip</parameter> ÊÇ´Ó½á¹ûÖлñÈ¡Êý¾Ýʱ£¬×ʼºöÂÔµÄÐÐÊý -(¸Ã²ÎÊýµÄĬÈÏÖµÊÇ 0£¬¼´´ÓµÚÒ»ÐпªÊ¼)¡£ -<parameter>maxrows</parameter> ÊǶÁÈ¡µÄÐÐÊý£¬´ÓµÚ <parameter>skip</parameter> ÐпªÊ¼ -(ĬÈÏÖµÊÇ -1£¬¼´ËùÓÐÐÐ)¡£ - </para> - <para> - <parameter>flags</parameter> ±íʾ´æÔÚµÄÑ¡Ï -¿ÉÒÔÊÇÏÂÁÐÈÎÒ»µÄ×éºÏ£º - <simplelist> - <member> - <constant>OCI_FETCHSTATEMENT_BY_ROW</constant> - </member> - <member> - <constant>OCI_FETCHSTATEMENT_BY_COLUMN</constant> (ĬÈÏÖµ) - </member> - <member> - <constant>OCI_NUM</constant> - </member> - <member> - <constant>OCI_ASSOC</constant> - </member> - </simplelist> - </para> - <para> - <example> - <title><function>ocifetchstatement</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -/* OCIFetchStatement example mbritton at verinet dot com (990624) */ +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.16 Maintainer: dallas Status: ready --> +<refentry id="function.ocifetchistatement"> + <refnamediv> + <refname>ocifetchistatement</refname> + <refpurpose><function>oci_fetch_all</function> µÄ&Alias;</refpurpose> + </refnamediv> -$conn = OCILogon("scott", "tiger"); - -$stmt = OCIParse($conn, "select * from emp"); - -OCIExecute($stmt); - -$nrows = OCIFetchStatement($stmt, $results); -if ($nrows > 0) { - echo "<table border=\"1\">\n"; - echo "<tr>\n"; - while (list($key, $val) = each($results)) { - echo "<th>$key</th>\n"; - } - echo "</tr>\n"; - - for ($i = 0; $i < $nrows; $i++) { - reset($results); - echo "<tr>\n"; - while ($column = each($results)) { - $data = $column['value']; - echo "<td>$data[$i]</td>\n"; - } - echo "</tr>\n"; - } - echo "</table>\n"; -} else { - echo "No data found<br />\n"; -} -echo "$nrows Records Selected<br />\n"; - -OCIFreeStatement($stmt); -OCILogoff($conn); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_fetch_all</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/ocifreecollection.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/oci8/functions/ocifreecollection.xml diff -u phpdoc-zh/reference/oci8/functions/ocifreecollection.xml:1.4 phpdoc-zh/reference/oci8/functions/ocifreecollection.xml:1.5 --- phpdoc-zh/reference/oci8/functions/ocifreecollection.xml:1.4 Thu Aug 18 00:41:30 2005 +++ phpdoc-zh/reference/oci8/functions/ocifreecollection.xml Thu Sep 8 11:18:03 2005 @@ -1,24 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> - <refentry id="function.ocifreecollection"> - <refnamediv> - <refname>ocifreecollection</refname> - <refpurpose>¸Ãº¯ÊýĿǰÔÝʱûÓвο¼Îĵµ</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocifreecollection</methodname> - <methodparam><type>object</type><parameter>lob</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.11 Maintainer: yincheng Status: ready --> +<refentry id="function.ocifreecollection"> + <refnamediv> + <refname>ocifreecollection</refname> + <refpurpose><xref linkend="function.oci-collection-free" /> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<xref linkend="function.oci-collection-free" />¡£ + </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-Collection-free.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/OCI-Collection-free.xml +++ phpdoc-zh/reference/oci8/functions/OCI-Collection-free.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <refentry id="function.oci-collection-free"> <refnamediv> <refname>OCI-Collection->free</refname> <refpurpose>ÊͷŹØÁªÓÚ collection µÄ¶ÔÏóµÄ×ÊÔ´</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>OCI-Collection</classname></ooclass> <methodsynopsis> <type>bool</type><methodname>free</methodname> <void /> </methodsynopsis> </classsynopsis> <para> ÊͷŹØÁªÓÚ collection µÄ¶ÔÏóµÄ×ÊÔ´¡£ </para> <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.oci-new-collection" /></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-define-by-name.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-define-by-name.xml +++ phpdoc-zh/reference/oci8/functions/oci-define-by-name.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-define-by-name"> <refnamediv> <refname>oci_define_by_name</refname> <refpurpose>ÔÚ SELECT ÖÐʹÓà PHP ±äÁ¿×÷Ϊ¶¨ÒåµÄ²½Öè</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>oci_define_by_name</methodname> <methodparam><type>resource</type><parameter>statement</parameter></methodparam> <methodparam><type>string</type><parameter>column_name</parameter></methodparam> <methodparam><type>mixed</type><parameter role="reference">variable</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> <function>oci_define_by_name</function> °ó¶¨ PHP µ½»ñÈ¡µÄ SQL ÁС£ ÐèҪעÒâµÄÊÇ£¬Oracle ʹÓôóд×ÖĸµÄÁÐÃû£¬¶øÓû§ÔÚ select ÖÐÒ²¿ÉÒÔÓÃСд×Öĸ¡£<function>oci_define_by_name</function> ÆÚÍû <parameter>column_name</parameter> ÊÇ´óд×Öĸ¡£Èç¹û¶¨ÒåÒ»¸ö±äÁ¿²»´æÔÚÓÚ select Óï¾äÖУ¬½«Ã»ÓдíÎ󱻸ø³ö¡£ </para> <para> Èç¹ûÐèÒª¶¨ÒåÒ»¸ö³éÏóÊý¾ÝÀàÐÍ£¨LOB/ROWID/BFILE£©£¬±ØÐëÏÈÓà <function>oci_new_descriptor</function> ·ÖÅä¿Õ¼ä¡£²Î¼û <function>oci_bind_by_name</function> º¯Êý¡£ </para> <example> <title><function>oci_define_by_name</function> Àý×Ó</title> <programlisting role="php"> <![CDATA[ <?php /* oci_define_by_name example - thies at thieso dot net (980219) */ $conn = oci_connect("scott", "tiger"); $stmt = oci_parse($conn, "SELECT empno, ename FROM emp"); /* the define MUST be done BEFORE oci_execute! */ oci_define_by_name($stmt, "EMPNO", $empno); oci_define_by_name($stmt, "ENAME", $ename); oci_execute($stmt); while (oci_fetch($stmt)) { echo "empno:" . $empno . "\n"; echo "ename:" . $ename . "\n"; } oci_free_statement($stmt); oci_close($conn); ?> ]]> </programlisting> </example> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocidefinebyname</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_define_by_name</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-error.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-error.xml +++ phpdoc-zh/reference/oci8/functions/oci-error.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-error"> <refnamediv> <refname>oci_error</refname> <refpurpose>·µ»ØÉÏÒ»¸ö´íÎó</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>array</type><methodname>oci_error</methodname> <methodparam choice="opt"><type>resource</type><parameter>source</parameter></methodparam> </methodsynopsis> <para> ¶ÔÓÚ´ó¶àÊý´íÎ󣬲ÎÊýÊÇ×îÊʺϵÄ×ÊÔ´¾ä±ú¡£¶ÔÓÚ <function>oci_connect</function>£¬<function>oci_new_connect</function> »ò <function>oci_pconnect</function> µÄÁ¬½Ó´íÎ󣬲»Òª´«µÝ²ÎÊý¡£Èç¹ûûÓз¢ÏÖ´íÎó£¬<function>oci_error</function> ·µ»Ø &false;¡£<function>oci_error</function> ÒÔÒ»¸ö¹ØÁªÊý×é·µ»Ø´íÎó¡£ÔÚ´ËÊý×éÖУ¬<literal>code</literal> ÊÇ oracle ´íÎó´úÂë¶ø <literal>message</literal> ÊÇ oracle µÄ´íÎó×Ö·û´®¡£ </para> <note> <title>×Ô PHP 4.3 Æð</title> <para> <literal>offset</literal> ºÍ <literal>sqltext</literal> Ò²°üÀ¨ÔÚ·µ»ØµÄÊý×éÖУ¬ÓÃÀ´Ö¸³ö´íÎó·¢ÉúµÄλÖÃÒÔ¼°Ôì³É´íÎóµÄÔʼµÄ SQL Îı¾¡£ </para> </note> <para> <example> <title>Á¬½Ó´íÎóºóÏÔʾ Oracle ´íÎóÐÅÏ¢</title> <programlisting role="php"> <![CDATA[ $conn = @oci_connect("scott", "tiger", "mydb"); if (!$conn) { $e = oci_error(); // For oci_connect errors pass no handle echo htmlentities($e['message']); } ]]> </programlisting> </example> </para> <para> <example> <title>Óï·¨½âÎö´íÎóºóÏÔʾ Oracle ´íÎóÐÅÏ¢</title> <programlisting role="php"> <![CDATA[ $stmt = @oci_parse($conn, "select ' from dual"); // note mismatched quote if (!$stmt) { $e = oci_error($conn); // For oci_parse errors pass the connection handle echo htmlentities($e['message']); } ]]> </programlisting> </example> </para> <para> <example> <title>Ö´ÐдíÎóºóÏÔʾ Oracle ´íÎóÐÅÏ¢ºÍ³ö´íµÄÓï¾ä</title> <programlisting role="php"> <![CDATA[ $r = oci_execute($stmt); if (!$r) { $e = oci_error($stmt); // For oci_execute errors pass the statementhandle echo htmlentities($e['message']); echo "<pre>"; echo htmlentities($e['sqltext']); printf("\n%".($e['offset']+1)."s", "^"); echo "</pre>"; } ]]> </programlisting> </example> </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocierror</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_error</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-execute.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-execute.xml +++ phpdoc-zh/reference/oci8/functions/oci-execute.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-execute"> <refnamediv> <refname>oci_execute</refname> <refpurpose>Ö´ÐÐÒ»ÌõÓï¾ä</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>oci_execute</methodname> <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> <function>oci_execute</function> Ö´ÐÐÒ»Ìõ֮ǰ±»½âÎö¹ýµÄÓï¾ä£¨¼û <function>oci_parse</function>£©¡£¿ÉÑ¡²ÎÊý <parameter>mode</parameter> ÔÊÐí¶¨ÒåÖ´ÐÐģʽ£¨Ä¬ÈÏÊÇ <constant>OCI_COMMIT_ON_SUCCESS</constant>£©¡£Èç¹û²»ÐèÒª½«Óï¾ä×Ô¶¯Ìá½»£¬ÔòÐèÒª°Ñ <parameter>mode</parameter> ÉèΪ <constant>OCI_DEFAULT</constant>¡£ </para> <para> Óà <constant>OCI_DEFAULT</constant> ģʽʱ£¬½«½¨Á¢Ò»¸öÊÂÎñ¡£ÊÂÎñ»áÔڹرÕÁ¬½Ó»ò½Å±¾½áÊøÊ±£¨¿´ÄĸöÏÈ£©×Ô¶¯»Ø¾í¡£ÐèÒªÃ÷È·µ÷Óà <function>oci_commit</function> À´Ìá½»ÊÂÎñ£¬»òÕß <function>oci_rollback</function> ÖÐÖ¹ÊÂÎñ¡£ </para> <para> &return.success; </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ociexecute</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_execute</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-fetch-all.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-fetch-all.xml +++ phpdoc-zh/reference/oci8/functions/oci-fetch-all.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-fetch-all"> <refnamediv> <refname>oci_fetch_all</refname> <refpurpose>»ñÈ¡½á¹ûÊý¾ÝµÄËùÓÐÐе½Ò»¸öÊý×é</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>int</type><methodname>oci_fetch_all</methodname> <methodparam><type>resource</type><parameter>statement</parameter></methodparam> <methodparam><type>array</type><parameter role="reference">output</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>skip</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>maxrows</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> <para> <function>oci_fetch_all</function> ´ÓÒ»¸ö½á¹ûÖлñÈ¡ËùÓеÄÐе½Ò»¸öÓû§¶¨ÒåµÄÊý×é¡£<function>oci_fetch_all</function> ·µ»Ø»ñÈ¡µÄÐÐÊý£¬³ö´íÔò·µ»Ø &false;¡£<parameter>skip</parameter> ÊÇ´Ó½á¹ûÖлñÈ¡Êý¾Ýʱ£¬×ʼºöÂÔµÄÐÐÊý£¨Ä¬ÈÏÖµÊÇ 0£¬¼´´ÓµÚÒ»ÐпªÊ¼£©¡£<parameter>maxrows</parameter> ÊÇÒª¶ÁÈ¡µÄÐÐÊý£¬´ÓµÚ <parameter>skip</parameter> ÐпªÊ¼£¨Ä¬ÈÏÖµÊÇ -1£¬¼´ËùÓÐÐУ©¡£ </para> &database.fetch-null; <para> <parameter>flags</parameter> ²ÎÊý¿ÉÒÔÊÇÏÂÁÐÖµµÄÈÎÒâ×éºÏ£º <simplelist> <member> <constant>OCI_FETCHSTATEMENT_BY_ROW</constant> </member> <member> <constant>OCI_FETCHSTATEMENT_BY_COLUMN</constant>£¨Ä¬ÈÏÖµ£© </member> <member> <constant>OCI_NUM</constant> </member> <member> <constant>OCI_ASSOC</constant> </member> </simplelist> </para> <para> <example> <title><function>oci_fetch_all</function> Àý×Ó</title> <programlisting role="php"> <![CDATA[ <?php /* oci_fetch_all example mbritton at verinet dot com (990624) */ $conn = oci_connect("scott", "tiger"); $stmt = oci_parse($conn, "select * from emp"); oci_execute($stmt); $nrows = oci_fetch_all($stmt, $results); if ($nrows > 0) { echo "<table border=\"1\">\n"; echo "<tr>\n"; foreach ($results as $key => $val) { echo "<th>$key</th>\n"; } echo "</tr>\n"; for ($i = 0; $i < $nrows; $i++) { echo "<tr>\n"; foreach ($results as $data) { echo "<td>$data[$i]</td>\n"; } echo "</tr>\n"; } echo "</table>\n"; } else { echo "No data found<br />\n"; } echo "$nrows Records Selected<br />\n"; oci_free_statement($stmt); oci_close($conn); ?> ]]> </programlisting> </example> </para> &oci.datatypes; <para> <function>oci_fetch_all</function> Èç¹û³ö´íÔò·µ»Ø &false;¡£ </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocifetchstatement</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_fetch_all</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-fetch.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-fetch.xml +++ phpdoc-zh/reference/oci8/functions/oci-fetch.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-fetch"> <refnamediv> <refname>oci_fetch</refname> <refpurpose>Fetches the next row into result-buffer</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>oci_fetch</methodname> <methodparam><type>resource</type><parameter>statement</parameter></methodparam> </methodsynopsis> <para> <function>oci_fetch</function> »ñÈ¡ÏÂÒ»ÐУ¨¶ÔÓÚ SELECT Óï¾ä£©µ½ÄÚ²¿½á¹û»º³åÇø¡£ </para> <para> &return.success; </para> &oci.datatypes; <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocifetch</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_fetch</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/ocidefinebyname.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml diff -u phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml:1.2 phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml:1.2 Thu Aug 18 00:41:28 2005 +++ phpdoc-zh/reference/oci8/functions/ocidefinebyname.xml Thu Sep 8 11:18:03 2005 @@ -1,69 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.9 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocidefinebyname"> - <refnamediv> - <refname>ocidefinebyname</refname> - <refpurpose> -ÔÚÒ»¸ö SELECT ÖÐʹÓÃÒ»¸ö PHP ±äÁ¿×÷Ϊ¶¨ÒåµÄ²½Öè - </refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocidefinebyname</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - <methodparam><type>string</type><parameter>column_name</parameter></methodparam> - <methodparam><type>mixed</type><parameter>&variable</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocidefinebyname</function> °ó¶¨ PHP µ½»ñÈ¡µÄ -SQL ÁС£ ÐèҪעÒâµÄÊÇ£¬Oracle ʹÓôóд×ÖĸµÄÁÐÃû£¬¶øÔÚÄãµÄ select ÖУ¬ -ÄãÒ»°ãʹÓÃСд×Öĸ¡£ - <function>ocidefinebyname</function> ÆÚÍû - <parameter>column_name</parameter> ÊÇ´óд×Öĸ¡£ -Èç¹ûÄãÔÚÄãµÄ select Óï¾äÖж¨ÒåÒ»¸ö²»´æÔڵıäÁ¿£¬½«Ã»ÓдíÎ󱻸ø³ö¡£ - </para> - <para> -Èç¹ûÄãÐèÒª¶¨ÒåÒ»¸ö³éÏóÊý¾ÝÀàÐÍ(LOB/ROWID/BFILE)£¬ -ÄãÊ×ÏÈÐèҪʹÓà <function>ocinewdescriptor</function> È¥·ÖÅä¡£ -²Î¼û - <function>ocibindbyname</function> º¯Êý¡£ - </para> - <example> - <title><function>ocidefinebyname</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -/* OCIDefineByName example - thies at thieso dot net (980219) */ - -$conn = OCILogon("scott", "tiger"); - -$stmt = OCIParse($conn, "select empno, ename from emp"); - -/* the define MUST be done BEFORE ociexecute! */ - -OCIDefineByName($stmt, "EMPNO", $empno); -OCIDefineByName($stmt, "ENAME", $ename); - -OCIExecute($stmt); - -while (OCIFetch($stmt)) { - echo "empno:" . $empno . "\n"; - echo "ename:" . $ename . "\n"; -} - -OCIFreeStatement($stmt); -OCILogoff($conn); -?> -]]> - </programlisting> - </example> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.15 Maintainer: dallas Status: ready --> +<refentry id="function.ocidefinebyname"> + <refnamediv> + <refname>ocidefinebyname</refname> + <refpurpose><function>oci_define_by_name</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_define_by_name</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/ocierror.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocierror.xml diff -u phpdoc-zh/reference/oci8/functions/ocierror.xml:1.2 phpdoc-zh/reference/oci8/functions/ocierror.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocierror.xml:1.2 Thu Aug 18 00:41:28 2005 +++ phpdoc-zh/reference/oci8/functions/ocierror.xml Thu Sep 8 11:18:03 2005 @@ -1,37 +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.ocierror"> - <refnamediv> - <refname>ocierror</refname> - <refpurpose>·µ»Ø stmt|conn|global µÄ×îºóµÄ´íÎó</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>array</type><methodname>ocierror</methodname> - <methodparam choice="opt"><type>resource</type><parameter>stmt|conn|global</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>ocierror</function> ·µ»ØËü·¢ÏÖµÄ×îºóµÄ´íÎó¡£ -Èç¹û¿ÉÑ¡²ÎÊý <parameter>stmt|conn|global</parameter> ûÓÐÌṩ£¬ -º¯Êý·µ»ØËüÓöµ½µÄ×îºóµÄ´íÎó¡£Èç¹ûûÓдíÎó·¢ÏÖ£¬ - <function>ocierror</function> ·µ»Ø - &false;.¡£<function>ocierror</function> ÓÃÒ»¸öÏà¹ØµÄÊý×é·µ»Ø´íÎó¡£ -ÔÚÕâ¸öÊý×éÖУ¬<literal>code</literal> ÊÇ oracle ´íÎó´úÂ룬 - <literal>message</literal> ÊÇ oracle µÄ´íÎó×Ö·û´®¡£ - </simpara> - <note> - <title>ÔÚ PHP 4.3 ÖÐ</title> - <simpara> - <literal>offset</literal> ºÍ <literal>sqltext</literal> Ò²°üÀ¨ÔÚ·µ»ØµÄÊý×éÖУ¬ -ÓÃÀ´Ö¸³ö´íÎó·¢ÉúµÄλÖÃÒÔ¼°Ôì³É´íÎóµÄÔʼµÄ SQL Îı¾¡£ - </simpara> - </note> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> +<refentry id="function.ocierror"> + <refnamediv> + <refname>ocierror</refname> + <refpurpose><function>oci_error</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_error</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/ociexecute.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/oci8/functions/ociexecute.xml diff -u phpdoc-zh/reference/oci8/functions/ociexecute.xml:1.4 phpdoc-zh/reference/oci8/functions/ociexecute.xml:1.5 --- phpdoc-zh/reference/oci8/functions/ociexecute.xml:1.4 Thu Aug 18 00:41:29 2005 +++ phpdoc-zh/reference/oci8/functions/ociexecute.xml Thu Sep 8 11:18:03 2005 @@ -1,32 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $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.ociexecute"> - <refnamediv> - <refname>ociexecute</refname> - <refpurpose>Ö´ÐÐÒ»ÌõÓï¾ä</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ociexecute</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> -<function>ociexecute</function> Ö´ÐÐÒ»Ìõ±»·ÖÎö¹ýµÄÓï¾ä¡£(²Î¼û -<function>ociparse</function>)¡£¿ÉÑ¡µÄ²ÎÊý -<parameter>mode</parameter> ÔÊÐí¶¨ÒåÖ´ÐÐģʽ (ĬÈÏÊÇ -OCI_COMMIT_ON_SUCCESS)¡£ Èç¹û²»ÐèÒª½«Óï¾ä×Ô¶¯Ìá½»£¬ÔòÐèÒª°Ñģʽ¶¨ÒåΪ -OCI_DEFAULT ¡£ - </para> - <para> - &return.success; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> +<refentry id="function.ociexecute"> + <refnamediv> + <refname>ociexecute</refname> + <refpurpose><function>oci_execute</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_execute</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/ocifetch.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocifetch.xml diff -u phpdoc-zh/reference/oci8/functions/ocifetch.xml:1.2 phpdoc-zh/reference/oci8/functions/ocifetch.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocifetch.xml:1.2 Thu Aug 18 00:41:29 2005 +++ phpdoc-zh/reference/oci8/functions/ocifetch.xml Thu Sep 8 11:18:03 2005 @@ -1,25 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $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.ocifetch"> - <refnamediv> - <refname>ocifetch</refname> - <refpurpose>»ñÈ¡ÏÂÒ»Ðе½½á¹û»º³åÇø</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocifetch</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocifetch</function> »ñÈ¡SELECT Óï¾äµÄÏÂÒ»Ðе½ÄÚ²¿½á¹û»º³åÇø¡£ -&return.success; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> +<refentry id="function.ocifetch"> + <refnamediv> + <refname>ocifetch</refname> + <refpurpose><function>oci_fetch</function> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_fetch</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/ocifetchinto.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocifetchinto.xml diff -u phpdoc-zh/reference/oci8/functions/ocifetchinto.xml:1.2 phpdoc-zh/reference/oci8/functions/ocifetchinto.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocifetchinto.xml:1.2 Thu Aug 18 00:41:30 2005 +++ phpdoc-zh/reference/oci8/functions/ocifetchinto.xml Thu Sep 8 11:18:03 2005 @@ -1,52 +1,57 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.9 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocifetchinto"> - <refnamediv> - <refname>ocifetchinto</refname> - <refpurpose>»ñÈ¡ÏÂÒ»Ðе½Ò»¸öÊý×é</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>int</type><methodname>ocifetchinto</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - <methodparam><type>array</type><parameter>&result</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocifetchinto</function> »ñÈ¡ SELECT µÄÏÂÒ»Ðе½ - <parameter>result</parameter> Êý×é¡£ - <function>ocifetchinto</function> ½«¸²¸Ç <parameter>result</parameter> -ÒÔǰµÄÄÚÈÝ¡£ÔÚĬÈÏÇé¿öÏ£¬ - <parameter>result</parameter> ½«º¬ÓÐËùÓÐ·Ç &null; ÁеÄÊý×é¡£¸ÃÊý×é´Ó 0 ¿ªÊ¼¼ÆÊý¡£ - </para> - <para> - <parameter>mode</parameter> ²ÎÊýÔÊÐíÄã¸Ä±äĬÈϵÄÐÐΪ¡£ -¿ÉÒÔ¼òµ¥µÄ½«±êÖ¾Ïà¼ÓÀ´Ê¹Óöà¸ö±êÖ¾(ÁÐÈ磺 -OCI_ASSOC+OCI_RETURN_NULLS)¡£ -±êÖ¾ÁбíÈçÏ£º - <simplelist> - <member> - <constant>OCI_ASSOC</constant> ·µ»ØÒ»¸öÏà¹ØÊý×é¡£ - </member> - <member> - <constant>OCI_NUM</constant> ·µ»ØÒ»¸ö´Ó 0 ¿ªÊ¼µÄÊý×ÖÊý×é¡£(ĬÈÏÇé¿ö) - </member> - <member> - <constant>OCI_RETURN_NULLS</constant> ·µ»Ø¿ÕÁС£ - </member> - <member> - <constant>OCI_RETURN_LOBS</constant> ·µ»Ø LOB µÄÖµ¶ø²»ÊÇËüµÄÃèÊö·û¡£ - </member> - </simplelist> - </para> - <para> - <example> - <title>Ò»¸ö¼òµ¥µÄ <function>ocifetchinto</function> Àý×Ó</title> - <programlisting role="php"> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.14 Maintainer: yincheng Status: ready --> +<!-- CREDITS: dallas --> +<refentry id="function.ocifetchinto"> + <refnamediv> + <refname>ocifetchinto</refname> + <refpurpose>»ñÈ¡ÏÂÒ»Ðе½Ò»¸öÊý×é</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>ocifetchinto</methodname> + <methodparam><type>resource</type><parameter>statement</parameter></methodparam> + <methodparam><type>array</type><parameter role="reference">result</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> + </methodsynopsis> + <note> + <para> + ±¾º¯ÊýÒÑ·ÏÆú¡£½¨ÒéʹÓãº<function>oci_fetch_array</function>£¬<function>oci_fetch_object</function>£¬<function>oci_fetch_assoc</function> + ÒÔ¼° <function>oci_fetch_row</function>¡£ + </para> + </note> + <para> + <function>ocifetchinto</function> »ñÈ¡ SELECT µÄÏÂÒ»Ðе½ + <parameter>result</parameter> Êý×é¡£<function>ocifetchinto</function> + ½«¸²¸Ç <parameter>result</parameter> + ÒÔǰµÄÄÚÈÝ¡£ÔÚĬÈÏÇé¿öÏ£¬<parameter>result</parameter> + ÊÇÒ»¸öË÷Òý´Ó 0 ¿ªÊ¼µÄÊý×飬º¬ÓÐËùÓÐ·Ç &null; µÄÁС£ + </para> + <para> + <parameter>mode</parameter> + ²ÎÊýÔÊÐí¸Ä±äĬÈϵÄÐÐΪ¡£¿ÉÒÔ¼òµ¥µÄ½«±êÖ¾Ïà¼ÓÀ´Ê¹Óöà¸ö±êÖ¾£¨ÀýÈç + OCI_ASSOC+OCI_RETURN_NULLS£©¡£ÆäÓÐЧֵΪ£º + <simplelist> + <member> + <constant>OCI_ASSOC</constant> - ·µ»ØÒ»¸ö¹ØÁªÊý×é¡£ + </member> + <member> + <constant>OCI_NUM</constant> - ·µ»ØÒ»¸öÊý×Öϱê´Ó 0 ¿ªÊ¼µÄÊý×飨ĬÈÏÇé¿ö£©¡£ + </member> + <member> + <constant>OCI_RETURN_NULLS</constant> - ¶ÔÓÚ¿ÕÁзµ»Ø &null; Öµ¡£ + </member> + <member> + <constant>OCI_RETURN_LOBS</constant> - ·µ»Ø LOB µÄÖµ¶ø²»ÊÇËüµÄÃèÊö·û¡£ + </member> + </simplelist> + </para> + <para> + <example> + <title><function>ocifetchinto</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $conn = ocilogon("username", "password"); @@ -61,15 +66,16 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - ²Î¼û <function>ocifetch</function> ºÍ - <function>ociexecute</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + ²Î¼û + <function>oci_fetch_array</function>£¬<function>oci_fetch_object</function>£¬<function>oci_fetch_assoc</function>£¬<function>oci_fetch_row</function>£¬<function>oci_fetch</function> + ºÍ <function>oci_execute</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml diff -u phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml:1.2 phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml:1.3 --- phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml:1.2 Thu Aug 18 00:41:30 2005 +++ phpdoc-zh/reference/oci8/functions/ocifetchstatement.xml Thu Sep 8 11:18:03 2005 @@ -1,97 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.10 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> - <refentry id="function.ocifetchstatement"> - <refnamediv> - <refname>ocifetchstatement</refname> - <refpurpose>»ñÈ¡½á¹ûÊý¾ÝµÄËùÓÐÐе½Ò»¸öÊý×é</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>int</type><methodname>ocifetchstatement</methodname> - <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> - <methodparam><type>array</type><parameter>&output</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>skip</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>maxrows</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> - </methodsynopsis> - <para> - <function>ocifetchstatement</function> ´ÓÒ»¸ö½á¹ûÖлñÈ¡ËùÓеÄÐе½Ò»¸ö -Óû§¶¨ÒåµÄÊý×é¡£ - <function>ocifetchstatement</function> ·µ»Ø»ñÈ¡µÄÐÐÊý¡£ - <parameter>skip</parameter> ÊÇ´Ó½á¹ûÖлñÈ¡Êý¾Ýʱ£¬×ʼºöÂÔµÄÐÐÊý -(¸Ã²ÎÊýµÄĬÈÏÖµÊÇ 0£¬¼´´ÓµÚÒ»ÐпªÊ¼)¡£ -<parameter>maxrows</parameter> ÊǶÁÈ¡µÄÐÐÊý£¬´ÓµÚ <parameter>skip</parameter> ÐпªÊ¼ -(ĬÈÏÖµÊÇ -1£¬¼´ËùÓÐÐÐ)¡£ - </para> - <para> - <parameter>flags</parameter> ±íʾ´æÔÚµÄÑ¡Ï -¿ÉÒÔÊÇÏÂÁÐÈÎÒ»µÄ×éºÏ£º - <simplelist> - <member> - <constant>OCI_FETCHSTATEMENT_BY_ROW</constant> - </member> - <member> - <constant>OCI_FETCHSTATEMENT_BY_COLUMN</constant> (ĬÈÏÖµ) - </member> - <member> - <constant>OCI_NUM</constant> - </member> - <member> - <constant>OCI_ASSOC</constant> - </member> - </simplelist> - </para> - <para> - <example> - <title><function>ocifetchstatement</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -/* OCIFetchStatement example mbritton at verinet dot com (990624) */ +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.16 Maintainer: dallas Status: ready --> +<refentry id="function.ocifetchistatement"> + <refnamediv> + <refname>ocifetchistatement</refname> + <refpurpose><function>oci_fetch_all</function> µÄ&Alias;</refpurpose> + </refnamediv> -$conn = OCILogon("scott", "tiger"); - -$stmt = OCIParse($conn, "select * from emp"); - -OCIExecute($stmt); - -$nrows = OCIFetchStatement($stmt, $results); -if ($nrows > 0) { - echo "<table border=\"1\">\n"; - echo "<tr>\n"; - while (list($key, $val) = each($results)) { - echo "<th>$key</th>\n"; - } - echo "</tr>\n"; - - for ($i = 0; $i < $nrows; $i++) { - reset($results); - echo "<tr>\n"; - while ($column = each($results)) { - $data = $column['value']; - echo "<td>$data[$i]</td>\n"; - } - echo "</tr>\n"; - } - echo "</table>\n"; -} else { - echo "No data found<br />\n"; -} -echo "$nrows Records Selected<br />\n"; - -OCIFreeStatement($stmt); -OCILogoff($conn); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<function>oci_fetch_all</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/ocifreecollection.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/oci8/functions/ocifreecollection.xml diff -u phpdoc-zh/reference/oci8/functions/ocifreecollection.xml:1.4 phpdoc-zh/reference/oci8/functions/ocifreecollection.xml:1.5 --- phpdoc-zh/reference/oci8/functions/ocifreecollection.xml:1.4 Thu Aug 18 00:41:30 2005 +++ phpdoc-zh/reference/oci8/functions/ocifreecollection.xml Thu Sep 8 11:18:03 2005 @@ -1,24 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready --> -<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> - <refentry id="function.ocifreecollection"> - <refnamediv> - <refname>ocifreecollection</refname> - <refpurpose>¸Ãº¯ÊýĿǰÔÝʱûÓвο¼Îĵµ</refpurpose> - </refnamediv> - <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>ocifreecollection</methodname> - <methodparam><type>object</type><parameter>lob</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.11 Maintainer: yincheng Status: ready --> +<refentry id="function.ocifreecollection"> + <refnamediv> + <refname>ocifreecollection</refname> + <refpurpose><xref linkend="function.oci-collection-free" /> µÄ&Alias;</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias;<xref linkend="function.oci-collection-free" />¡£ + </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-Collection-free.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/OCI-Collection-free.xml +++ phpdoc-zh/reference/oci8/functions/OCI-Collection-free.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <refentry id="function.oci-collection-free"> <refnamediv> <refname>OCI-Collection->free</refname> <refpurpose>ÊͷŹØÁªÓÚ collection µÄ¶ÔÏóµÄ×ÊÔ´</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>OCI-Collection</classname></ooclass> <methodsynopsis> <type>bool</type><methodname>free</methodname> <void /> </methodsynopsis> </classsynopsis> <para> ÊͷŹØÁªÓÚ collection µÄ¶ÔÏóµÄ×ÊÔ´¡£ </para> <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.oci-new-collection" /></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-define-by-name.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-define-by-name.xml +++ phpdoc-zh/reference/oci8/functions/oci-define-by-name.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-define-by-name"> <refnamediv> <refname>oci_define_by_name</refname> <refpurpose>ÔÚ SELECT ÖÐʹÓà PHP ±äÁ¿×÷Ϊ¶¨ÒåµÄ²½Öè</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>oci_define_by_name</methodname> <methodparam><type>resource</type><parameter>statement</parameter></methodparam> <methodparam><type>string</type><parameter>column_name</parameter></methodparam> <methodparam><type>mixed</type><parameter role="reference">variable</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> <function>oci_define_by_name</function> °ó¶¨ PHP µ½»ñÈ¡µÄ SQL ÁС£ ÐèҪעÒâµÄÊÇ£¬Oracle ʹÓôóд×ÖĸµÄÁÐÃû£¬¶øÓû§ÔÚ select ÖÐÒ²¿ÉÒÔÓÃСд×Öĸ¡£<function>oci_define_by_name</function> ÆÚÍû <parameter>column_name</parameter> ÊÇ´óд×Öĸ¡£Èç¹û¶¨ÒåÒ»¸ö±äÁ¿²»´æÔÚÓÚ select Óï¾äÖУ¬½«Ã»ÓдíÎ󱻸ø³ö¡£ </para> <para> Èç¹ûÐèÒª¶¨ÒåÒ»¸ö³éÏóÊý¾ÝÀàÐÍ£¨LOB/ROWID/BFILE£©£¬±ØÐëÏÈÓà <function>oci_new_descriptor</function> ·ÖÅä¿Õ¼ä¡£²Î¼û <function>oci_bind_by_name</function> º¯Êý¡£ </para> <example> <title><function>oci_define_by_name</function> Àý×Ó</title> <programlisting role="php"> <![CDATA[ <?php /* oci_define_by_name example - thies at thieso dot net (980219) */ $conn = oci_connect("scott", "tiger"); $stmt = oci_parse($conn, "SELECT empno, ename FROM emp"); /* the define MUST be done BEFORE oci_execute! */ oci_define_by_name($stmt, "EMPNO", $empno); oci_define_by_name($stmt, "ENAME", $ename); oci_execute($stmt); while (oci_fetch($stmt)) { echo "empno:" . $empno . "\n"; echo "ename:" . $ename . "\n"; } oci_free_statement($stmt); oci_close($conn); ?> ]]> </programlisting> </example> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocidefinebyname</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_define_by_name</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-error.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-error.xml +++ phpdoc-zh/reference/oci8/functions/oci-error.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-error"> <refnamediv> <refname>oci_error</refname> <refpurpose>·µ»ØÉÏÒ»¸ö´íÎó</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>array</type><methodname>oci_error</methodname> <methodparam choice="opt"><type>resource</type><parameter>source</parameter></methodparam> </methodsynopsis> <para> ¶ÔÓÚ´ó¶àÊý´íÎ󣬲ÎÊýÊÇ×îÊʺϵÄ×ÊÔ´¾ä±ú¡£¶ÔÓÚ <function>oci_connect</function>£¬<function>oci_new_connect</function> »ò <function>oci_pconnect</function> µÄÁ¬½Ó´íÎ󣬲»Òª´«µÝ²ÎÊý¡£Èç¹ûûÓз¢ÏÖ´íÎó£¬<function>oci_error</function> ·µ»Ø &false;¡£<function>oci_error</function> ÒÔÒ»¸ö¹ØÁªÊý×é·µ»Ø´íÎó¡£ÔÚ´ËÊý×éÖУ¬<literal>code</literal> ÊÇ oracle ´íÎó´úÂë¶ø <literal>message</literal> ÊÇ oracle µÄ´íÎó×Ö·û´®¡£ </para> <note> <title>×Ô PHP 4.3 Æð</title> <para> <literal>offset</literal> ºÍ <literal>sqltext</literal> Ò²°üÀ¨ÔÚ·µ»ØµÄÊý×éÖУ¬ÓÃÀ´Ö¸³ö´íÎó·¢ÉúµÄλÖÃÒÔ¼°Ôì³É´íÎóµÄÔʼµÄ SQL Îı¾¡£ </para> </note> <para> <example> <title>Á¬½Ó´íÎóºóÏÔʾ Oracle ´íÎóÐÅÏ¢</title> <programlisting role="php"> <![CDATA[ $conn = @oci_connect("scott", "tiger", "mydb"); if (!$conn) { $e = oci_error(); // For oci_connect errors pass no handle echo htmlentities($e['message']); } ]]> </programlisting> </example> </para> <para> <example> <title>Óï·¨½âÎö´íÎóºóÏÔʾ Oracle ´íÎóÐÅÏ¢</title> <programlisting role="php"> <![CDATA[ $stmt = @oci_parse($conn, "select ' from dual"); // note mismatched quote if (!$stmt) { $e = oci_error($conn); // For oci_parse errors pass the connection handle echo htmlentities($e['message']); } ]]> </programlisting> </example> </para> <para> <example> <title>Ö´ÐдíÎóºóÏÔʾ Oracle ´íÎóÐÅÏ¢ºÍ³ö´íµÄÓï¾ä</title> <programlisting role="php"> <![CDATA[ $r = oci_execute($stmt); if (!$r) { $e = oci_error($stmt); // For oci_execute errors pass the statementhandle echo htmlentities($e['message']); echo "<pre>"; echo htmlentities($e['sqltext']); printf("\n%".($e['offset']+1)."s", "^"); echo "</pre>"; } ]]> </programlisting> </example> </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocierror</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_error</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-execute.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-execute.xml +++ phpdoc-zh/reference/oci8/functions/oci-execute.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-execute"> <refnamediv> <refname>oci_execute</refname> <refpurpose>Ö´ÐÐÒ»ÌõÓï¾ä</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>oci_execute</methodname> <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> <function>oci_execute</function> Ö´ÐÐÒ»Ìõ֮ǰ±»½âÎö¹ýµÄÓï¾ä£¨¼û <function>oci_parse</function>£©¡£¿ÉÑ¡²ÎÊý <parameter>mode</parameter> ÔÊÐí¶¨ÒåÖ´ÐÐģʽ£¨Ä¬ÈÏÊÇ <constant>OCI_COMMIT_ON_SUCCESS</constant>£©¡£Èç¹û²»ÐèÒª½«Óï¾ä×Ô¶¯Ìá½»£¬ÔòÐèÒª°Ñ <parameter>mode</parameter> ÉèΪ <constant>OCI_DEFAULT</constant>¡£ </para> <para> Óà <constant>OCI_DEFAULT</constant> ģʽʱ£¬½«½¨Á¢Ò»¸öÊÂÎñ¡£ÊÂÎñ»áÔڹرÕÁ¬½Ó»ò½Å±¾½áÊøÊ±£¨¿´ÄĸöÏÈ£©×Ô¶¯»Ø¾í¡£ÐèÒªÃ÷È·µ÷Óà <function>oci_commit</function> À´Ìá½»ÊÂÎñ£¬»òÕß <function>oci_rollback</function> ÖÐÖ¹ÊÂÎñ¡£ </para> <para> &return.success; </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ociexecute</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_execute</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-fetch-all.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-fetch-all.xml +++ phpdoc-zh/reference/oci8/functions/oci-fetch-all.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: yincheng Status: ready --> <!-- CREDITS: dallas --> <refentry id="function.oci-fetch-all"> <refnamediv> <refname>oci_fetch_all</refname> <refpurpose>»ñÈ¡½á¹ûÊý¾ÝµÄËùÓÐÐе½Ò»¸öÊý×é</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>int</type><methodname>oci_fetch_all</methodname> <methodparam><type>resource</type><parameter>statement</parameter></methodparam> <methodparam><type>array</type><parameter role="reference">output</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>skip</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>maxrows</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> <para> <function>oci_fetch_all</function> ´ÓÒ»¸ö½á¹ûÖлñÈ¡ËùÓеÄÐе½Ò»¸öÓû§¶¨ÒåµÄÊý×é¡£<function>oci_fetch_all</function> ·µ»Ø»ñÈ¡µÄÐÐÊý£¬³ö´íÔò·µ»Ø &false;¡£<parameter>skip</parameter> ÊÇ´Ó½á¹ûÖлñÈ¡Êý¾Ýʱ£¬×ʼºöÂÔµÄÐÐÊý£¨Ä¬ÈÏÖµÊÇ 0£¬¼´´ÓµÚÒ»ÐпªÊ¼£©¡£<parameter>maxrows</parameter> ÊÇÒª¶ÁÈ¡µÄÐÐÊý£¬´ÓµÚ <parameter>skip</parameter> ÐпªÊ¼£¨Ä¬ÈÏÖµÊÇ -1£¬¼´ËùÓÐÐУ©¡£ </para> &database.fetch-null; <para> <parameter>flags</parameter> ²ÎÊý¿ÉÒÔÊÇÏÂÁÐÖµµÄÈÎÒâ×éºÏ£º <simplelist> <member> <constant>OCI_FETCHSTATEMENT_BY_ROW</constant> </member> <member> <constant>OCI_FETCHSTATEMENT_BY_COLUMN</constant>£¨Ä¬ÈÏÖµ£© </member> <member> <constant>OCI_NUM</constant> </member> <member> <constant>OCI_ASSOC</constant> </member> </simplelist> </para> <para> <example> <title><function>oci_fetch_all</function> Àý×Ó</title> <programlisting role="php"> <![CDATA[ <?php /* oci_fetch_all example mbritton at verinet dot com (990624) */ $conn = oci_connect("scott", "tiger"); $stmt = oci_parse($conn, "select * from emp"); oci_execute($stmt); $nrows = oci_fetch_all($stmt, $results); if ($nrows > 0) { echo "<table border=\"1\">\n"; echo "<tr>\n"; foreach ($results as $key => $val) { echo "<th>$key</th>\n"; } echo "</tr>\n"; for ($i = 0; $i < $nrows; $i++) { echo "<tr>\n"; foreach ($results as $data) { echo "<td>$data[$i]</td>\n"; } echo "</tr>\n"; } echo "</table>\n"; } else { echo "No data found<br />\n"; } echo "$nrows Records Selected<br />\n"; oci_free_statement($stmt); oci_close($conn); ?> ]]> </programlisting> </example> </para> &oci.datatypes; <para> <function>oci_fetch_all</function> Èç¹û³ö´íÔò·µ»Ø &false;¡£ </para> <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocifetchstatement</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_fetch_all</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-fetch.xml?r=1.1&p=1 Index: phpdoc-zh/reference/oci8/functions/oci-fetch.xml +++ phpdoc-zh/reference/oci8/functions/oci-fetch.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-fetch"> <refnamediv> <refname>oci_fetch</refname> <refpurpose>Fetches the next row into result-buffer</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>oci_fetch</methodname> <methodparam><type>resource</type><parameter>statement</parameter></methodparam> </methodsynopsis> <para> <function>oci_fetch</function> »ñÈ¡ÏÂÒ»ÐУ¨¶ÔÓÚ SELECT Óï¾ä£©µ½ÄÚ²¿½á¹û»º³åÇø¡£ </para> <para> &return.success; </para> &oci.datatypes; <note> <para> ÔÚ PHP 5.0.0 ֮ǰµÄ°æ±¾±ØÐëʹÓà <function>ocifetch</function> Ìæ´ú±¾º¯Êý¡£¸Ãº¯ÊýÃûÈÔÈ»¿ÉÓã¬ÎªÏòϼæÈÝ×÷Ϊ <function>oci_fetch</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 -->