downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

newt_form_add_hot_key> <newt_form_add_component
Last updated: Fri, 24 Sep 2010

view this page in

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



add a note add a note User Contributed Notes
newt_form_add_components
There are no user contributed notes for this page.

newt_form_add_hot_key> <newt_form_add_component
Last updated: Fri, 24 Sep 2010
 
 
show source | credits | sitemap | contact | advertising | mirror sites