Documentation

CollapsibleFilter extends Component
in package

Table of Contents

$fieldHints  : array<string|int, mixed>
$fields  : array<string|int, mixed>
$filters  : array<string|int, mixed>
$iconOff  : string
$iconOn  : string
$modelProperty  : string
$panel  : string
$panelLabel  : string
__construct()  : mixed
Create a new component instance.
render()  : View|Closure|string
Get the view / contents that represent the component.

Properties

Methods

__construct()

Create a new component instance.

public __construct(array<string|int, mixed> $filters, array<string|int, mixed> $fields[, array<string|int, mixed> $fieldHints = [] ][, string $panelLabel = 'Filter' ][, string $panel = 'collapsible-filter-panel' ][, string $modelProperty = 'filterValues' ][, string $iconOn = 'filter_list' ][, string $iconOff = 'filter_list_off' ]) : mixed
Parameters
$filters : array<string|int, mixed>
$fields : array<string|int, mixed>
$fieldHints : array<string|int, mixed> = []
$panelLabel : string = 'Filter'
$panel : string = 'collapsible-filter-panel'
$modelProperty : string = 'filterValues'
$iconOn : string = 'filter_list'
$iconOff : string = 'filter_list_off'
Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|Closure|string
Return values
View|Closure|string

Search results