update : 2015.11.03
php.shukuma.com

검색:
 
 
Add several components to the form

newt_form_add_components

(PECL newt >= 0.1)

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

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

참고