mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
fixed parameter type and added simple example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@205770 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
985441012a
commit
6d5e2ba1e2
1 changed files with 16 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.imap-reopen">
|
||||
<refnamediv>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<type>bool</type><methodname>imap_reopen</methodname>
|
||||
<methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>mailbox</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>options</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
This function reopens the specified stream to a new
|
||||
|
@ -50,7 +50,21 @@
|
|||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
<example>
|
||||
<title><function>imap_reopen</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$mbox = imap_open("{mailget.mysql.com:143/novalidate-cert}INBOX", "hholzgraefe", "nomore6nomore6") or die(join(", ", imap_errors()));
|
||||
// ...
|
||||
imap_reopen($mbox, "{mailget.mysql.com:143}Inbox.Sent") or die(join(", ", imap_errors()));
|
||||
// ..
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
Loading…
Reference in a new issue