function.newt-form-run.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 142 行

HTML
142
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Runs a form</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-form-get-current.html">newt_form_get_current</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-form-set-background.html">newt_form_set_background</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.newt-form-run" class="refentry"> <div class="refnamediv">  <h1 class="refname">newt_form_run</h1>  <p class="verinfo">(PECL newt:0.1-1.1)</p><p class="refpurpose"><span class="refname">newt_form_run</span> &mdash; <span class="dc-title">Runs a form</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type"><span class="type void">void</span></span> <span class="methodname"><b><b>newt_form_run</b></b></span>    ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$form</tt></span>   , <span class="methodparam"><span class="type">array</span> <tt class="parameter reference">&$exit_struct</tt></span>   )</div>  <p class="para rdfs-comment">   This function runs the form passed to it.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">form</tt></i></span>     <dd>      <p class="para">       Form component      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">exit_struct</tt></i></span>     <dd>      <p class="para">       Array, used for returning information after running the form component.       Keys and values are described in the following table:       <table border="5">        <caption><b>Form Exit Structure</b></caption>        <colgroup>         <thead valign="middle">          <tr valign="middle">           <th colspan="1">Index Key</th>           <th colspan="1">Value Type</th>           <th colspan="1">Description</th>          </tr>         </thead>         <tbody valign="middle" class="tbody">          <tr valign="middle">           <td colspan="1" rowspan="1" align="left">reason</td>           <td colspan="1" rowspan="1" align="left">integer</td>           <td colspan="1" rowspan="1" align="left">            The reason, why the form has been exited. Possible values are            defined <a href="newt.constants.html#constants.newt.reasons" class="link">here</a>.           </td>          </tr>          <tr valign="middle">           <td colspan="1" rowspan="1" align="left">watch</td>           <td colspan="1" rowspan="1" align="left">resource</td>           <td colspan="1" rowspan="1" align="left">Resource link, specified in           <a href="function.newt-form-watch-fd.html" class="function">newt_form_watch_fd()</a></td>          </tr>          <tr valign="middle">           <td colspan="1" rowspan="1" align="left">key</td>           <td colspan="1" rowspan="1" align="left">integer</td>           <td colspan="1" rowspan="1" align="left">Hotkey</td>          </tr>          <tr valign="middle">           <td colspan="1" rowspan="1" align="left">component</td>           <td colspan="1" rowspan="1" align="left">resource</td>           <td colspan="1" rowspan="1" align="left">Component, which caused the form to exit</td>          </tr>         </tbody>        </colgroup>       </table>      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   No value is returned.  </p> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="function.newt-run-form.html" class="function" rel="rdfs-seeAlso">newt_run_form()</a></li>   </ul>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-form-get-current.html">newt_form_get_current</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-form-set-background.html">newt_form_set_background</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?