Bitrix API

CustomConfig extends Config

Configuration for editor's custom fields (for example using components).

Table of Contents

Methods

__construct()  : mixed
getName()  : string
Name field.
getType()  : string
Field type.
setDisabled()  : self
Field is disabled.
setHtml()  : void
HTML code.
setName()  : self
Name field.
setPlaceholder()  : self
Field placeholder.
toArray()  : array<string|int, mixed>
Config for JS class `BX.Grid.InlineEditor`

Methods

__construct()

public __construct(string $name[, string|null $html = null ]) : mixed
Parameters
$name : string
$html : string|null = null

getName()

Name field.

public getName() : string
Return values
string

getType()

Field type.

public getType() : string
Return values
string

setDisabled()

Field is disabled.

public setDisabled(bool $value) : self
Parameters
$value : bool
Return values
self

setHtml()

HTML code.

public setHtml(string $value) : void
Parameters
$value : string

setName()

Name field.

public setName(string $value) : self
Parameters
$value : string
Return values
self

setPlaceholder()

Field placeholder.

public setPlaceholder(string $value) : self
Parameters
$value : string
Return values
self

toArray()

Config for JS class `BX.Grid.InlineEditor`

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

        
On this page

Search results