UI\Controls\Form::append

Append Control

Description

public integer UI\Controls\Form::append ( string $label , UI\Control $control [, boolean $stretchy = false ] )

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