mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-28 23:08:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155121 c90b9560-bf6c-de11-be94-00142212c4b1
73 lines
2.2 KiB
XML
73 lines
2.2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<refentry id="function.oci-lob-write-temporary">
|
|
<refnamediv>
|
|
<refname>lob->writeTemporary</refname>
|
|
<refpurpose>Writes temporary large object</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>lob->writeTemporary</methodname>
|
|
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
|
<methodparam choice="opt"><type>int</type><parameter>lob_type</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Creates a temporary large object and writes <parameter>data</parameter>
|
|
to it.
|
|
</para>
|
|
<para>
|
|
Parameter <parameter>lob_type</parameter> can be one of the following:
|
|
<simplelist>
|
|
<member>
|
|
<constant>OCI_TEMP_BLOB</constant> is used to create temporary BLOBs
|
|
</member>
|
|
<member>
|
|
<constant>OCI_TEMP_CLOB</constant> is used to create temporary CLOBs
|
|
</member>
|
|
</simplelist>
|
|
</para>
|
|
<para>
|
|
<function>lob->writeTemporary</function> creates a CLOB by default.
|
|
</para>
|
|
<para>
|
|
You should use <function>oci_lob_close</function> when the work with the
|
|
object is over.
|
|
</para>
|
|
<para>
|
|
&return.success;
|
|
</para>
|
|
<note>
|
|
<para>
|
|
In PHP versions before 5.0.0 you must use <function>ociwritetemporarylob</function> instead.
|
|
This name still can be used, it was left as alias of
|
|
<function>oci_lob_write_temporary</function> for downwards compatability.
|
|
This, however, is deprecated and not recommended.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
See also <function>oci_lob_close</function>.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|