reference/dbase/functions/dbase-get-header-info.xml
4754397753fd79f1c846868b66a2448babab1c54
...
...
@@ -9,11 +9,10 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>array</type><methodname>dbase_get_header_info</methodname>
12
-
<methodparam><type>int</type><parameter>dbase_identifier</parameter></methodparam>
12
+
<methodparam><type>resource</type><parameter>database</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
-
Returns information on the column structure of the given database link
16
-
identifier.
15
+
Returns information on the column structure of the given database resource.
17
16
</para>
18
17
</refsect1>
19
18
<refsect1 role="parameters">
...
...
@@ -21,10 +20,10 @@
21
20
<para>
22
21
<variablelist>
23
22
<varlistentry>
24
-
<term><parameter>dbase_identifier</parameter></term>
23
+
<term><parameter>database</parameter></term>
25
24
<listitem>
26
25
<para>
27
-
The database link identifier, returned by <function>dbase_open</function>
26
+
The database resource, returned by <function>dbase_open</function>
28
27
or <function>dbase_create</function>.
29
28
</para>
30
29
</listitem>
...
...
@@ -56,6 +55,8 @@
56
55
<simpara>
57
56
The human-readable name for the dbase type of the column (i.e. date,
58
57
boolean, etc.)
58
+
The supported field types are listed in the <link
59
+
linkend="intro.dbase">introduction section</link>.
59
60
</simpara>
60
61
</listitem>
61
62
</varlistentry>
...
...
@@ -97,6 +98,30 @@
97
98
If the database header information cannot be read, &false; is returned.
98
99
</para>
99
100
</refsect1>
101
+

102
+
<refsect1 role="changelog">
103
+
&reftitle.changelog;
104
+
<informaltable>
105
+
<tgroup cols="2">
106
+
<thead>
107
+
<row>
108
+
<entry>&Version;</entry>
109
+
<entry>&Description;</entry>
110
+
</row>
111
+
</thead>
112
+
<tbody>
113
+
<row>
114
+
<entry>dbase 7.0.0</entry>
115
+
<entry>
116
+
<parameter>database</parameter> is now a <type>resource</type>
117
+
instead of an <type>int</type>.
118
+
</entry>
119
+
</row>
120
+
</tbody>
121
+
</tgroup>
122
+
</informaltable>
123
+
</refsect1>
124
+

100
125
<refsect1 role="examples">
101
126
&reftitle.examples;
102
127
<para>
103
128