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

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

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

Log:
add flags parameter to ZipArchive::addEmptyDir

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

Modified: phpdoc/ja/trunk/reference/zip/ziparchive/addemptydir.xml
===================================================================
--- phpdoc/ja/trunk/reference/zip/ziparchive/addemptydir.xml	2020-03-03 00:48:08 UTC (rev 349285)
+++ phpdoc/ja/trunk/reference/zip/ziparchive/addemptydir.xml	2020-03-03 00:48:25 UTC (rev 349286)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 322115 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349281 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
 <refentry xml:id="ziparchive.addemptydir" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>ZipArchive::addEmptyDir</refname>
@@ -11,6 +12,7 @@
   <methodsynopsis>
    <type>bool</type><methodname>ZipArchive::addEmptyDir</methodname>
    <methodparam><type>string</type><parameter>dirname</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
    空のディレクトリをアーカイブに追加します。
@@ -29,6 +31,18 @@
       </para>
      </listitem>
     </varlistentry>
+    <varlistentry>
+     <term><parameter>flags</parameter></term>
+     <listitem>
+      <para>
+       以下のビットマスクの組み合わせ:
+       <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>
+    </varlistentry>
    </variablelist>
   </para>
  </refsect1>
@@ -40,6 +54,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>flags</parameter> が追加されました。
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <example>
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.