php8.5
Home/ Manual/ controls / form/ UI\Controls\Form::append

UI\Controls\Form::append

PHP function Edit on GitHub ✎

(UI 0.9.9)

Append Control

Description

UI\Controls\Form::append(string $label, UI\Control $control, bool $stretchy = false): int

Shall append the control to the form, and set the label

Parameters

label

The text for the label

control

A control

stretchy

Should be set true to stretch the control

Return Values

Shall return the index of the appended control, may be 0

Source: reference/ui/ui/controls/form/append.xml · from the official PHP manual (php/doc-en)