svn: /phpdoc/ja/trunk/reference/zip/ziparchive/ addglob.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Tue, 03 Mar 2020 00:49:07 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=349288

Log:
add flags in options of  ZipArchive::addGlob (and addPattern)

Changed paths:
    U   phpdoc/ja/trunk/reference/zip/ziparchive/addglob.xml

Modified: phpdoc/ja/trunk/reference/zip/ziparchive/addglob.xml
===================================================================
--- phpdoc/ja/trunk/reference/zip/ziparchive/addglob.xml	2020-03-03 00:48:44 UTC (rev 349287)
+++ phpdoc/ja/trunk/reference/zip/ziparchive/addglob.xml	2020-03-03 00:49:07 UTC (rev 349288)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344995 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349283 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->

 <refentry xml:id="ziparchive.addglob" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -74,6 +75,19 @@
          &true; にすると、ファイル名だけを使ってアーカイブのルートに追加します。
         </para>
        </listitem>
+       <listitem>
+        <para>
+         <literal>"flags"</literal>
+        </para>
+        <para>
+         以下のビットマスクの組み合わせ:
+         <constant>ZipArchive::FL_OVERWRITE</constant>,
+         <constant>ZipArchive::FL_ENC_GUESS</constant>,
+         <constant>ZipArchive::FL_ENC_UTF_8</constant>,
+         <constant>ZipArchive::FL_ENC_CP437</constant>。
+         これらの定数の振る舞いは、<link linkend="zip.constants">定義済みの定数</link> で説明しています。
+        </para>
+       </listitem>
       </itemizedlist>
      </para>
     </listitem>
@@ -88,6 +102,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>
+        <parameter>options</parameter> に <literal>"flags"</literal> が追加されました。
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <example xml:id="ziparchive.addglob.example.basic">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.