MultiImage
final class MultiImage extends MultiFile
Properties
protected mixed | $default | 默认的数据 | from FormItem |
protected | $rules | from MultiFile | |
protected bool | $toModel | 是否将此KEY, 加入提交模型 |
from FormItem |
string read-only | $label | 标签 | from FormItem |
string read-only | $name | Name | from FormItem |
Methods
__construct(string $name, string $label)
表单条目
false|Application|Factory|Validator
getValidator(array $input)
Get validator for this field.
from
FormItem
Details
at line 7
__construct(string $name, string $label)
表单条目
in
FormItem at line 138
string
__get($attr)
获取字段属性
in
FormItem at line 150
false|Application|Factory|Validator
getValidator(array $input)
Get validator for this field.
in
FormItem at line 172
struct()
返回当前表单字段的结构
in
FormItem at line 202
mixed
getDefault()
默认数据值
in
FormItem at line 211
bool
getToModel()
此条件是否加入到模型
in
FormItem at line 221
protected mixed
getAttribute($attr)
获取属性
in
MultiFile at line 20
protected object
attributes()
匹配 max 规则