<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ibase.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.ibase-wait-event.php',
    1 => 'ibase_wait_event',
    2 => 'Wait for an event to be posted by the database',
  ),
  'up' => 
  array (
    0 => 'ref.ibase.php',
    1 => 'Firebird/InterBase 函数',
  ),
  'prev' => 
  array (
    0 => 'function.ibase-trans.php',
    1 => 'ibase_trans',
  ),
  'next' => 
  array (
    0 => 'book.ibm-db2.php',
    1 => 'IBM DB2',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ibase/functions/ibase-wait-event.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<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 &lt; 7.4.0)</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"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$event_name</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">...$event_names</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <div class="methodsynopsis dc-description"><span class="methodname"><strong>ibase_wait_event</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$connection</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$event_name</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">...$event_names</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="simpara">
   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>
  <dl>
   
    <dt><code class="parameter">event_name</code></dt>
    <dd>
     <span class="simpara">
      The event name.
     </span>
    </dd>
   
   
    <dt><code class="parameter">event_names</code></dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ibase-wait-event-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="simpara">
   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>
  <ul class="simplelist">
   <li><span class="function"><a href="function.ibase-set-event-handler.php" class="function" rel="rdfs-seeAlso">ibase_set_event_handler()</a> - Register a callback function to be called when events are posted</span></li>
   <li><span class="function"><a href="function.ibase-free-event-handler.php" class="function" rel="rdfs-seeAlso">ibase_free_event_handler()</a> - Cancels a registered event handler</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>