mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
fixed description and example text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349302 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ad0da591b1
commit
c2bebb37ef
1 changed files with 5 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
<refentry xml:id="ziparchive.replacefile" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ZipArchive::replaceFile</refname>
|
||||
<refpurpose>Replaces a file to a ZIP archive from the given path</refpurpose>
|
||||
<refpurpose>Replace file in ZIP archive with a given path</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -16,7 +16,7 @@
|
|||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Replace a file to a ZIP archive from a given path.
|
||||
Replace file in ZIP archive with a given path.
|
||||
</para>
|
||||
&zip.filename.separator;
|
||||
</refsect1>
|
||||
|
@ -84,12 +84,11 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
This example opens a ZIP file archive
|
||||
<filename>test.zip</filename> and add
|
||||
the file <filename>/path/to/index.txt</filename>.
|
||||
as <filename>newname.txt</filename>.
|
||||
<filename>test.zip</filename> and replaces index 1 entry
|
||||
with <filename>/path/to/index.txt</filename>.
|
||||
</para>
|
||||
<example>
|
||||
<title>Open and add</title>
|
||||
<title>Open and replace</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue