Newt
PHP Manual

newt_form_add_components

(PECL newt:0.1-1.1)

newt_form_add_components — Add several components to the form

Опи�ание

void newt_form_add_components ( resource $form , array $components )

Adds several components to the form .

Спи�ок параметров

form

Form to which components will be added

components

Array of components to add to the form

Возвращаемые значени�

Эта функци� не возвращает значени� по�ле выполнени�.

Примеры

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

Смотрите также


Newt
PHP Manual