reference/phar/PharData/construct.xml
f03806fcd8fe03a0501bd40b6e3939ff6589a1d2
...
...
@@ -7,13 +7,13 @@
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
11
-
<methodname>PharData::__construct</methodname>
12
-
<methodparam><type>string</type><parameter>fname</parameter></methodparam>
13
-
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
14
-
<methodparam choice="opt"><type>string</type><parameter>alias</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer><constant>Phar::TAR</constant></initializer></methodparam>
16
-
</methodsynopsis>
10
+
<constructorsynopsis role="PharData">
11
+
<modifier>public</modifier> <methodname>PharData::__construct</methodname>
12
+
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
13
+
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>FilesystemIterator::SKIP_DOTS | FilesystemIterator::UNIX_PATHS</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>alias</parameter><initializer>&null;</initializer></methodparam>
15
+
<methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>0</initializer></methodparam>
16
+
</constructorsynopsis>
17
17

18
18
</refsect1>
19
19
<refsect1 role="parameters">
...
...
@@ -21,7 +21,7 @@
21
21
<para>
22
22
<variablelist>
23
23
<varlistentry>
24
-
<term><parameter>fname</parameter></term>
24
+
<term><parameter>filename</parameter></term>
25
25
<listitem>
26
26
<para>
27
27
Path to an existing tar/zip archive or to-be-created archive
...
...
@@ -96,7 +96,6 @@ echo file_get_contents('phar:///path/to/my.tar/example.txt');
96
96
</refsect1>
97
97

98
98
</refentry>
99
-

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