svn: /phpdoc/ja/trunk/reference/zip/ziparchive/ addfile.xml replacefile.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Mon, 09 Mar 2020 22:23:41 +0000

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

Log:
ZipArchive::{add,replace}File: start/length paramaters are now used

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

Modified: phpdoc/ja/trunk/reference/zip/ziparchive/addfile.xml
===================================================================
--- phpdoc/ja/trunk/reference/zip/ziparchive/addfile.xml	2020-03-09 17:00:08 UTC (rev 349362)
+++ phpdoc/ja/trunk/reference/zip/ziparchive/addfile.xml	2020-03-09 22:23:41 UTC (rev 349363)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349350 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349360 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="ziparchive.addfile" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -46,7 +46,7 @@
      <term><parameter>start</parameter></term>
      <listitem>
       <para>
-       このパラメータは使いませんが、<classname>ZipArchive</classname> を継承するためには必要です。
+       ファイルを一部コピーする場合の開始位置。
       </para>
      </listitem>
     </varlistentry>
@@ -54,7 +54,8 @@
      <term><parameter>length</parameter></term>
      <listitem>
       <para>
-       このパラメータは使いませんが、<classname>ZipArchive</classname> を継承するためには必要です。
+       ファイルを一部コピーする場合の、コピーする長さ。
+       0 または -1 を指定すると(<parameter>start</parameter> の位置から)ファイル全体をコピーします。
       </para>
      </listitem>
     </varlistentry>

Modified: phpdoc/ja/trunk/reference/zip/ziparchive/replacefile.xml
===================================================================
--- phpdoc/ja/trunk/reference/zip/ziparchive/replacefile.xml	2020-03-09 17:00:08 UTC (rev 349362)
+++ phpdoc/ja/trunk/reference/zip/ziparchive/replacefile.xml	2020-03-09 22:23:41 UTC (rev 349363)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349302 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 349360 Maintainer: mumumu Status: ready -->
 <refentry xml:id="ziparchive.replacefile" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>ZipArchive::replaceFile</refname>
@@ -45,8 +45,7 @@
      <term><parameter>start</parameter></term>
      <listitem>
       <para>
-       このパラメータをここでは使いませんが、
-       <classname>ZipArchive</classname> を継承するのに必要です。
+       ファイルを一部コピーする場合の開始位置。
       </para>
      </listitem>
     </varlistentry>
@@ -54,8 +53,8 @@
      <term><parameter>length</parameter></term>
      <listitem>
       <para>
-       このパラメータをここでは使いませんが、
-       <classname>ZipArchive</classname> を継承するのに必要です。
+       ファイルを一部コピーする場合の、コピーする長さ。
+       0 または -1 を指定すると(<parameter>start</parameter> の位置から)ファイル全体をコピーします。
       </para>
      </listitem>
     </varlistentry>
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.