newt_form_add_components

(PECL newt >= 0.1)
Add several components to the form
void newt_form_add_components ( resource $form, array $components )

Adds several components to the form.

Parameters:
form

Form to which components will be added

components

Array of components to add to the form

Returns:

No value is returned.

Examples:
A newt_form_add_components() example
1
2
3
4
5
6
7
8
<?php
$form = newt_form();
 
$b1 = newt_button(5, 12, "Run Tool");
$b2 = newt_button(21, 12, "Quit");
 
newt_form_add_components($formarray($b1$b2));
?>
See also:

newt_form_add_component() -

doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.