BaseWidget
Namespace
Ceres\Widgets\Helper
Implements
Type | Name | Value | Description |
---|---|---|---|
|
['','bold,italic,underline,strike |
h1,h2,h3 |
|
align |
translation','bold,italic,underline,strike |
headline |
link |
align,ul,ol |
color,background |
translation'] |
Type | Name | Description |
---|---|---|
|
||
|
The template to be used for this widget |
|
|
||
|
||
|
Methods
public __construct()
public getData():array
Get basic information about the widget. Possible fields are - identifier - label - previewImageURL - type - categories - position
public getSettings():array
Return the structure of the settings for the widget
public getPreview($widgetSettings = [], $children = []):string
Get the html representation of the widget.
Type |
Name |
Description |
|
||
|
public render($widgetSettings = [], $children = []):string
Render the template of the widget.
Type |
Name |
Description |
|
||
|
public mockPaginatedResult()
Thank you for your feedback!