newt_form_add_component(3) php man page | unix.com

Man Page: newt_form_add_component

Operating Environment: php

Section: 3

NEWT_FORM_ADD_COMPONENT(3)						 1						NEWT_FORM_ADD_COMPONENT(3)

newt_form_add_component - Adds a single component to the form

SYNOPSIS
void newt_form_add_component (resource $form, resource $component)
DESCRIPTION
Adds a single component to the $form.
PARAMETERS
o $form - Form to which component will be added o $component - Component to add to the form
RETURN VALUES
No value is returned.
EXAMPLES
Example #1 A newt_form_add_component(3) example <?php $form = newt_form(); $options = array("Authentication configuration", "Firewall configuration", "Mouse configuration", "Network configuration", "Printer configuration", "System services"); $list = newt_listbox(3, 2, 10); foreach ($options as $l_item) { newt_listbox_add_entry($list, $l_item, $l_item); } newt_form_add_component($form, $list); ?>
SEE ALSO
newt_form_add_components(3). PHP Documentation Group NEWT_FORM_ADD_COMPONENT(3)
Related Man Pages
newt_form(3) - php
basename(3) - php
imagecolorset(3) - php
output_add_rewrite_var(3) - php
yaz_ccl_conf(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update