php教程

newt_form_run

(PECL newt >= 0.1)

newt_form_runRuns a form

说明

newt_form_run ( resource $form , array &$exit_struct ) : void

This function runs the form passed to it.

参数

form

Form component

exit_struct

Array, used for returning information after running the form component. Keys and values are described in the following table:

Form Exit Structure
Index Key Value Type Description
reason integer The reason, why the form has been exited. Possible values are defined here.
watch resource Resource link, specified in newt_form_watch_fd()
key integer Hotkey
component resource Component, which caused the form to exit

返回值

没有返回值。

参见

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788