Bitrix API

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
$this

setId()

Sets checkbox id

public setId([string $id = "" ]) : $this
Parameters
$id : string = ""
Return values
$this

setName()

Sets checkbox name attribute value

public setName([string $name = "" ]) : $this
Parameters
$name : string = ""
Return values
$this

setOnchange()

Sets actions on checkbox change

public setOnchange(Onchange $onchange) : $this
Parameters
$onchange : Onchange
Return values
$this

setText()

Sets checkbox label text

public setText([string $text = "" ]) : $this
Parameters
$text : string = ""
Return values
$this

setValue()

Sets checkbox value

public setValue([string $value = "" ]) : $this
Parameters
$value : string = ""
Return values
$this

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results