Button
Button for group actions panel
Table of Contents
Methods
- __construct() : mixed
- setClass() : $this
- Sets button class name
- setId() : $this
- Sets button id
- setName() : $this
- Sets button name attribute value
- setOnchange() : $this
- Sets actions on button click
- setText() : $this
- Sets button text
- setTitle() : $this
- Sets button title
- toArray() : array<string|int, mixed>
Methods
__construct()
public
__construct() : mixed
setClass()
Sets button class name
public
setClass([string $class = "" ]) : $this
Parameters
- $class : string = ""
Return values
$thissetId()
Sets button id
public
setId([string $id = "" ]) : $this
Parameters
- $id : string = ""
Return values
$thissetName()
Sets button name attribute value
public
setName([string $name = "" ]) : $this
Parameters
- $name : string = ""
Return values
$thissetOnchange()
Sets actions on button click
public
setOnchange(Onchange $onchange) : $this
Parameters
- $onchange : Onchange
Return values
$thissetText()
Sets button text
public
setText([string $text = "" ]) : $this
Parameters
- $text : string = ""
Return values
$thissetTitle()
Sets button title
public
setTitle([string $title = "" ]) : $this
Parameters
- $title : string = ""
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>