reference/oci8/functions/oci-field-precision.xml
5e41012cfdf8f2eff5fa56de446c7656afac536c
...
...
@@ -9,12 +9,12 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>oci_field_precision</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>oci_field_precision</methodname>
13
13
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
14
-
<methodparam><type>mixed</type><parameter>field</parameter></methodparam>
14
+
<methodparam><type class="union"><type>string</type><type>int</type></type><parameter>column</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
Returns precision of the <parameter>field</parameter>.
17
+
Returns precision of the <parameter>column</parameter>.
18
18
</para>
19
19
<para>
20
20
For FLOAT columns, precision is nonzero and scale is -127.
...
...
@@ -36,7 +36,7 @@
36
36
</listitem>
37
37
</varlistentry>
38
38
<varlistentry>
39
-
<term><parameter>field</parameter></term>
39
+
<term><parameter>column</parameter></term>
40
40
<listitem>
41
41
<para>
42
42
Can be the field's index (1-based) or name.
...
...
@@ -50,7 +50,7 @@
50
50
<refsect1 role="returnvalues">
51
51
&reftitle.returnvalues;
52
52
<para>
53
-
Returns the precision as an integer, or &false; on errors.
53
+
Returns the precision as an integer,&return.falseforfailure;
54
54
</para>
55
55
</refsect1>
56
56

...
...
@@ -98,18 +98,6 @@ oci_close($conn);
98
98
</para>
99
99
</refsect1>
100
100

101
-
<refsect1 role="notes">
102
-
&reftitle.notes;
103
-
<note>
104
-
<para>
105
-
In PHP versions before 5.0.0 you must use <function>ocicolumnprecision</function> instead.
106
-
This name still can be used, it was left as alias of
107
-
<function>oci_field_precision</function> for downwards compatability.
108
-
This, however, is deprecated and not recommended.
109
-
</para>
110
-
</note>
111
-
</refsect1>
112
-

113
101
<refsect1 role="seealso">
114
102
&reftitle.seealso;
115
103
<para>
...
...
@@ -121,7 +109,6 @@ oci_close($conn);
121
109
</refsect1>
122
110

123
111
</refentry>
124
-

125
112
<!-- Keep this comment at the end of the file
126
113
Local variables:
127
114
mode: sgml
128
115