FilterBaseWidget

Namespace

Ceres\Widgets\Category\Filter

Extends
Implements
Constants
Type Name Value Description

array

TOOLBAR_LAYOUT

['','bold,italic,underline,strike

h1,h2,h3

align

translation','bold,italic,underline,strike

headline

link

align,ul,ol

color,background

translation']

Properties
Type Name Description

string

$template

The template to be used for this widget

array

$allowedFacetTypes

The facet types that are allowed to be displayed by the widget

string

$className

The class name of the filter widget

Methods
public getSettings():array

Return the structure of the settings for the widget

public getTemplateData($widgetSettings, $isPreview):array

Get additional data to be passed to the template while rendering.

Parameters

Type

Name

Description

array

$widgetSettings

The settings provided by the widget.

bool

$isPreview

A flag provided to determine if the widget is currently shown in preview.

public getPreviewData($widgetSettings)
Parameters

Type

Name

Description

``

$widgetSettings