class EditorButton extends Component

Properties

$area
$page
$class
$name
$label
$description
$items
$style
$icon
$field
$type
$config
$relationId
protected $styles Determines if this button should use the Netflex editor styles

Methods

__construct(string $area = '', null $type = null, int $items = 99999, string|null $name = null, string|null $label = null, string|null $description = null, string $style = null, string|null $icon = null, string|null $position = null, string|null $field = null, string|array|null $model = null, array|null $options = null, $class = null)

Create a new component instance.

shouldRender()

No description

View|string
render()

Get the view / contents that represent the component.

Details

at line 45
__construct(string $area = '', null $type = null, int $items = 99999, string|null $name = null, string|null $label = null, string|null $description = null, string $style = null, string|null $icon = null, string|null $position = null, string|null $field = null, string|array|null $model = null, array|null $options = null, $class = null)

Create a new component instance.

Parameters

string $area
null $type
int $items
string|null $name
string|null $label
string|null $description
string $style
string|null $icon
string|null $position
string|null $field
string|array|null $model
array|null $options
$class

Exceptions

Exception

at line 153
shouldRender()

at line 163
View|string render()

Get the view / contents that represent the component.

Return Value

View|string