PHP 日本大会 2024

UI\Controls\Form::append

(UI 0.9.9)

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

描述

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

将控件追加到表单,并设置标签。

参数

label

标签文本

control

一个控件

stretchy

应设置为 true 以拉伸控件

返回值

返回追加控件的索引,可能为 0

添加注释

用户贡献的注释

此页面没有用户贡献的注释。
To Top