downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<newt_form_add_componentnewt_form_add_hot_key>
Last updated: Thu, 26 Jun 2008

newt_form_add_components

(PECL newt:0.1-1.1)

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));
?>



add a noteadd a note User Contributed Notes
Add several components to the form
There are no user contributed notes for this page.




<newt_form_add_componentnewt_form_add_hot_key>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs