cvs: phpdoc /en/reference/oci8/functions ocibindbyname.xml ocicancel.xml ocicloselob.xml ocicollappend.xml ocicollassign.xml ocicollassignelem.xml
ocicollgetelem.xml ocicollmax.xml ocicollsize.xml ocicolltrim.xml ocicolumnisnull.xml ocicolumnname.xml ocicolumnprecision.xml ocicolumnscale.xml
ocicolumnsize.xml ocicolumntype.xml ocicolumntyperaw.xml ocicommit.xml ocidefinebyname.xml ocierror.xml ociexecute.xml ocifetch.xml
ocifreecollection.xml ocifreecursor.xml ocifreedesc.xml ocifreestatement.xml ociinternaldebug.xml ociloadlob.xml ocilogoff.xml ocilogon.xml
ocinewcollection.xml ocinewcursor.xml ocinewdescriptor.xml ocinlogon.xml ocinumcols.xml ociparse.xml ociplogon.xml ociresult.xml ocirollback.xml
ocirowcount.xml ocisavelob.xml ocisavelobfile.xml ociserverversion.xml ocisetprefetch.xml ocistatementtype.xml ociwritelobtofile.xml
ociwritetemporarylob.xml

From: Date: Thu, 15 Apr 2004 07:57:53 +0000
Subject: cvs: phpdoc /en/reference/oci8/functions ocibindbyname.xml ocicancel.xml ocicloselob.xml ocicollappend.xml ocicollassign.xml ocicollassignelem.xml
ocicollgetelem.xml ocicollmax.xml ocicollsize.xml ocicolltrim.xml ocicolumnisnull.xml ocicolumnname.xml ocicolumnprecision.xml ocicolumnscale.xml
ocicolumnsize.xml ocicolumntype.xml ocicolumntyperaw.xml ocicommit.xml ocidefinebyname.xml ocierror.xml ociexecute.xml ocifetch.xml
ocifreecollection.xml ocifreecursor.xml ocifreedesc.xml ocifreestatement.xml ociinternaldebug.xml ociloadlob.xml ocilogoff.xml ocilogon.xml
ocinewcollection.xml ocinewcursor.xml ocinewdescriptor.xml ocinlogon.xml ocinumcols.xml ociparse.xml ociplogon.xml ociresult.xml ocirollback.xml
ocirowcount.xml ocisavelob.xml ocisavelobfile.xml ociserverversion.xml ocisetprefetch.xml ocistatementtype.xml ociwritelobtofile.xml
ociwritetemporarylob.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360097@lists.php.net to get a copy of this message
tony2001 Thu Apr 15 03:57:53 2004 EDT Modified files: /phpdoc/en/reference/oci8/functions ocibindbyname.xml ocicancel.xml ocicloselob.xml ocicollappend.xml ocicollassign.xml ocicollassignelem.xml ocicollgetelem.xml ocicollmax.xml ocicollsize.xml ocicolltrim.xml ocicolumnisnull.xml ocicolumnname.xml ocicolumnprecision.xml ocicolumnscale.xml ocicolumnsize.xml ocicolumntype.xml ocicolumntyperaw.xml ocicommit.xml ocidefinebyname.xml ocierror.xml ociexecute.xml ocifetch.xml ocifreecollection.xml ocifreecursor.xml ocifreedesc.xml ocifreestatement.xml ociinternaldebug.xml ociloadlob.xml ocilogoff.xml ocilogon.xml ocinewcollection.xml ocinewcursor.xml ocinewdescriptor.xml ocinlogon.xml ocinumcols.xml ociparse.xml ociplogon.xml ociresult.xml ocirollback.xml ocirowcount.xml ocisavelob.xml ocisavelobfile.xml ociserverversion.xml ocisetprefetch.xml ocistatementtype.xml ociwritelobtofile.xml ociwritetemporarylob.xml Log: restore previously deleted files with 'See also' removed and note about new function names added

