reference/phar/PharFileInfo/isCompressed.xml
f03806fcd8fe03a0501bd40b6e3939ff6589a1d2
...
...
@@ -1,15 +1,15 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="pharfileinfo.iscompressed">
3
+
<refentry xml:id="pharfileinfo.iscompressed" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>PharFileInfo::isCompressed</refname>
6
6
<refpurpose>Returns whether the entry is compressed</refpurpose>
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
10
+
<methodsynopsis role="PharFileInfo">
11
11
<modifier>public</modifier> <type>bool</type><methodname>PharFileInfo::isCompressed</methodname>
12
-
<methodparam choice="opt"><type>int</type><parameter>compression_type</parameter><initializer>9021976</initializer></methodparam>
12
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>compression</parameter><initializer>&null;</initializer></methodparam>
13
13
</methodsynopsis>
14
14

15
15
<para>
...
...
@@ -23,7 +23,7 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>compression_type</parameter></term>
26
+
<term><parameter>compression</parameter></term>
27
27
<listitem>
28
28
<para>
29
29
One of <constant>Phar::GZ</constant> or <constant>Phar::BZ2</constant>,
...
...
@@ -42,6 +42,28 @@
42
42
</para>
43
43
</refsect1>
44
44

45
+
<refsect1 role="changelog">
46
+
&reftitle.changelog;
47
+
<informaltable>
48
+
<tgroup cols="2">
49
+
<thead>
50
+
<row>
51
+
<entry>&Version;</entry>
52
+
<entry>&Description;</entry>
53
+
</row>
54
+
</thead>
55
+
<tbody>
56
+
<row>
57
+
<entry>8.0.0</entry>
58
+
<entry>
59
+
<parameter>compression</parameter> is now nullable.
60
+
</entry>
61
+
</row>
62
+
</tbody>
63
+
</tgroup>
64
+
</informaltable>
65
+
</refsect1>
66
+

45
67
<refsect1 role="examples">
46
68
&reftitle.examples;
47
69
<para>
...
...
@@ -95,7 +117,6 @@ bool(true)
95
117
</refsect1>
96
118

97
119
</refentry>
98
-

99
120
<!-- Keep this comment at the end of the file
100
121
Local variables:
101
122
mode: sgml
102
123