mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix doc bug #52909 by documenting the extra parameters available in
PharData::__construct(). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303712 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4034788aaf
commit
d2a808b9be
1 changed files with 26 additions and 3 deletions
|
@ -11,6 +11,8 @@
|
|||
<type>void</type><methodname>PharData::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>fname</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>alias</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer><constant>Phar::TAR</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
</refsect1>
|
||||
|
@ -30,7 +32,27 @@
|
|||
<term><parameter>flags</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Flags to pass to <classname>Phar</classname> parent class <classname>RecursiveDirectoryIterator</classname>.
|
||||
Flags to pass to <classname>Phar</classname> parent class
|
||||
<classname>RecursiveDirectoryIterator</classname>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>alias</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Alias with which this Phar archive should be referred to in calls to stream
|
||||
functionality.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>format</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One of the
|
||||
<link linkend="phar.constants.fileformat">file format constants</link>
|
||||
available within the <classname>Phar</classname> class.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -41,8 +63,9 @@
|
|||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Throws BadMethodCallException if called twice, UnexpectedValueException
|
||||
if the phar archive can't be opened.
|
||||
Throws <classname>BadMethodCallException</classname> if called twice;
|
||||
<classname>UnexpectedValueException</classname> if the Phar archive can't
|
||||
be opened.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue