cvs: phpdoc-de /reference/zip/functions ziparchive-setarchivecomment.xml ziparchive-setcommentindex.xml ziparchive-setcommentname.xml
| From: | Carola 'Sammy' Kummert | Date: | Thu, 18 Dec 2008 18:54:55 +0000 |
| Subject: | cvs: phpdoc-de /reference/zip/functions ziparchive-setarchivecomment.xml ziparchive-setcommentindex.xml ziparchive-setcommentname.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2920@lists.php.net to get a copy of this message | ||
sammywg Thu Dec 18 18:54:55 2008 UTC
Modified files:
/phpdoc-de/reference/zip/functions ziparchive-setarchivecomment.xml
ziparchive-setcommentindex.xml
ziparchive-setcommentname.xml
Log:
sync to en
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-setarchivecomment.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-de/reference/zip/functions/ziparchive-setarchivecomment.xml
diff -u phpdoc-de/reference/zip/functions/ziparchive-setarchivecomment.xml:1.1
phpdoc-de/reference/zip/functions/ziparchive-setarchivecomment.xml:1.2
--- phpdoc-de/reference/zip/functions/ziparchive-setarchivecomment.xml:1.1 Thu Jul 10 22:37:31 2008
+++ phpdoc-de/reference/zip/functions/ziparchive-setarchivecomment.xml Thu Dec 18 18:54:55 2008
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
-<!-- EN-Revision: 1.2 Maintainer: sammywg Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.3 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.ziparchive-setarchivecomment" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setArchiveComment</refname>
<refpurpose>Setzt einen Kommentar zu einem ZIP-Archiv</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -43,16 +44,16 @@
<refsect1 role="examples">
&reftitle.examples;
- <example>
- <title>Ein Archiv erstellen und einen Kommentar hinzufügen</title>
- <programlisting role="php">
+ <example>
+ <title>Ein Archiv erstellen und einen Kommentar hinzufügen</title>
+ <programlisting role="php">
<![CDATA[
<?php
$zip = new ZipArchive;
$res = $zip->open('test.zip', ZipArchive::CREATE);
if ($res === TRUE) {
$zip->addFromString('test.txt', 'Der Dateiinhalt kommt hier');
- $z->setArchiveComment('Neuer Archivkommentar');
+ $zip->setArchiveComment('Neuer Archivkommentar');
$zip->close();
echo 'ok';
} else {
@@ -60,9 +61,10 @@
}
?>
]]>
- </programlisting>
- </example>
- </refsect1>
+ </programlisting>
+ </example>
+ </refsect1>
+
</refentry>
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-setcommentindex.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-de/reference/zip/functions/ziparchive-setcommentindex.xml
diff -u phpdoc-de/reference/zip/functions/ziparchive-setcommentindex.xml:1.1
phpdoc-de/reference/zip/functions/ziparchive-setcommentindex.xml:1.2
--- phpdoc-de/reference/zip/functions/ziparchive-setcommentindex.xml:1.1 Thu Jul 10 22:37:31 2008
+++ phpdoc-de/reference/zip/functions/ziparchive-setcommentindex.xml Thu Dec 18 18:54:55 2008
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
-<!-- EN-Revision: 1.3 Maintainer: sammywg Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.ziparchive-setcommentindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setCommentIndex</refname>
<refpurpose>Setzt einen Eintragskommentar, der via Eintragsindex bestimmt
wird.</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -18,6 +19,7 @@
Setzt einen Eintragskommentar, der via Eintragsindex bestimmt wird.
</para>
</refsect1>
+
<refsect1 role="parameters">
&reftitle.parameters;
<para>
@@ -41,23 +43,25 @@
</variablelist>
</para>
</refsect1>
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
- <example>
- <title>Ein Archiv öffnen und für einen Eintrag einen Kommentar
hinzufügen</title>
- <programlisting role="php">
+ <example>
+ <title>Ein Archiv öffnen und für einen Eintrag einen Kommentar
hinzufügen</title>
+ <programlisting role="php">
<![CDATA[
<?php
$zip = new ZipArchive;
$res = $zip->open('test.zip');
if ($res === TRUE) {
- $z->setCommentIndex(2, 'Neuer Eintragskommentar');
+ $zip->setCommentIndex(2, 'Neuer Eintragskommentar');
$zip->close();
echo 'ok';
} else {
@@ -65,11 +69,13 @@
}
?>
]]>
- </programlisting>
- </example>
- </refsect1>
+ </programlisting>
+ </example>
+ </refsect1>
+
</refentry>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-setcommentname.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-de/reference/zip/functions/ziparchive-setcommentname.xml
diff -u phpdoc-de/reference/zip/functions/ziparchive-setcommentname.xml:1.1
phpdoc-de/reference/zip/functions/ziparchive-setcommentname.xml:1.2
--- phpdoc-de/reference/zip/functions/ziparchive-setcommentname.xml:1.1 Thu Jul 10 22:37:31 2008
+++ phpdoc-de/reference/zip/functions/ziparchive-setcommentname.xml Thu Dec 18 18:54:55 2008
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
-<!-- EN-Revision: 1.3 Maintainer: sammywg Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.ziparchive-setCommentName" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setCommentName</refname>
<refpurpose>Setzt einen Eintragskommentar, der via Eintragsnamen bestimmt
wird.</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -52,15 +53,15 @@
<refsect1 role="examples">
&reftitle.examples;
- <example>
- <title>Ein Archiv öffnen und für einen Eintrag einen Kommentar
hinzufügen</title>
- <programlisting role="php">
+ <example>
+ <title>Ein Archiv öffnen und für einen Eintrag einen Kommentar
hinzufügen</title>
+ <programlisting role="php">
<![CDATA[
<?php
$zip = new ZipArchive;
$res = $zip->open('test.zip');
if ($res === TRUE) {
- $z->setCommentName('eintrag1.txt', 'Neuer Eintragskommentar');
+ $zip->setCommentName('eintrag1.txt', 'Neuer Eintragskommentar');
$zip->close();
echo 'ok';
} else {
@@ -68,9 +69,10 @@
}
?>
]]>
- </programlisting>
- </example>
- </refsect1>
+ </programlisting>
+ </example>
+ </refsect1>
+
</refentry>