NEWT_FORM_ADD_COMPONENTS(3) 1 NEWT_FORM_ADD_COMPONENTS(3)
newt_form_add_components - Add several components to the form
SYNOPSIS
void newt_form_add_components (resource $form, array $components)
DESCRIPTION
Adds several components to the $form.
PARAMETERS
o $form
- Form to which components will be added
o $components
- Array of components to add to the form
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
A newt_form_add_components(3) example
<?php
$form = newt_form();
$b1 = newt_button(5, 12, "Run Tool");
$b2 = newt_button(21, 12, "Quit");
newt_form_add_components($form, array($b1, $b2));
?>
SEE ALSO
newt_form_add_component(3).
PHP Documentation Group NEWT_FORM_ADD_COMPONENTS(3)