reference/oci8/functions/oci-define-by-name.xml
61374bbe228e8e9c55a24aba59a1e2bb2a871148
...
...
@@ -11,9 +11,9 @@
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>oci_define_by_name</methodname>
13
13
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>column_name</parameter></methodparam>
15
-
<methodparam><type>mixed</type><parameter role="reference">variable</parameter></methodparam>
16
-
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>SQLT_CHR</initializer></methodparam>
14
+
<methodparam><type>string</type><parameter>column</parameter></methodparam>
15
+
<methodparam><type>mixed</type><parameter role="reference">var</parameter></methodparam>
16
+
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>0</initializer></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
19
Associates a PHP variable with a column for query fetches using <function>oci_fetch</function>.
...
...
@@ -35,7 +35,7 @@
35
35
</listitem>
36
36
</varlistentry>
37
37
<varlistentry>
38
-
<term><parameter>column_name</parameter></term>
38
+
<term><parameter>column</parameter></term>
39
39
<listitem>
40
40
<para>
41
41
The column name used in the query.
...
...
@@ -48,7 +48,7 @@
48
48
</listitem>
49
49
</varlistentry>
50
50
<varlistentry>
51
-
<term><parameter>variable</parameter></term>
51
+
<term><parameter>var</parameter></term>
52
52
<listitem>
53
53
<para>
54
54
The PHP variable that will contain the returned column value.
...
...
@@ -61,8 +61,8 @@
61
61
<para>
62
62
The data type to be returned. Generally not needed. Note that
63
63
Oracle-style data conversions are not performed. For example,
64
-
<literal>SQLT_INT</literal> will be ignored and the returned
65
-
data type will still be <literal>SQLT_CHR</literal>.
64
+
<constant>SQLT_INT</constant> will be ignored and the returned
65
+
data type will still be <constant>SQLT_CHR</constant>.
66
66
</para>
67
67
<para>
68
68
You can optionally use <function>oci_new_descriptor</function>
...
...
@@ -274,7 +274,6 @@ oci_close($conn);
274
274
</refsect1>
275
275

276
276
</refentry>
277
-

278
277
<!-- Keep this comment at the end of the file
279
278
Local variables:
280
279
mode: sgml
...
...
@@ -295,4 +294,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
295
294
vim: et tw=78 syn=sgml
296
295
vi: ts=1 sw=1
297
296
-->
298
-

299
297