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

35 lines
1.3 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>Create new event</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.event-new" class="refentry">
<div class="refnamediv">
<h1 class="refname">event_new</h1>
<p class="verinfo">(PECL libevent &gt;= 0.0.1)</p><p class="refpurpose"><span class="refname">event_new</span> &mdash; <span class="dc-title">Create new event</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.event-new-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>event_new</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">resource</span></div>
<p class="para rdfs-comment">
Creates and returns a new event resource.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.event-new-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
<span class="function"><strong>event_new()</strong></span> returns a new event resource on success or <strong><code>FALSE</code></strong> on error.
</p>
</div>
</div></div></div></body></html>