mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
72 lines
2.4 KiB
HTML
72 lines
2.4 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>Allocate mnoGoSearch session</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.udm-alloc-agent-array" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">udm_alloc_agent_array</h1>
|
|
<p class="verinfo">(PHP 4 >= 4.3.3, PHP 5 < 5.1.0, PECL mnogosearch >= 1.0.0)</p><p class="refpurpose"><span class="refname">udm_alloc_agent_array</span> — <span class="dc-title">Allocate mnoGoSearch session</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.udm-alloc-agent-array-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>udm_alloc_agent_array</strong></span>
|
|
( <span class="methodparam"><span class="type">array</span> <code class="parameter">$databases</code></span>
|
|
) : <span class="type">resource</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
<span class="function"><strong>udm_alloc_agent_array()</strong></span> will create an agent
|
|
with multiple database connections.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.udm-alloc-agent-array-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">databases</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The array <code class="parameter">databases</code> must contain one database
|
|
URL per element, analog to the first parameter of
|
|
<span class="function"><a href="udm_alloc_agent.html" class="function">udm_alloc_agent()</a></span>.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.udm-alloc-agent-array-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns a resource link identifier on success 或者在失败时返回 <strong><code>FALSE</code></strong>.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.udm-alloc-agent-array-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="udm_alloc_agent.html" class="function" rel="rdfs-seeAlso">udm_alloc_agent()</a> - Allocate mnoGoSearch session</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div></div></div></body></html> |