Bitrix API

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

setId()

Sets button id

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

setName()

Sets button name attribute value

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

setOnchange()

Sets actions on button click

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

setText()

Sets button text

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

setTitle()

Sets button title

public setTitle([string $title = "" ]) : $this
Parameters
$title : string = ""
Return values
$this

toArray()

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

        
On this page

Search results