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
stringgetType()
Field type.
public
getType() : string
Return values
stringsetDisabled()
Field is disabled.
public
setDisabled(bool $value) : self
Parameters
- $value : bool
Return values
selfsetHtml()
HTML code.
public
setHtml(string $value) : void
Parameters
- $value : string
setName()
Name field.
public
setName(string $value) : self
Parameters
- $value : string
Return values
selfsetPlaceholder()
Field placeholder.
public
setPlaceholder(string $value) : self
Parameters
- $value : string
Return values
selftoArray()
Config for JS class `BX.Grid.InlineEditor`
public
toArray() : array<string|int, mixed>