<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/class.event.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'event.getsupportedmethods.php', 1 => 'Event::getSupportedMethods', 2 => 'Returns array with of the names of the methods supported in this version of Libevent', ), 'up' => array ( 0 => 'class.event.php', 1 => 'Event', ), 'prev' => array ( 0 => 'event.free.php', 1 => 'Event::free', ), 'next' => array ( 0 => 'event.pending.php', 1 => 'Event::pending', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/event/getsupportedmethods.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="event.getsupportedmethods" class="refentry"> <div class="refnamediv"> <h1 class="refname">Event::getSupportedMethods</h1> <p class="verinfo">(PECL event >= 1.2.6-beta)</p><p class="refpurpose"><span class="refname">Event::getSupportedMethods</span> — <span class="dc-title">Returns array with of the names of the methods supported in this version of Libevent</span></p> </div> <div class="refsect1 description" id="refsect1-event.getsupportedmethods-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><strong>Event::getSupportedMethods</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div> <p class="para rdfs-comment"> Returns array with of the names of the methods(backends) supported in this version of Libevent. </p> </div> <div class="refsect1 parameters" id="refsect1-event.getsupportedmethods-parameters"> <h3 class="title">参数</h3> <p class="para">此函数没有参数。</p> </div> <div class="refsect1 returnvalues" id="refsect1-event.getsupportedmethods-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> Returns array. </p> </div> <div class="refsect1 seealso" id="refsect1-event.getsupportedmethods-seealso"> <h3 class="title">参见</h3> <ul class="simplelist"> <li> <span class="classname"><a href="class.eventconfig.php" class="classname">EventConfig</a></span> </li> </ul> </div> </div><?php manual_footer($setup); ?>