newt_form_run

newt_form_run

(PECL)

newt_form_run -- Runs a form

Description

void newt_form_run ( resource form, array &exit_struct )

This function runs the form passed to it.

Parameters

form

Form component

exit_struct

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

Table 1. Form Exit Structure

Index KeyValue TypeDescription
reasoninteger The reason, why the form has been exited. Possible values are defined here.
watchresourceResource link, specified in newt_form_watch_fd()
keyintegerHotkey
componentresourceComponent, which caused the form to exit

See Also

newt_run_form()

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.