newt_form_add_components

(PECL)

newt_form_add_components -- Add several components to the form

Description

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

Return Values

No value is returned.

Examples

Example 1. A newt_form_add_components() 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));
?>


Follow phpf1 on Twitter




F1 Site Family
AJAX F1
HTML F1
Java F1
JavaScript F1
PHP F1

Total time: 0.1344