PHP 7.4.0RC6 Released!

newt_form_add_components

(PECL newt >= 0.1)

newt_form_add_componentsAdd several components to the form

Açıklama

newt_form_add_components ( resource $form , array $components ) : void

Adds several components to the form.

Değiştirgeler

form

Form to which components will be added

components

Array of components to add to the form

Dönen Değerler

Hiçbir değer dönmez.

Örnekler

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

Ayrıca Bakınız

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top