php man page for newt_form_add_component

Query: newt_form_add_component

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
pool_component_info(3pool) - opensolaris
get_cfg_var(3) - php
fdf_open(3) - php
newt_form_run(3) - php
mason::component::classmeta(3pm) - debian
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Status of UNIX.COM Forum Transformation
Please Welcome Nicki Paul to the Moderator Team!