PHP Doku:: Add several components to the form - function.newt-form-add-components.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzEingabezeilenspezifische ErweiterungenNewtNewt Funktionennewt_form_add_components

Ein Service von Reinhard Neidl - Webprogrammierung.

Newt Funktionen

<<newt_form_add_component

newt_form_add_hot_key>>

newt_form_add_components

(PECL newt >= 0.1)

newt_form_add_componentsAdd several components to the form

Beschreibung

void newt_form_add_components ( resource $form , array $components )

Adds several components to the form.

Parameter-Liste

form

Form to which components will be added

components

Array of components to add to the form

Rückgabewerte

Es wird kein Wert zurückgegeben.

Beispiele

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

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)