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

91 lines
3.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>Wait for an event to be posted by the database</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.ibase-wait-event" class="refentry">
<div class="refnamediv">
<h1 class="refname">ibase_wait_event</h1>
<p class="verinfo">(PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">ibase_wait_event</span> &mdash; <span class="dc-title">Wait for an event to be posted by the database</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.ibase-wait-event-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>ibase_wait_event</strong></span>
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$event_name1</code></span>
[, <span class="methodparam"><span class="type">string</span> <code class="parameter">$...</code></span>
] ) : <span class="type">string</span></div>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>ibase_wait_event</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">$event_name1</code></span>
[, <span class="methodparam"><span class="type">string</span> <code class="parameter">$...</code></span>
] ) : <span class="type">string</span></div>
<p class="para rdfs-comment">
This function suspends execution of the script until one of the specified events
is posted by the database. The name of the event that was posted is returned. This
function accepts up to 15 event arguments.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.ibase-wait-event-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">event_name1</code></dt>
<dd>
<p class="para">
The event name.
</p>
</dd>
<dt>
<code class="parameter">...</code></dt>
<dd>
<p class="para">
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.ibase-wait-event-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
Returns the name of the event that was posted.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.ibase-wait-event-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="ibase_set_event_handler.html" class="function" rel="rdfs-seeAlso">ibase_set_event_handler()</a> - Register a callback function to be called when events are posted</span></li>
<li class="member"><span class="function"><a href="ibase_free_event_handler.html" class="function" rel="rdfs-seeAlso">ibase_free_event_handler()</a> - Cancels a registered event handler</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>