reference/fileinfo/finfo/construct.xml
1160ec4e7d21a2619e9661d6afe3a6356267c6c2
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="finfo.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>finfo::__construct</refname>
...
...
@@ -9,17 +8,38 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<constructorsynopsis>
11
+
<constructorsynopsis role="finfo">
13
12
<modifier>public</modifier> <methodname>finfo::__construct</methodname>
14
-
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>FILEINFO_NONE</initializer></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>magic_file</parameter><initializer>&null;</initializer></methodparam>
13
+
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>magic_database</parameter><initializer>&null;</initializer></methodparam>
16
15
</constructorsynopsis>
17
16
<para>
18
17
&info.function.alias; <function>finfo_open</function>
19
18
</para>
20
19
</refsect1>
21
-
</refentry>
22
20

21
+
<refsect1 role="changelog">
22
+
&reftitle.changelog;
23
+
<informaltable>
24
+
<tgroup cols="2">
25
+
<thead>
26
+
<row>
27
+
<entry>&Version;</entry>
28
+
<entry>&Description;</entry>
29
+
</row>
30
+
</thead>
31
+
<tbody>
32
+
<row>
33
+
<entry>8.0.3</entry>
34
+
<entry>
35
+
<parameter>magic_database</parameter> is nullable now.
36
+
</entry>
37
+
</row>
38
+
</tbody>
39
+
</tgroup>
40
+
</informaltable>
41
+
</refsect1>
42
+
</refentry>
23
43
<!-- Keep this comment at the end of the file
24
44
Local variables:
25
45
mode: sgml
26
46