reference/ibm_db2/functions/db2-bind-param.xml
61374bbe228e8e9c55a24aba59a1e2bb2a871148
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
4
3
<refentry xml:id="function.db2-bind-param" xmlns="http://docbook.org/ns/docbook">
5
4
<refnamediv>
6
5
<refname>db2_bind_param</refname>
...
...
@@ -13,10 +12,10 @@
13
12
<methodsynopsis>
14
13
<type>bool</type><methodname>db2_bind_param</methodname>
15
14
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
16
-
<methodparam><type>int</type><parameter>parameter-number</parameter></methodparam>
17
-
<methodparam><type>string</type><parameter>variable-name</parameter></methodparam>
18
-
<methodparam choice="opt"><type>int</type><parameter>parameter-type</parameter></methodparam>
19
-
<methodparam choice="opt"><type>int</type><parameter>data-type</parameter><initializer>0</initializer></methodparam>
15
+
<methodparam><type>int</type><parameter>parameter_number</parameter></methodparam>
16
+
<methodparam><type>string</type><parameter>variable_name</parameter></methodparam>
17
+
<methodparam choice="opt"><type>int</type><parameter>parameter_type</parameter><initializer><constant>DB2_PARAM_IN</constant></initializer></methodparam>
18
+
<methodparam choice="opt"><type>int</type><parameter>data_type</parameter><initializer>0</initializer></methodparam>
20
19
<methodparam choice="opt"><type>int</type><parameter>precision</parameter><initializer>-1</initializer></methodparam>
21
20
<methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
22
21
</methodsynopsis>
...
...
@@ -43,7 +42,7 @@
43
42
</listitem>
44
43
</varlistentry>
45
44
<varlistentry>
46
-
<term><parameter>parameter-number</parameter></term>
45
+
<term><parameter>parameter_number</parameter></term>
47
46
<listitem>
48
47
<para>
49
48
Specifies the 1-indexed position of the parameter in the prepared
...
...
@@ -52,37 +51,37 @@
52
51
</listitem>
53
52
</varlistentry>
54
53
<varlistentry>
55
-
<term><parameter>variable-name</parameter></term>
54
+
<term><parameter>variable_name</parameter></term>
56
55
<listitem>
57
56
<para>
58
57
A string specifying the name of the PHP variable to bind to the
59
-
parameter specified by <parameter>parameter-number</parameter>.
58
+
parameter specified by <parameter>parameter_number</parameter>.
60
59
</para>
61
60
</listitem>
62
61
</varlistentry>
63
62
<varlistentry>
64
-
<term><parameter>parameter-type</parameter></term>
63
+
<term><parameter>parameter_type</parameter></term>
65
64
<listitem>
66
65
<para>
67
66
A constant specifying whether the PHP variable should be bound to the
68
-
SQL parameter as an input parameter (<literal>DB2_PARAM_IN</literal>),
69
-
an output parameter (<literal>DB2_PARAM_OUT</literal>), or as a
67
+
SQL parameter as an input parameter (<constant>DB2_PARAM_IN</constant>),
68
+
an output parameter (<constant>DB2_PARAM_OUT</constant>), or as a
70
69
parameter that accepts input and returns output
71
-
(<literal>DB2_PARAM_INOUT</literal>). To avoid memory overhead, you can
72
-
also specify <literal>DB2_PARAM_FILE</literal> to bind the PHP variable
70
+
(<constant>DB2_PARAM_INOUT</constant>). To avoid memory overhead, you can
71
+
also specify <constant>DB2_PARAM_FILE</constant> to bind the PHP variable
73
72
to the name of a file that contains large object (BLOB, CLOB, or DBCLOB)
74
73
data.
75
74
</para>
76
75
</listitem>
77
76
</varlistentry>
78
77
<varlistentry>
79
-
<term><parameter>data-type</parameter></term>
78
+
<term><parameter>data_type</parameter></term>
80
79
<listitem>
81
80
<para>
82
81
A constant specifying the SQL data type that the PHP variable should be
83
-
bound as: one of <literal>DB2_BINARY</literal>,
84
-
<literal>DB2_CHAR</literal>, <literal>DB2_DOUBLE</literal>, or
85
-
<literal>DB2_LONG</literal> .
82
+
bound as: one of <constant>DB2_BINARY</constant>,
83
+
<constant>DB2_CHAR</constant>, <literal>DB2_DOUBLE</literal>, or
84
+
<constant>DB2_LONG</constant> .
86
85
</para>
87
86
</listitem>
88
87
</varlistentry>
...
...
@@ -286,7 +285,6 @@ $rc = db2_execute($stmt);
286
285
</refsect1>
287
286

288
287
</refentry>
289
-

290
288
<!-- Keep this comment at the end of the file
291
289
Local variables:
292
290
mode: sgml
293
291