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

71 lines
2.4 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>Destroys a form</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.newt-form-destroy" class="refentry">
<div class="refnamediv">
<h1 class="refname">newt_form_destroy</h1>
<p class="verinfo">(PECL newt &gt;= 0.1)</p><p class="refpurpose"><span class="refname">newt_form_destroy</span> &mdash; <span class="dc-title">Destroys a form</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.newt-form-destroy-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>newt_form_destroy</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$form</code></span>
) : <span class="type"><span class="type void">void</span></span></div>
<p class="para rdfs-comment">
This function frees the memory resources used by the form and all of the
components which have been added to the form (including those components
which are on subforms). Once a form has been destroyed, none of the form&#039;s
components can be used.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.newt-form-destroy-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">form</code></dt>
<dd>
<p class="para">
Form component, which is going to be destroyed
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.newt-form-destroy-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
没有返回值。
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.newt-form-destroy-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_run_form.html" class="function" rel="rdfs-seeAlso">newt_run_form()</a> - Runs a form</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>