RadioItem

Extends \FineUIPHP\Base\ListItemBase

单项按钮项

package

FineUIPHP\UI

Methods

构造函数

__construct(string $text = '', string $value = '', boolean $selected = false) 
inherited

Arguments

$text

string

$value

string

$selected

boolean

getSelected

getSelected() : string
inherited

Response

string

getText

getText() : string
inherited

Response

string

getValue

getValue() : string
inherited

Response

string

是否选中

selected( $value) : $this
inherited

Arguments

$value

Response

$this

显示的文本

text( $value) : $this
inherited

Arguments

$value

Response

$this

value( $value) : $this
inherited

Arguments

$value

Response

$this

Properties

文本

text : string
inherited
var

Type(s)

string

value : string
inherited
var

Type(s)

string

是否选中

selected : boolean
inherited
var

Type(s)

boolean