Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [newt_form_add_components]

Protect Your Website Today


PHP Manual || Newt Functions

(PECL newt >= 0.1)

newt_form_add_componentsAdd several components to the form

Description

newt_form_add_components ( resource $form , array $components ) : void

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(512"Run Tool");
$b2 newt_button(2112"Quit");

newt_form_add_components($form, array($b1$b2));
?>

See Also



PHP Manual || Newt Functions