Bitrix API

Selector extends Field

Table of Contents

Constants

TYPE  = 'selector'

Methods

__construct()  : mixed
getHelpDesk()  : string|null
getHints()  : array<string|int, mixed>|null
getId()  : string
getItems()  : array<string|int, mixed>
getLabel()  : string
getName()  : string
getPermission()  : SettingsPermission|null
getType()  : string
getValue()  : string|null
isEnable()  : bool
jsonSerialize()  : array<string|int, mixed>
setHelpDesk()  : void
setHints()  : void
setId()  : void
setIsEnable()  : void
setItems()  : void
setLabel()  : void
setName()  : void
setPermission()  : void
setType()  : void
setValue()  : void

Constants

Methods

__construct()

public __construct(string $id, string $name, string $label, array<string|int, mixed> $items[, string|null $value = null ][, array<string|int, mixed>|null $multiValue = null ][, array<string|int, mixed>|null $hints = null ][, SettingsPermission|null $permission = null ][, bool $isEnable = true ][, string|null $helpDesk = null ]) : mixed
Parameters
$id : string
$name : string
$label : string
$items : array<string|int, mixed>
$value : string|null = null
$multiValue : array<string|int, mixed>|null = null
$hints : array<string|int, mixed>|null = null
$permission : SettingsPermission|null = null
$isEnable : bool = true
$helpDesk : string|null = null

getHelpDesk()

public getHelpDesk() : string|null
Return values
string|null

getHints()

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

getId()

public getId() : string
Return values
string

getItems()

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

getLabel()

public getLabel() : string
Return values
string

getName()

public getName() : string
Return values
string

getType()

public getType() : string
Return values
string

getValue()

public getValue() : string|null
Return values
string|null

isEnable()

public isEnable() : bool
Return values
bool

jsonSerialize()

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

setHelpDesk()

public setHelpDesk(string|null $helpDesk) : void
Parameters
$helpDesk : string|null

setHints()

public setHints(array<string|int, mixed>|null $hints) : void
Parameters
$hints : array<string|int, mixed>|null

setId()

public setId(string $id) : void
Parameters
$id : string

setIsEnable()

public setIsEnable(bool $isEnable) : void
Parameters
$isEnable : bool

setItems()

public setItems(array<string|int, mixed> $items) : void
Parameters
$items : array<string|int, mixed>

setLabel()

public setLabel(string $label) : void
Parameters
$label : string

setName()

public setName(string $name) : void
Parameters
$name : string

setType()

public setType(string $type) : void
Parameters
$type : string

setValue()

public setValue(string|null $value) : void
Parameters
$value : string|null

        
On this page

Search results