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

77 lines
2.8 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>Runs a form</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.newt-run-form" class="refentry">
<div class="refnamediv">
<h1 class="refname">newt_run_form</h1>
<p class="verinfo">(PECL newt &gt;= 0.1)</p><p class="refpurpose"><span class="refname">newt_run_form</span> &mdash; <span class="dc-title">Runs a form</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.newt-run-form-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>newt_run_form</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$form</code></span>
) : <span class="type">resource</span></div>
<p class="para rdfs-comment">
This function runs the form passed to it.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.newt-run-form-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">form</code></dt>
<dd>
<p class="para">
Form component
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.newt-run-form-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
The component which caused the form to stop running.
</p>
<blockquote class="note"><p><strong class="note">Note</strong>:
<p class="para">
Notice that this function doesn&#039;t fit in with newt&#039;s normal naming
convention. It is an older interface which will not work for all forms. It
was left in newt only for legacy applications. It is a simpler interface
than the new <span class="function"><a href="newt_form_run.html" class="function">newt_form_run()</a></span> though, and is still used quite often as a
result. When an application is done with a form, it destroys the form and
all of the components the form contains.
</p>
</p></blockquote>
</div>
<div class="refsect1 seealso" id="refsect1-function.newt-run-form-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="newt_form_run.html" class="function" rel="rdfs-seeAlso">newt_form_run()</a> - Runs a form</span></li>
<li class="member"><span class="function"><a href="newt_form_destroy.html" class="function" rel="rdfs-seeAlso">newt_form_destroy()</a> - Destroys a form</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>