SelectableWidget
Selectable Widget Trait
Adds item selection features to back-end widgets
trait Backend\Traits\SelectableWidget
Properties
protected
$selectedItemsCache
:
mixed
= false
protected
$selectionInputName
:
mixed
= "object"
Methods
public onSelect ()
Returns
mixed
protected extendSelection ()
Returns
mixed
protected getSelectedItems ()
Returns
mixed
protected isItemSelected ($itemId)
Parameters
Property | Type | Description |
---|---|---|
$itemId | mixed |
mixed
|
Returns
mixed
protected removeSelection ($itemId)
Parameters
Property | Type | Description |
---|---|---|
$itemId | mixed |
mixed
|
Returns
mixed
protected resetSelection ()
Returns
mixed
Used by
Class | Description |
---|---|
AssetList
|
CMS asset list widget. |
TemplateList
|
Template list widget. |
Copyright © 2024 Winter CMS