EzTable
class EzTable extends FormItem
Traits
字段属性
Properties
protected Fluent | $fieldAttr | 字段的属性 | from UseFieldAttr |
protected mixed | $default | 默认的数据 | from FormItem |
array read-only | $rules | 规则 | from FormItem |
protected bool | $toModel | 是否将此KEY, 加入提交模型 |
from FormItem |
string read-only | $label | 标签 | from FormItem |
string read-only | $name | Name | from FormItem |
Methods
false|Application|Factory|Validator
getValidator(array $input)
Get validator for this field.
from
FormItem
Details
in
UseFieldAttr at line 20
protected
fieldAttrInit()
No description
in
UseFieldAttr at line 29
protected object
fieldAttr()
获取属性列表
in
UseFieldAttr at line 40
UseFieldAttr
setAttribute($attr, $value)
字段属性
in
UseFieldAttr at line 51
mixed
getAttribute($attr)
获取属性
in
FormItem at line 77
__construct(string $name, string $label)
表单条目
in
FormItem at line 121
string
__get($attr)
获取字段属性
in
FormItem at line 133
false|Application|Factory|Validator
getValidator(array $input)
Get validator for this field.
in
FormItem at line 155
struct()
返回当前表单字段的结构
in
FormItem at line 185
mixed
getDefault()
默认数据值
in
FormItem at line 194
bool
getToModel()
此条件是否加入到模型
in
FormItem at line 203
protected object
attributes()
获取属性列表
at line 15
EzTable
easy(array $data)
Easy Table 的数据