RadioButtonAjaxHelper

Extends \FineUIPHP\Base\BoxComponent\Field\FieldAjaxHelper

复选框控件帮助类

package

FineUIPHP\UI\RadioButton

Methods

构造函数

__construct(\FineUIPHP\UI\RadioButton\RadioButton $source) 

添加控件样式类

addCssStyle(string $cssClass) : $this
inherited

Arguments

$cssClass

string

Response

$this

设置HTML标签属性

attribute(string $key, string $value) : $this
inherited

Arguments

$key

string

$value

string

Response

$this

设置是否选中

checked(boolean $isChecked) : $this

Arguments

$isChecked

boolean

Response

$this

清除验证失败的提示信息

clearInvalid() : $this
inherited

Response

$this

设置控件样式

cssStyle(string $style) : $this
inherited

Arguments

$style

string

Response

$this

设置控件的禁用状态

disabled(boolean $disabled) : $this
inherited

Arguments

$disabled

boolean

Response

$this

设置控件的启用状态

enabled(boolean $enabled) : $this
inherited

Arguments

$enabled

boolean

Response

$this

使控件获得焦点

focus() : $this
inherited

Response

$this

获取清除验证失败提示信息的客户端脚本

getClearInvalidReference() : string
inherited

Response

string

获得使控件获得焦点的脚本

getFocusReference() : string
inherited

Response

string

JS脚本

获取字段验证失败提示信息的客户端脚本

getMarkInvalidReference( $message) : string
inherited

Arguments

$message

string 提示信息

Response

string

获取重置此字段的客户端脚本

getResetReference() : string
inherited

Response

string

获取此字段值的客户端脚本(注意返回的脚本不带结束分号)

getValueReference() : string
inherited

Response

string

设置控件的隐藏状态

hidden(boolean $hidden) : $this
inherited

Arguments

$hidden

boolean

Response

$this

设置字段验证失败的提示信息

markInvalid( $message) : $this
inherited

Arguments

$message

string 提示信息

Response

$this

删除控件样式类

removeCssStyle(string $cssClass) : $this
inherited

Arguments

$cssClass

string

Response

$this

重置此字段的值(比如用来清空FileUpload的内容)

reset() : $this
inherited

Response

$this

设置显示文本

text( $text) : $this

Arguments

$text

Response

$this

Properties

控件对象

source : \FineUIPHP\Base\ControlBase\ControlBase
inherited