mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
70 lines
1.9 KiB
HTML
70 lines
1.9 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>Send a query to a Cyrus IMAP server</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.cyrus-query" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">cyrus_query</h1>
|
|
<p class="verinfo">(PHP 4 >= 4.1.0, PECL cyrus 1.0)</p><p class="refpurpose"><span class="refname">cyrus_query</span> — <span class="dc-title">Send a query to a Cyrus IMAP server</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.cyrus-query-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>cyrus_query</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$connection</code></span>
|
|
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$query</code></span>
|
|
) : <span class="type">array</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Sends a query to a Cyrus IMAP server.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.cyrus-query-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">connection</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The connection handle.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">query</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The query string.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.cyrus-query-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns an associative array with the following keys:
|
|
<em>text</em>, <em>msgno</em>,
|
|
and <em>keyword</em>.
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |