PHP Conference Japan 2024

UI\Controls\Form::append

(UI 0.9.9)

UI\Controls\Form::append附加控件

說明

public UI\Controls\Form::append(字串 $label, UI\Control $control, 布林值 $stretchy = false): 整數

將控件附加到表單,並設定標籤

參數

label(標籤)

標籤的文字

control(控件)

一個控件

stretchy(可伸縮)

設定為 true 以伸展控件

回傳值

將回傳附加控件的索引,可能是 0

新增註記

使用者提供的註記

此頁面沒有使用者提供的註記。
To Top