GoLang newt_form_add_components

request it (388)
GoLang replacement for PHP's newt_form_add_components [edit | history]



Do you know a GoLang replacement for PHP's newt_form_add_components? Write it!

PHP newt_form_add_components

PHP original manual for newt_form_add_components [ show | php.net ]

newt_form_add_components

(PECL newt >= 0.1)

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

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

See Also