class OnOffOption extends Option

Traits

Properties

protected Fluent $fieldAttr 字段的属性 from  UseFieldAttr

Methods

fieldAttrInit()

No description

object
fieldAttr()

获取属性列表

setAttribute($attr, $value)

字段属性

mixed
getAttribute($attr)

获取属性

__construct()

No description

from  Option
struct()

返回结构化数据

from  Option
placeholder(array|string $ph)

No description

Details

in UseFieldAttr at line 20
protected fieldAttrInit()

No description

in UseFieldAttr at line 29
protected object fieldAttr()

获取属性列表

Return Value

object

in UseFieldAttr at line 40
UseFieldAttr setAttribute($attr, $value)

字段属性

Parameters

$attr
$value

Return Value

UseFieldAttr

in UseFieldAttr at line 51
mixed getAttribute($attr)

获取属性

Parameters

$attr

Return Value

mixed

in Option at line 13
__construct()

No description

in Option at line 23
struct()

返回结构化数据

in UsePlaceholder at line 15
UsePlaceholder placeholder(array|string $ph)

No description

Parameters

array|string $ph 占位符

Return Value

UsePlaceholder