\ListFilterWidget
Synopsis
class ListFilterWidget
extends Controller
{
- // members
- private static string $hide_ancestor = 'ListFilterWidget';
- protected $list = NULL;
- protected ListFilterForm $form;
- protected DataObject $record = NULL;
- protected $extraClasses;
- protected $_cache_data_attributes_html = NULL;
- // methods
- public void __construct()
- public void onBeforeRender()
- public ListFilterSet getListFilterSet()
- public ListFilterWidget setForm()
- public ListFilterForm getForm()
- public SiteTree getPage()
- public DataObject setRecord()
- public DataObject getRecord()
- public SS_List BaseList()
- public SS_List FilteredList()
- public ListFilterWidget setList()
- public SS_List getList()
- public array getDataAttributes()
- public final array getDataAttributesAll()
- public void DataAttributesHTML()
- public array getVarData()
- public string Link()
- public string extraClass()
- public $this addExtraClass()
- public $this removeExtraClass()
- public array getTemplates()
- public HTMLText forTemplate()
Hierarchy
Extends
- Controller
Tasks
Line | Task |
---|---|
253 | (Jake): Add and test |
Members
private
- $hide_ancestor
protected
- $_cache_data_attributes_html
- $extraClasses
—
array
Extra CSS classes - $form — ListFilterForm
-
$list
A custom set list to use for the widget - $record — DataObject
Methods
public
- __construct()
- BaseList()
- DataAttributesHTML()
- FilteredList()
- Link()
- addExtraClass() — Add one or more CSS-classes
- extraClass() — Compiles all CSS-classes set on this.
- forTemplate()
- getDataAttributes()
- getDataAttributesAll()
- getForm()
- getList()
- getListFilterSet()
- getPage() — Get current page
- getRecord()
- getTemplates()
- getVarData() — If visiting the page with GET parameterss.
- onBeforeRender()
- removeExtraClass() — Remove one or more CSS-classes
- setForm()
- setList() — Override the list used for the widget.
- setRecord()