Skip to content

Commit

Permalink
Update zip
Browse files Browse the repository at this point in the history
  • Loading branch information
mowangjuanzi committed Dec 1, 2023
1 parent 2cd9c91 commit dce33d9
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
61 changes: 61 additions & 0 deletions reference/zip/ziparchive/clearerror.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 476ab39857fb032076f280fa5397ed483bf7e28d Maintainer: mowangjuanzi Status: ready -->
<refentry xml:id="ziparchive.clearerror" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::clearError</refname>
<refpurpose>清除状态错误消息、系统和/或 zip 消息</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="ZipArchive">
<modifier>public</modifier> <type>void</type><methodname>ZipArchive::clearError</methodname>
<void/>
</methodsynopsis>
<para>
清除状态错误消息、系统和/或 zip 消息。
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.void;
</para>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><methodname>ZipArchive::getStatusString</methodname></member>
</simplelist>
</para>
</refsect1>

</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
6 changes: 5 additions & 1 deletion reference/zip/ziparchive/extractto.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 476ab39857fb032076f280fa5397ed483bf7e28d Maintainer: bear Status: ready -->
<!-- EN-Revision: b61758269e3619194047cb5d6d4962734372c0a6 Maintainer: bear Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="ziparchive.extractto" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -21,6 +21,10 @@
<para>
提取的文件和目录的默认权限提供尽可能广泛的访问权限。这可以通过设置当前 umask 来限制,可以使用 <function>umask</function> 更改。
</para>
<para>
出于安全原因,不会恢复原始权限。有关如何还原的示例,请参阅 <methodname>ZipArchive::getExternalAttributesIndex</methodname>
页面上的<link linkend="ziparchive.getexternalattributesindex.examples.perms">代码示例</link>。
</para>
</warning>
</refsect1>
<refsect1 role="parameters">
Expand Down

0 comments on commit dce33d9

Please sign in to comment.