http://cvs.php.net/diff.php/phpdoc/en/reference/oci8/functions/ocibindbyname.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/oci8/functions/ocibindbyname.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocibindbyname.xml:1.13 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocibindbyname.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.13 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocibindbyname"> + <refnamediv> + <refname>ocibindbyname</refname> + <refpurpose> + Bind a PHP variable to an Oracle Placeholder + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocibindbyname</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>string</type><parameter>ph_name</parameter></methodparam> + <methodparam><type>mixed</type><parameter>&amp;variable</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>maxlength</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocibindbyname</function> binds the PHP variable + <parameter>variable</parameter> to the Oracle placeholder + <parameter>ph_name</parameter>. Whether it will be used for + input or output will be determined run-time, and the necessary + storage space will be allocated. The + <parameter>length</parameter> parameter sets the maximum length + for the bind. If you set <parameter>length</parameter> to -1 + <function>ocibindbyname</function> will use the current length of + <parameter>variable</parameter> to set the maximum length. + </para> + <para> + If you need to bind an abstract Datatype (LOB/ROWID/BFILE) you + need to allocate it first using + <function>ocinewdescriptor</function> function. The + <parameter>length</parameter> is not used for abstract Datatypes + and should be set to -1. The <parameter>type</parameter> variable + tells oracle, what kind of descriptor we want to use. Possible + values are: OCI_B_FILE (Binary-File), OCI_B_CFILE + (Character-File), OCI_B_CLOB (Character-LOB), OCI_B_BLOB + (Binary-LOB) and OCI_B_ROWID (ROWID). + </para> + <para> + <example> + <title><function>ocibindbyname</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* OCIBindByPos example thies at thieso dot net (980221) + inserts 3 records into emp, and uses the ROWID for updating the + records just after the insert. +*/ + +$conn = OCILogon("scott", "tiger"); + +$stmt = OCIParse($conn, "insert into emp (empno, ename) " . + "values (:empno,:ename) " . + "returning ROWID into :rid"); + +$data = array(1111 => "Larry", 2222 => "Bill", 3333 => "Jim"); + +$rowid = OCINewDescriptor($conn, OCI_D_ROWID); + +OCIBindByName($stmt, ":empno", $empno, 32); +OCIBindByName($stmt, ":ename", $ename, 32); +OCIBindByName($stmt, ":rid", $rowid, -1, OCI_B_ROWID); + +$update = OCIParse($conn, "update emp set sal = :sal where ROWID = :rid"); +OCIBindByName($update, ":rid", $rowid, -1, OCI_B_ROWID); +OCIBindByName($update, ":sal", $sal, 32); + +$sal = 10000; + +while (list($empno, $ename) = each($data)) { + OCIExecute($stmt); + OCIExecute($update); +} + +$rowid->free(); + +OCIFreeStatement($update); +OCIFreeStatement($stmt); + +$stmt = OCIParse($conn, "select * from emp where empno in (1111,2222,3333)"); +OCIExecute($stmt); +while (OCIFetchInto($stmt, &$arr, OCI_ASSOC)) { + var_dump($arr); +} +OCIFreeStatement($stmt); + +/* delete our "junk" from the emp table.... */ +$stmt = OCIParse($conn, "delete from emp where empno in (1111,2222,3333)"); +OCIExecute($stmt); +OCIFreeStatement($stmt); + +OCILogoff($conn); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_bind_by_name</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocibindbyname</function> can also be used. + This is deprecated, however. + </para> + </note> + <warning> + <para> + It is a bad idea to use magic quotes and + <function>ocibindbyname</function> simultaneously as no quoting + is needed on quoted variables and any quotes magically applied + will be written into your database as + <function>ocibindbyname</function> is not able to distinguish + magically added quotings from those added by intention. + </para> + </warning> + </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/en/reference/oci8/functions/ocicancel.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicancel.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicancel.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicancel.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.28 --> + <refentry id="function.ocicancel"> + <refnamediv> + <refname>ocicancel</refname> + <refpurpose>Cancel reading from cursor</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocicancel</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + </methodsynopsis> + <para> + If you do not want read more data from a cursor, then call + <function>ocicancel</function>. + </para> + <note> + <para> + This function was renamed to <function>oci_cancel</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicancel</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicloselob.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/oci8/functions/ocicloselob.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicloselob.xml:1.3 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicloselob.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicloselob"> + <refnamediv> + <refname>ocicloselob</refname> + <refpurpose>Closes lob descriptor</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocicloselob</methodname> + <void /> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_lob_close</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicloselob</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicollappend.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicollappend.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicollappend.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicollappend.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicollappend"> + <refnamediv> + <refname>ocicollappend</refname> + <refpurpose>Append an object to the collection</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocicollappend</methodname> + <methodparam><type>string</type><parameter>value</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_collection_append</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicollappend</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicollassign.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicollassign.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicollassign.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicollassign.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.39 --> + <refentry id="function.ocicollassign"> + <refnamediv> + <refname>ocicollassign</refname> + <refpurpose>Assign a collection from another existing collection</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocicollassign</methodname> + <methodparam><type>object</type><parameter>from</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_collection_assign</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicollassign</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicollassignelem.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicollassignelem.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicollassignelem.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicollassignelem.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicollassignelem"> + <refnamediv> + <refname>ocicollassignelem</refname> + <refpurpose>Assign element val to collection at index ndx</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocicollassignelem</methodname> + <methodparam><type>int</type><parameter>ndx</parameter></methodparam> + <methodparam><type>string</type><parameter>val</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_collection_element_assign</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicollassignelem</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicollgetelem.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ocicollgetelem.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicollgetelem.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicollgetelem.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicollgetelem"> + <refnamediv> + <refname>ocicollgetelem</refname> + <refpurpose>Retrieve the value at collection index ndx</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>ocicollgetelem</methodname> + <methodparam><type>int</type><parameter>ndx</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_collection_element_get</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicollgetelem</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicollmax.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicollmax.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicollmax.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicollmax.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicollmax"> + <refnamediv> + <refname>ocicollmax</refname> + <refpurpose> + Return the max value of a collection. + For a varray this is the maximum length of the array + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>ocicollmax</methodname> + <void /> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_collection_max</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicollmax</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicollsize.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicollsize.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicollsize.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicollsize.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicollsize"> + <refnamediv> + <refname>ocicollsize</refname> + <refpurpose>Return the size of a collection</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>ocicollsize</methodname> + <void /> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_collection_size</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicollsize</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicolltrim.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicolltrim.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicolltrim.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicolltrim.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicolltrim"> + <refnamediv> + <refname>ocicolltrim</refname> + <refpurpose>Trim num elements from the end of a collection</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocicolltrim</methodname> + <methodparam><type>int</type><parameter>num</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_collection_trim</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicolltrim</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicolumnisnull.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ocicolumnisnull.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicolumnisnull.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicolumnisnull.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocicolumnisnull"> + <refnamediv> + <refname>ocicolumnisnull</refname> + <refpurpose>Test whether a result column is &null;</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocicolumnisnull</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>mixed</type><parameter>col</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocicolumnisnull</function> returns &true; if the returned + column <parameter>column</parameter> in the result from the + statement <parameter>stmt</parameter> is &null;. You can either use + the column-number (1-Based) or the column-name, in uppercase, for the + <parameter>col</parameter> parameter. + </para> + <note> + <para> + This function was renamed to <function>oci_field_is_null</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicolumnisnull</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicolumnname.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicolumnname.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicolumnname.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicolumnname.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.15 --> + <refentry id="function.ocicolumnname"> + <refnamediv> + <refname>ocicolumnname</refname> + <refpurpose>Returns the name of a column</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>ocicolumnname</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>int</type><parameter>col</parameter></methodparam> + </methodsynopsis> + <simpara> + <function>ocicolumnname</function> returns the name of the column + corresponding to the column number (1-based) that is passed in. + </simpara> + <para> + <example> + <title><function>ocicolumnname</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php + $conn = OCILogon("scott", "tiger"); + $stmt = OCIParse($conn, "select * from emp"); + OCIExecute($stmt); + echo "<table border=\"1\">"; + echo "<tr>"; + echo "<th>Name</th>"; + echo "<th>Type</th>"; + echo "<th>Length</th>"; + echo "</tr>"; + $ncols = OCINumCols($stmt); + for ($i = 1; $i <= $ncols; $i++) { + $column_name = OCIColumnName($stmt, $i); + $column_type = OCIColumnType($stmt, $i); + $column_size = OCIColumnSize($stmt, $i); + echo "<tr>"; + echo "<td>$column_name</td>"; + echo "<td>$column_type</td>"; + echo "<td>$column_size</td>"; + echo "</tr>"; + } + echo "</table>\n"; + OCIFreeStatement($stmt); + OCILogoff($conn); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_field_name</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicolumnname</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicolumnprecision.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ocicolumnprecision.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicolumnprecision.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicolumnprecision.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicolumnprecision"> + <refnamediv> + <refname>ocicolumnprecision</refname> + <refpurpose>Tell the precision of a column</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>ocicolumnprecision</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>int</type><parameter>col</parameter></methodparam> + </methodsynopsis> + <para> + Returns precision of the field with <parameter>col</parameter> index + (1-based). + </para> + <para> + For FLOAT columns precision is nonzero and scale is -127. + If precision is 0, then columnt is NUMBER. Else it's + NUMBER(precision, scale). + </para> + <note> + <para> + This function was renamed to <function>oci_field_precision</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicolumnprecision</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicolumnscale.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ocicolumnscale.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicolumnscale.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicolumnscale.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicolumnscale"> + <refnamediv> + <refname>ocicolumnscale</refname> + <refpurpose>Tell the scale of a column</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>ocicolumnscale</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>int</type><parameter>col</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_field_scale</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicolumnscale</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicolumnsize.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocicolumnsize.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicolumnsize.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicolumnsize.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.15 --> + <refentry id="function.ocicolumnsize"> + <refnamediv> + <refname>ocicolumnsize</refname> + <refpurpose>Return result column size</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>ocicolumnsize</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>mixed</type><parameter>column</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocicolumnsize</function> returns the size of the column + as given by Oracle. You can either use + the column-number (1-Based) or the column-name for the + <parameter>column</parameter> parameter. + </para> + <para> + <example> + <title><function>ocicolumnsize</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php + $conn = OCILogon("scott", "tiger"); + $stmt = OCIParse($conn, "select * from emp"); + OCIExecute($stmt); + echo "<table border=\"1\">"; + echo "<tr>"; + echo "<th>Name</th>"; + echo "<th>Type</th>"; + echo "<th>Length</th>"; + echo "</tr>"; + $ncols = OCINumCols($stmt); + for ($i = 1; $i <= $ncols; $i++) { + $column_name = OCIColumnName($stmt, $i); + $column_type = OCIColumnType($stmt, $i); + $column_size = OCIColumnSize($stmt, $i); + echo "<tr>"; + echo "<td>$column_name</td>"; + echo "<td>$column_type</td>"; + echo "<td>$column_size</td>"; + echo "</tr>"; + } + echo "</table>"; + OCIFreeStatement($stmt); + OCILogoff($conn); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_field_size</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicolumnsize</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicolumntype.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/oci8/functions/ocicolumntype.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicolumntype.xml:1.9 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicolumntype.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocicolumntype"> + <refnamediv> + <refname>ocicolumntype</refname> + <refpurpose>Returns the data type of a column</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>mixed</type><methodname>ocicolumntype</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>int</type><parameter>col</parameter></methodparam> + </methodsynopsis> + <simpara> + <function>ocicolumntype</function> returns the data type of the + column corresponding to the column number (1-based) that is passed + in. + </simpara> + <para> + <example> + <title><function>ocicolumntype</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php + $conn = OCILogon("scott", "tiger"); + $stmt = OCIParse($conn, "select * from emp"); + OCIExecute($stmt); + echo "<table border=\"1\">"; + echo "<tr>"; + echo "<th>Name</th>"; + echo "<th>Type</th>"; + echo "<th>Length</th>"; + echo "</tr>"; + $ncols = OCINumCols($stmt); + for ($i = 1; $i <= $ncols; $i++) { + $column_name = OCIColumnName($stmt, $i); + $column_type = OCIColumnType($stmt, $i); + $column_size = OCIColumnSize($stmt, $i); + echo "<tr>"; + echo "<td>$column_name</td>"; + echo "<td>$column_type</td>"; + echo "<td>$column_size</td>"; + echo "</tr>"; + } + echo "</table>\n"; + OCIFreeStatement($stmt); + OCILogoff($conn); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_field_type</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicolumntype</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicolumntyperaw.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ocicolumntyperaw.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicolumntyperaw.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicolumntyperaw.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocicolumntyperaw"> + <refnamediv> + <refname>ocicolumntyperaw</refname> + <refpurpose>Tell the raw oracle data type of a column</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>mixed</type><methodname>ocicolumntyperaw</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>int</type><parameter>col</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + <note> + <para> + This function was renamed to <function>oci_field_type_raw</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicolumntyperaw</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocicommit.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/oci8/functions/ocicommit.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocicommit.xml:1.14 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocicommit.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.14 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocicommit"> + <refnamediv> + <refname>ocicommit</refname> + <refpurpose>Commits outstanding transactions</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocicommit</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocicommit</function> commits all outstanding statements + for the active transaction on Oracle connection <parameter>connection</parameter>. + </para> + <para> + This example demonstrates how <function>ocicommit</function> is used. + <example> + <title><function>ocicommit</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php + // Login to Oracle server + $conn = OCILogon('scott', 'tiger'); + + // Parse SQL + $stmt = OCIParse($conn, "INSERT INTO employees (name, surname) VALUES ('Maxim', 'Maletsky')"); + + // Execute statement + OCIExecute($stmt); + + // Commit transaction + $committed = OCICommit($conn); + + // Test whether commit was successful. If error occurred, return error message + if (!$committed) { + $error = OCIError($conn); + echo 'Commit failed. Oracle reports: ' . $error['message']; + } + + // Close connection + OCILogoff($conn); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_commit</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocicommit</function> can also be used. + This is deprecated, however. + </para> + </note> + <simpara> + See also <function>ocirollback</function>. + </simpara> + </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/en/reference/oci8/functions/ocidefinebyname.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/oci8/functions/ocidefinebyname.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocidefinebyname.xml:1.11 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocidefinebyname.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.11 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocidefinebyname"> + <refnamediv> + <refname>ocidefinebyname</refname> + <refpurpose> + Use a PHP variable for the define-step during a SELECT + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</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>&amp;variable</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocidefinebyname</function> binds PHP variables for fetches + of SQL-Columns. Be careful that Oracle uses ALL-UPPERCASE column-names, + whereby in your select you can also write lowercase. + <function>ocidefinebyname</function> expects + the <parameter>column_name</parameter> to be in uppercase. If you + define a variable that doesn't exists in your select statement, no + error will be given! + </para> + <para> + If you need to define an abstract datatype (LOB/ROWID/BFILE) you + need to allocate it first using + <function>ocinewdescriptor</function>. See also the + <function>ocibindbyname</function> function. + </para> + <example> + <title><function>ocidefinebyname</function> example</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> + <note> + <para> + This function was renamed to <function>oci_define_by_name</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocidefinebyname</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocierror.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/oci8/functions/ocierror.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocierror.xml:1.9 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocierror.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocierror"> + <refnamediv> + <refname>ocierror</refname> + <refpurpose>Return the last error of stmt|conn|global</refpurpose> + </refnamediv> + <refsect1> + <title>Description</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> returns the last error found. If + the optional <parameter>stmt|conn|global</parameter> is not + provided, the last error encountered is returned. If no error is + found, <function>ocierror</function> returns + &false;. <function>ocierror</function> returns the error as an + associative array. In this array, <literal>code</literal> + consists the oracle error code and <literal>message</literal> + the oracle errorstring. + </simpara> + <note> + <title>As of PHP 4.3</title> + <simpara> + <literal>offset</literal> and <literal>sqltext</literal> will + also be included in the return array to indicate the location + of the error and the original SQL text which caused it. + </simpara> + </note> + <note> + <para> + This function was renamed to <function>oci_error</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocierror</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociexecute.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/oci8/functions/ociexecute.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociexecute.xml:1.6 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociexecute.xml Thu Apr 15 03:57:51 2004 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.6 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ociexecute"> + <refnamediv> + <refname>ociexecute</refname> + <refpurpose>Execute a statement</refpurpose> + </refnamediv> + <refsect1> + <title>Description</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> executes a previously parsed + statement. (see <function>ociparse</function>). The optional + <parameter>mode</parameter> allows you to specify the + execution-mode (default is OCI_COMMIT_ON_SUCCESS). If you don't + want statements to be committed automatically specify OCI_DEFAULT as + your mode. + </para> + <note> + <para> + This function was renamed to <function>oci_execute</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociexecute</function> can also be used. + This is deprecated, however. + </para> + </note> + <para> + &return.success; + </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/diff.php/phpdoc/en/reference/oci8/functions/ocifetch.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ocifetch.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocifetch.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocifetch.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocifetch"> + <refnamediv> + <refname>ocifetch</refname> + <refpurpose>Fetches the next row into result-buffer</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocifetch</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocifetch</function> fetches the next row (for SELECT + statements) into the internal result-buffer. &return.success; + </para> + <note> + <para> + This function was renamed to <function>oci_fetch</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocifetch</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocifreecollection.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocifreecollection.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocifreecollection.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocifreecollection.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocifreecollection"> + <refnamediv> + <refname>ocifreecollection</refname> + <refpurpose>Deletes collection object</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocifreecollection</methodname> + <void /> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_free_collection</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocifreecollection</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocifreecursor.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/oci8/functions/ocifreecursor.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocifreecursor.xml:1.6 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocifreecursor.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.6 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.11 --> + <refentry id="function.ocifreecursor"> + <refnamediv> + <refname>ocifreecursor</refname> + <refpurpose> + Free all resources associated with a cursor + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocifreecursor</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocifreecursor</function> frees all resources associated with the + cursor <parameter>stmt</parameter>. &return.success; + </para> + <note> + <para> + This function was renamed to <function>oci_free_cursor</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocifreecursor</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocifreedesc.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocifreedesc.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocifreedesc.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocifreedesc.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocifreedesc"> + <refnamediv> + <refname>ocifreedesc</refname> + <refpurpose>Deletes a large object descriptor</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocifreedesc</methodname> + <void /> + </methodsynopsis> + <para> + <function>ocifreedesc</function> deletes a large object descriptor. + &return.success; + </para> + <note> + <para> + This function was renamed to <function>oci_free_descriptor</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocifreedesc</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocifreestatement.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ocifreestatement.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocifreestatement.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocifreestatement.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocifreestatement"> + <refnamediv> + <refname>ocifreestatement</refname> + <refpurpose> + Free all resources associated with a statement + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocifreestatement</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocifreestatement</function> free all resources associated + with the statement <parameter>stmt</parameter>. &return.success; + </para> + <note> + <para> + This function was renamed to <function>oci_free_statement</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocifreestatement</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociinternaldebug.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/oci8/functions/ociinternaldebug.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociinternaldebug.xml:1.5 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociinternaldebug.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.5 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ociinternaldebug"> + <refnamediv> + <refname>ociinternaldebug</refname> + <refpurpose> + Enables or disables internal debug output + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>ociinternaldebug</methodname> + <methodparam><type>int</type><parameter>onoff</parameter></methodparam> + </methodsynopsis> + <simpara> + <function>ociinternaldebug</function> enables internal debug + output. Set <parameter>onoff</parameter> to 0 to turn debug + output off, 1 to turn it on. + </simpara> + <note> + <para> + This function was renamed to <function>oci_internal_debug</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociinternaldebug</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociloadlob.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ociloadlob.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociloadlob.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociloadlob.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ociloadlob"> + <refnamediv> + <refname>ociloadlob</refname> + <refpurpose>Loads a large object</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>ociloadlob</methodname> + <void /> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_lob_load</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociloadlob</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocilogoff.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocilogoff.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocilogoff.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocilogoff.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocilogoff"> + <refnamediv> + <refname>ocilogoff</refname> + <refpurpose>Disconnects from Oracle server</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocilogoff</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocilogoff</function> closes the Oracle connection + <parameter>connection</parameter>. + </para> + <para> + Using <function>ocilogoff</function> isn't usually necessary, + as non-persistent open links are automatically closed at the end + of the script's execution. See also + <link linkend="language.types.resource.self-destruct">freeing + resources</link>. + </para> + <note> + <para> + This function was renamed to <function>oci_close</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocilogoff</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocilogon.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/oci8/functions/ocilogon.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocilogon.xml:1.11 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocilogon.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.11 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocilogon"> + <refnamediv> + <refname>ocilogon</refname> + <refpurpose>Establishes a connection to Oracle</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>resource</type><methodname>ocilogon</methodname> + <methodparam><type>string</type><parameter>username</parameter></methodparam> + <methodparam><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>db</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocilogon</function> returns an connection identifier + needed for most other OCI calls. The optional third parameter + can either contain the name of the local Oracle instance or the + name of the entry in tnsnames.ora to which you want to connect. + If the optional third parameter is not specified, PHP uses the + environment variables ORACLE_SID (Oracle instance) or TWO_TASK + (tnsnames.ora) to determine which database to connect to. + </para> + <para>Connections are shared at the page level when using + <function>ocilogon</function>. This means that commits and + rollbacks apply to all open transactions in the page, even if you + have created multiple connections. + </para> + <para> + This example demonstrates how the connections are shared. + <example> + <title><function>ocilogon</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +echo "<pre>"; +$db = ""; + +$c1 = ocilogon("scott", "tiger", $db); +$c2 = ocilogon("scott", "tiger", $db); + +function create_table($conn) +{ + $stmt = ociparse($conn, "create table scott.hallo (test varchar2(64))"); + ociexecute($stmt); + echo $conn . " created table\n\n"; +} + +function drop_table($conn) +{ + $stmt = ociparse($conn, "drop table scott.hallo"); + ociexecute($stmt); + echo $conn . " dropped table\n\n"; +} + +function insert_data($conn) +{ + $stmt = ociparse($conn, "insert into scott.hallo + values('$conn' || ' ' || to_char(sysdate,'DD-MON-YY HH24:MI:SS'))"); + ociexecute($stmt, OCI_DEFAULT); + echo $conn . " inserted hallo\n\n"; +} + +function delete_data($conn) +{ + $stmt = ociparse($conn, "delete from scott.hallo"); + ociexecute($stmt, OCI_DEFAULT); + echo $conn . " deleted hallo\n\n"; +} + +function commit($conn) +{ + ocicommit($conn); + echo $conn . " committed\n\n"; +} + +function rollback($conn) +{ + ocirollback($conn); + echo $conn . " rollback\n\n"; +} + +function select_data($conn) +{ + $stmt = ociparse($conn, "select * from scott.hallo"); + ociexecute($stmt, OCI_DEFAULT); + echo $conn."----selecting\n\n"; + while (ocifetch($stmt)) { + echo $conn . " [" . ociresult($stmt, "TEST") . "]\n\n"; + } + echo $conn . "----done\n\n"; +} + +create_table($c1); +insert_data($c1); // Insert a row using c1 +insert_data($c2); // Insert a row using c2 + +select_data($c1); // Results of both inserts are returned +select_data($c2); + +rollback($c1); // Rollback using c1 + +select_data($c1); // Both inserts have been rolled back +select_data($c2); + +insert_data($c2); // Insert a row using c2 +commit($c2); // Commit using c2 + +select_data($c1); // Result of c2 insert is returned + +delete_data($c1); // Delete all rows in table using c1 +select_data($c1); // No rows returned +select_data($c2); // No rows returned +commit($c1); // Commit using c1 + +select_data($c1); // No rows returned +select_data($c2); // No rows returned + +drop_table($c1); +echo "</pre>"; +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_connect</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocilogon</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocinewcollection.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocinewcollection.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocinewcollection.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocinewcollection.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocinewcollection"> + <refnamediv> + <refname>ocinewcollection</refname> + <refpurpose>Initialize a new collection</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>object</type><methodname>ocinewcollection</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> + <methodparam><type>string</type><parameter>tdo</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>schema</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_new_collection</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocinewcollection</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocinewcursor.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocinewcursor.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocinewcursor.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocinewcursor.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocinewcursor"> + <refnamediv> + <refname>ocinewcursor</refname> + <refpurpose> + Return a new cursor (Statement-Handle) + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>resource</type><methodname>ocinewcursor</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocinewcursor</function> allocates a new statement handle + on the specified connection. + </para> + <para> + <example> + <title>Using a REF CURSOR from a stored procedure in Oracle</title> + <programlisting role="php"> +<![CDATA[ +<?php +// suppose your stored procedure info.output returns a ref cursor in :data + +$conn = OCILogon("scott", "tiger"); +$curs = OCINewCursor($conn); +$stmt = OCIParse($conn, "begin info.output(:data); end;"); + +ocibindbyname($stmt, "data", &$curs, -1, OCI_B_CURSOR); +ociexecute($stmt); +ociexecute($curs); + +while (OCIFetchInto($curs, &$data)) { + var_dump($data); +} + +OCIFreeStatement($stmt); +OCIFreeCursor($curs); +OCILogoff($conn); +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title>Using a REF CURSOR in a select statement in Oracle</title> + <programlisting role="php"> +<![CDATA[ +<?php +echo "<html><body>"; +$conn = OCILogon("scott", "tiger"); +$count_cursor = "CURSOR(select count(empno) num_emps from emp " . + "where emp.deptno = dept.deptno) as EMPCNT from dept"; +$stmt = OCIParse($conn, "select deptno,dname,$count_cursor"); + +ociexecute($stmt); +echo "<table border=\"1\">"; +echo "<tr>"; +echo "<th>DEPT NAME</th>"; +echo "<th>DEPT #</th>"; +echo "<th># EMPLOYEES</th>"; +echo "</tr>"; + +while (OCIFetchInto($stmt, &$data, OCI_ASSOC)) { + echo "<tr>"; + $dname = $data["DNAME"]; + $deptno = $data["DEPTNO"]; + echo "<td>$dname</td>"; + echo "<td>$deptno</td>"; + ociexecute($data["EMPCNT"]); + while (OCIFetchInto($data["EMPCNT"], &$subdata, OCI_ASSOC)) { + $num_emps = $subdata["NUM_EMPS"]; + echo "<td>$num_emps</td>"; + } + echo "</tr>"; +} +echo "</table>"; +echo "</body></html>"; +OCIFreeStatement($stmt); +OCILogoff($conn); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_new_cursor</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocinewcursor</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocinewdescriptor.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/oci8/functions/ocinewdescriptor.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocinewdescriptor.xml:1.11 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocinewdescriptor.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.11 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocinewdescriptor"> + <refnamediv> + <refname>ocinewdescriptor</refname> + <refpurpose> + Initialize a new empty LOB or FILE descriptor + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>object</type><methodname>ocinewdescriptor</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocinewdescriptor</function> allocates storage to hold + descriptors or LOB locators. Valid values for + <parameter>type</parameter> are <constant>OCI_D_FILE</constant>, + <constant>OCI_D_LOB</constant> and <constant>OCI_D_ROWID</constant>. + For LOB descriptors, the methods load, save, and savefile are + associated with the descriptor, for BFILE only the load method + exists. See the second example usage hints. + </para> + <para> + <example> + <title><function>ocinewdescriptor</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php + /* This script is designed to be called from a HTML form. + * It expects $user, $password, $table, $where, and $commitsize + * to be passed in from the form. The script then deletes + * the selected rows using the ROWID and commits after each + * set of $commitsize rows. (Use with care, there is no rollback) + */ + $conn = OCILogon($user, $password); + $stmt = OCIParse($conn, "select rowid from $table $where"); + $rowid = OCINewDescriptor($conn, OCI_D_ROWID); + OCIDefineByName($stmt, "ROWID", &$rowid); + OCIExecute($stmt); + while (OCIFetch($stmt)) { + $nrows = OCIRowCount($stmt); + $delete = OCIParse($conn, "delete from $table where ROWID = :rid"); + OCIBindByName($delete, ":rid", &$rowid, -1, OCI_B_ROWID); + OCIExecute($delete); + echo "$nrows\n"; + if (($nrows % $commitsize) == 0) { + OCICommit($conn); + } + } + $nrows = OCIRowCount($stmt); + echo "$nrows deleted...\n"; + OCIFreeStatement($stmt); + OCILogoff($conn); +?> +]]> + </programlisting> + <programlisting role="php"> +<![CDATA[ +<?php + /* This script demonstrates file upload to LOB columns + * The formfield used for this example looks like this + * <form action="upload.php" method="post" enctype="multipart/form-data"> + * <input type="file" name="lob_upload" /> + * ... + */ + if (!isset($lob_upload) || $lob_upload == 'none'){ +?> +<form action="upload.php" method="post" enctype="multipart/form-data"> +Upload file: <input type="file" name="lob_upload" /><br /> +<input type="submit" value="Upload" /> - <input type="reset" value="Reset" /> +</form> +<?php + } else { + + // $lob_upload contains the temporary filename of the uploaded file + + // see also the features section on file upload, + // if you would like to use secure uploads + + $conn = OCILogon($user, $password); + $lob = OCINewDescriptor($conn, OCI_D_LOB); + $stmt = OCIParse($conn, "insert into $table (id, the_blob) + values(my_seq.NEXTVAL, EMPTY_BLOB()) returning the_blob into :the_blob"); + OCIBindByName($stmt, ':the_blob', &$lob, -1, OCI_B_BLOB); + OCIExecute($stmt, OCI_DEFAULT); + if ($lob->savefile($lob_upload)){ + OCICommit($conn); + echo "Blob successfully uploaded\n"; + }else{ + echo "Couldn't upload Blob\n"; + } + OCIFreeDesc($lob); + OCIFreeStatement($stmt); + OCILogoff($conn); + } +?> +]]> + </programlisting> + </example> + <example> + <title><function>ocinewdescriptor</function> second example</title> + <programlisting role="php"> +<![CDATA[ +<?php + /* Calling PL/SQL stored procedures which contain clobs as input + * parameters (PHP 4 >= 4.0.6). + * Example PL/SQL stored procedure signature is: + * + * PROCEDURE save_data + * Argument Name Type In/Out Default? + * ------------------------------ ----------------------- ------ -------- + * KEY NUMBER(38) IN + * DATA CLOB IN + * + */ + + $conn = OCILogon($user, $password); + $stmt = OCIParse($conn, "begin save_data(:key, :data); end;"); + $clob = OCINewDescriptor($conn, OCI_D_LOB); + OCIBindByName($stmt, ':key', $key); + OCIBindByName($stmt, ':data', $clob, -1, OCI_B_CLOB); + $clob->WriteTemporary($data); + OCIExecute($stmt, OCI_DEFAULT); + OCICommit($conn); + $clob->close(); + $clob->free(); + OCIFreeStatement($stmt); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_new_descriptor</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocinewdescriptor</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocinlogon.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/oci8/functions/ocinlogon.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocinlogon.xml:1.10 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocinlogon.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,162 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.10 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.15 --> + <refentry id="function.ocinlogon"> + <refnamediv> + <refname>ocinlogon</refname> + <refpurpose>Establishes a new connection to Oracle</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>resource</type><methodname>ocinlogon</methodname> + <methodparam><type>string</type><parameter>username</parameter></methodparam> + <methodparam><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>db</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocinlogon</function> creates a new connection to an + Oracle 8 database and logs on. The optional third parameter can + either contain the name of the local Oracle instance or the name + of the entry in tnsnames.ora to which you want to connect. If + the optional third parameter is not specified, PHP uses the + environment variables ORACLE_SID (Oracle instance) or TWO_TASK + (tnsnames.ora) to determine which database to connect to. + </para> + <para> + <function>ocinlogon</function> forces a new connection. This + should be used if you need to isolate a set of transactions. By + default, connections are shared at the page level if using + <function>ocilogon</function> or at the web server process level + if using <function>ociplogon</function>. If you have multiple + connections open using <function>ocinlogon</function>, all + commits and rollbacks apply to the specified connection only. + </para> + <para> + This example demonstrates how the connections are separated. + <example> + <title><function>ocinlogon</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +echo "<html><pre>"; +$db = ""; + +$c1 = ocilogon("scott", "tiger", $db); +$c2 = ocinlogon("scott", "tiger", $db); + +function create_table($conn) +{ + $stmt = ociparse($conn, "create table scott.hallo (test +varchar2(64))"); + ociexecute($stmt); + echo $conn . " created table\n\n"; +} + +function drop_table($conn) +{ + $stmt = ociparse($conn, "drop table scott.hallo"); + ociexecute($stmt); + echo $conn . " dropped table\n\n"; +} + +function insert_data($conn) +{ + $stmt = ociparse($conn, "insert into scott.hallo + values('$conn' || ' ' || to_char(sysdate,'DD-MON-YY HH24:MI:SS'))"); + ociexecute($stmt, OCI_DEFAULT); + echo $conn . " inserted hallo\n\n"; +} + +function delete_data($conn) +{ + $stmt = ociparse($conn, "delete from scott.hallo"); + ociexecute($stmt, OCI_DEFAULT); + echo $conn . " deleted hallo\n\n"; +} + +function commit($conn) +{ + ocicommit($conn); + echo $conn . " committed\n\n"; +} + +function rollback($conn) +{ + ocirollback($conn); + echo $conn . " rollback\n\n"; +} + +function select_data($conn) +{ + $stmt = ociparse($conn, "select * from scott.hallo"); + ociexecute($stmt, OCI_DEFAULT); + echo $conn . "----selecting\n\n"; + while (ocifetch($stmt)) { + echo $conn . " <" . ociresult($stmt, "TEST") . ">\n\n"; + } + echo $conn . "----done\n\n"; +} + +create_table($c1); +insert_data($c1); + +select_data($c1); +select_data($c2); + +rollback($c1); + +select_data($c1); +select_data($c2); + +insert_data($c2); +commit($c2); + +select_data($c1); + +delete_data($c1); +select_data($c1); +select_data($c2); +commit($c1); + +select_data($c1); +select_data($c2); + +drop_table($c1); +echo "</pre></html>"; +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_new_connect</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocinlogon</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocinumcols.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/oci8/functions/ocinumcols.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocinumcols.xml:1.9 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocinumcols.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocinumcols"> + <refnamediv> + <refname>ocinumcols</refname> + <refpurpose> + Return the number of result columns in a statement + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>ocinumcols</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocinumcols</function> returns the number of columns in the + statement <parameter>stmt</parameter>. + </para> + <para> + <example> + <title><function>ocinumcols</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php + echo "<pre>\n"; + $conn = OCILogon("scott", "tiger"); + $stmt = OCIParse($conn, "select * from emp"); + OCIExecute($stmt); + while (OCIFetch($stmt)) { + echo "\n"; + $ncols = OCINumCols($stmt); + for ($i = 1; $i <= $ncols; $i++) { + $column_name = OCIColumnName($stmt, $i); + $column_value = OCIResult($stmt, $i); + echo $column_name . ': ' . $column_value . "\n"; + } + echo "\n"; + } + OCIFreeStatement($stmt); + OCILogoff($conn); + echo "</pre>"; +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_num_fields</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocinumcols</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociparse.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ociparse.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociparse.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociparse.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ociparse"> + <refnamediv> + <refname>ociparse</refname> + <refpurpose>Parse a query and return an Oracle statement</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>resource</type><methodname>ociparse</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> + <methodparam><type>string</type><parameter>query</parameter></methodparam> + </methodsynopsis> + <para> + <function>ociparse</function> parses the + <parameter>query</parameter> using <parameter>conn</parameter>. + It returns the statement identity if the <parameter>query</parameter> + is valid, &false; if + not. The <parameter>query</parameter> can be any valid SQL + statement or PL/SQL block. + </para> + <note> + <para> + This function was renamed to <function>oci_parse</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociparse</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociplogon.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/oci8/functions/ociplogon.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociplogon.xml:1.6 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociplogon.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.6 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.15 --> + <refentry id="function.ociplogon"> + <refnamediv> + <refname>ociplogon</refname> + <refpurpose> + Connect to an Oracle database using a persistent connection + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>resource</type><methodname>ociplogon</methodname> + <methodparam><type>string</type><parameter>username</parameter></methodparam> + <methodparam><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>db</parameter></methodparam> + </methodsynopsis> + <para> + <function>ociplogon</function> creates a persistent connection to + an Oracle 8 database and logs on. The optional third parameter + can either contain the name of the local Oracle instance or the + name of the entry in tnsnames.ora to which you want to connect. + If the optional third parameter is not specified, PHP uses the + environment variables <varname>ORACLE_SID</varname> (Oracle instance) + or <varname>TWO_TASK</varname> + (tnsnames.ora) to determine which database to connect to. + </para> + <note> + <para> + This function was renamed to <function>oci_pconnect</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociplogon</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociresult.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/oci8/functions/ociresult.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociresult.xml:1.6 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociresult.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.6 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ociresult"> + <refnamediv> + <refname>ociresult</refname> + <refpurpose>Returns column value for fetched row</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>mixed</type><methodname>ociresult</methodname> + <methodparam><type>resource</type><parameter>statement</parameter></methodparam> + <methodparam><type>mixed</type><parameter>col</parameter></methodparam> + </methodsynopsis> + <para> + <function>ociresult</function> returns the data for column + <parameter>column</parameter> in the current row (see + <function>ocifetch</function>). <function>ociresult</function> will + return everything as strings except for abstract types (ROWIDs, + LOBs and FILEs). + </para> + <para> + You can either use the column-number (1-Based) or the column-name, + in uppercase, for the <parameter>col</parameter> parameter. + </para> + <note> + <para> + This function was renamed to <function>oci_result</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociresult</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocirollback.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/oci8/functions/ocirollback.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocirollback.xml:1.6 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocirollback.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.6 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocirollback"> + <refnamediv> + <refname>ocirollback</refname> + <refpurpose>Rolls back outstanding transactions</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocirollback</methodname> + <methodparam><type>resource</type><parameter>connection</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocirollback</function> rolls back all outstanding + statements for Oracle connection <parameter>connection</parameter>. + &return.success; + </para> + <note> + <para> + This function was renamed to <function>oci_rollback</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocirollback</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocirowcount.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/oci8/functions/ocirowcount.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocirowcount.xml:1.9 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocirowcount.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocirowcount"> + <refnamediv> + <refname>ocirowcount</refname> + <refpurpose>Gets the number of affected rows</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>ocirowcount</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocirowcount</function> returns the number of rows affected + for e.g. update-statements. This function will not tell you the number + of rows that a select will return! + </para> + <para> + <example> + <title><function>ocirowcount</function> example</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> + <note> + <para> + This function was renamed to <function>oci_num_rows</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocirowcount</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocisavelob.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocisavelob.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocisavelob.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocisavelob.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocisavelob"> + <refnamediv> + <refname>ocisavelob</refname> + <refpurpose>Saves a large object </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocisavelob</methodname> + <void /> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_lob_save</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocisavelob</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocisavelobfile.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ocisavelobfile.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocisavelobfile.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocisavelobfile.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocisavelobfile"> + <refnamediv> + <refname>ocisavelobfile</refname> + <refpurpose>Saves a large object file</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocisavelobfile</methodname> + <void /> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_lob_import</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocisavelobfile</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociserverversion.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/oci8/functions/ociserverversion.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociserverversion.xml:1.7 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociserverversion.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.7 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ociserverversion"> + <refnamediv> + <refname>ociserverversion</refname> + <refpurpose>Return a string containing server version + information</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>ociserverversion</methodname> + <methodparam><type>resource</type><parameter>conn</parameter></methodparam> + </methodsynopsis> + <para> + <example> + <title><function>ociserverversion</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php + $conn = OCILogon("scott", "tiger"); + echo "Server Version: " . OCIServerVersion($conn); + OCILogOff($conn); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_server_version</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociserverversion</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocisetprefetch.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/oci8/functions/ocisetprefetch.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocisetprefetch.xml:1.6 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocisetprefetch.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.6 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ocisetprefetch"> + <refnamediv> + <refname>ocisetprefetch</refname> + <refpurpose>Sets number of rows to be prefetched</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ocisetprefetch</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + <methodparam><type>int</type><parameter>rows</parameter></methodparam> + </methodsynopsis> + <para> + Sets the number of top level rows to be prefetched to <parameter>rows</parameter>. + The default value for <parameter>rows</parameter> is 1 row. + </para> + <note> + <para> + This function was renamed to <function>oci_set_prefetch</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocisetprefetch</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ocistatementtype.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/oci8/functions/ocistatementtype.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ocistatementtype.xml:1.9 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ocistatementtype.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 --> + <refentry id="function.ocistatementtype"> + <refnamediv> + <refname>ocistatementtype</refname> + <refpurpose>Return the type of an OCI statement</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>ocistatementtype</methodname> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> + </methodsynopsis> + <para> + <function>ocistatementtype</function> returns one of the following + values: + <orderedlist> + <listitem><simpara><literal>SELECT</literal></simpara></listitem> + <listitem><simpara><literal>UPDATE</literal></simpara></listitem> + <listitem><simpara><literal>DELETE</literal></simpara></listitem> + <listitem><simpara><literal>INSERT</literal></simpara></listitem> + <listitem><simpara><literal>CREATE</literal></simpara></listitem> + <listitem><simpara><literal>DROP</literal></simpara></listitem> + <listitem><simpara><literal>ALTER</literal></simpara></listitem> + <listitem><simpara><literal>BEGIN</literal></simpara></listitem> + <listitem><simpara><literal>DECLARE</literal></simpara></listitem> + <listitem><simpara><literal>UNKNOWN</literal></simpara></listitem> + </orderedlist></para> + <para> + <example> + <title><function>ocistatementtype</function> examples</title> + <programlisting role="php"> +<![CDATA[ +<?php + $conn = OCILogon("scott", "tiger"); + $sql = "delete from emp where deptno = 10"; + + $stmt = OCIParse($conn, $sql); + if (OCIStatementType($stmt) == "DELETE") { + die("You are not allowed to delete from this table<br />"); + } + + OCILogoff($conn); +?> +]]> + </programlisting> + </example> + </para> + <note> + <para> + This function was renamed to <function>oci_statement_type</function> + after PHP >= 5.0.0. For downward compatibility + <function>ocistatementtype</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociwritelobtofile.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/oci8/functions/ociwritelobtofile.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociwritelobtofile.xml:1.8 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociwritelobtofile.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ociwritelobtofile"> + <refnamediv> + <refname>ociwritelobtofile</refname> + <refpurpose>Saves a large object file</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ociwritelobtofile</methodname> + <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>start</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_lob_export</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociwritelobtofile</function> can also be used. + This is deprecated, however. + </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/en/reference/oci8/functions/ociwritetemporarylob.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/oci8/functions/ociwritetemporarylob.xml diff -u /dev/null phpdoc/en/reference/oci8/functions/ociwritetemporarylob.xml:1.3 --- /dev/null Thu Apr 15 03:57:53 2004 +++ phpdoc/en/reference/oci8/functions/ociwritetemporarylob.xml Thu Apr 15 03:57:52 2004 @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 --> + <refentry id="function.ociwritetemporarylob"> + <refnamediv> + <refname>ociwritetemporarylob</refname> + <refpurpose>Writes temporary blob</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>ociwritetemporarylob</methodname> + <methodparam><type>string</type><parameter>var</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>lob_type</parameter></methodparam> + </methodsynopsis> + <note> + <para> + This function was renamed to <function>oci_lob_write_temporary</function> + after PHP >= 5.0.0. For downward compatibility + <function>ociwritetemporarylob</function> can also be used. + This is deprecated, however. + </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 +-->
« previous php.doc (#969360097) next »