Checkbox
Group action panel checkbox
Table of Contents
Methods
- __construct() : mixed
- setClass() : $this
- Sets checkbox class name
- setId() : $this
- Sets checkbox id
- setName() : $this
- Sets checkbox name attribute value
- setOnchange() : $this
- Sets actions on checkbox change
- setText() : $this
- Sets checkbox label text
- setValue() : $this
- Sets checkbox value
- toArray() : array<string|int, mixed>
Methods
__construct()
public
__construct() : mixed
setClass()
Sets checkbox class name
public
setClass([string $class = "" ]) : $this
Parameters
- $class : string = ""
Return values
$thissetId()
Sets checkbox id
public
setId([string $id = "" ]) : $this
Parameters
- $id : string = ""
Return values
$thissetName()
Sets checkbox name attribute value
public
setName([string $name = "" ]) : $this
Parameters
- $name : string = ""
Return values
$thissetOnchange()
Sets actions on checkbox change
public
setOnchange(Onchange $onchange) : $this
Parameters
- $onchange : Onchange
Return values
$thissetText()
Sets checkbox label text
public
setText([string $text = "" ]) : $this
Parameters
- $text : string = ""
Return values
$thissetValue()
Sets checkbox value
public
setValue([string $value = "" ]) : $this
Parameters
- $value : string = ""
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>