mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
add flags in options of ZipArchive::addGlob (and addPattern)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349283 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9cbc3cf859
commit
298c5edd24
1 changed files with 38 additions and 0 deletions
|
@ -73,6 +73,20 @@
|
|||
&true; to use the file name only and add to the root of the archive.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>"flags"</literal>
|
||||
</para>
|
||||
<para>
|
||||
Bitmask consisting of
|
||||
<constant>ZipArchive::FL_OVERWRITE</constant>,
|
||||
<constant>ZipArchive::FL_ENC_GUESS</constant>,
|
||||
<constant>ZipArchive::FL_ENC_UTF_8</constant>,
|
||||
<constant>ZipArchive::FL_ENC_CP437</constant>.
|
||||
The behaviour of these constants is described on the
|
||||
<link linkend="zip.constants">ZIP constants</link> page.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</listitem>
|
||||
|
@ -87,6 +101,30 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0 / 1.18.0</entry>
|
||||
<entry>
|
||||
<literal>"flags"</literal> in <parameter>options</parameter> was added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example xml:id="ziparchive.addglob.example.basic">
|
||||
|
|
Loading…
Reference in a new issue