mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-23 12:28:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@141299 c90b9560-bf6c-de11-be94-00142212c4b1
72 lines
2.5 KiB
XML
72 lines
2.5 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<!-- splitted from ./en/functions/zip.xml, last change in rev 1.11 -->
|
|
<refentry id="function.zip-entry-open">
|
|
<refnamediv>
|
|
<refname>zip_entry_open</refname>
|
|
<refpurpose>Open a Directory Entry for Reading</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>zip_entry_open</methodname>
|
|
<methodparam><type>resource</type><parameter>zip</parameter></methodparam>
|
|
<methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam>
|
|
<methodparam choice="opt"><type>string</type><parameter>mode</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Opens a directory entry in a zip file for reading. The parameter
|
|
<parameter>zip</parameter> is a valid resource handle returned by
|
|
<function>zip_open</function>. The parameter
|
|
<parameter>zip_entry</parameter> is a directory entry resource
|
|
returned by <function>zip_read</function>. The optional
|
|
parameter <parameter>mode</parameter> can be any of the modes
|
|
specified in the documentation for <function>fopen</function>.
|
|
</para>
|
|
<note>
|
|
<para>
|
|
Currently, <parameter>mode</parameter> is ignored and is always
|
|
<literal>"rb"</literal>. This is due to the fact that zip
|
|
support in PHP is read only access. Please see
|
|
<function>fopen</function> for an explanation of various modes,
|
|
including <literal>"rb"</literal>.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
&return.success;
|
|
</para>
|
|
<note>
|
|
<para>
|
|
Unlike <function>fopen</function> and other similar functions,
|
|
the return value of <function>zip_entry_open</function> only
|
|
indicates the result of the operation and is not needed for
|
|
reading or closing the directory entry.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
See also <function>zip_entry_read</function> and
|
|
<function>zip_entry_close</function>.
|
|
</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:"../../../../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
|
|
-->
|