uTools-Manuals/docs/php/imap_alerts.html
2019-04-28 19:00:34 +08:00

49 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Returns all IMAP alert messages that have occurred</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.imap-alerts" class="refentry">
<div class="refnamediv">
<h1 class="refname">imap_alerts</h1>
<p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">imap_alerts</span> &mdash; <span class="dc-title">Returns all IMAP alert messages that have occurred</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.imap-alerts-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>imap_alerts</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">array</span></div>
<p class="para rdfs-comment">
Returns all of the <acronym title="Internet Message Access Protocol">IMAP</acronym> alert messages generated since the last
<span class="function"><strong>imap_alerts()</strong></span> call, or the beginning of the page.
</p>
<p class="para">
When <span class="function"><strong>imap_alerts()</strong></span> is called, the alert stack is
subsequently cleared. The <acronym title="Internet Message Access Protocol">IMAP</acronym> specification requires that these messages
be passed to the user.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.imap-alerts-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
Returns an array of all of the IMAP alert messages generated or <strong><code>FALSE</code></strong> if
no alert messages are available.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.imap-alerts-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="imap_errors.html" class="function" rel="rdfs-seeAlso">imap_errors()</a> - Returns all of the IMAP errors that have occurred</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>