\ListBuilderField
A 'list builder' field is two lists (jquery ui sortables), a master list and a 'selected' list.
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class ListBuilderField
extends CheckboxSetField
{
- // members
- protected string $sortField = 'Sort';
- protected string $masterTitle = 'All Items';
- protected string $selectedTitle = 'Selected';
- // methods
- public void __construct()
- public void setValue()
- public HTMLText Field()
- public void saveInto()
- public string getStringValue()
- public string getSortField()
- public $this setSortField()
- public $this setMasterTitle()
- public string getMasterTitle()
- public $this setSelectedTitle()
- public string getSelectedTitle()
- public string Type()
- public string getSortTable()
- protected void reorderItems()
- protected void populateSortValues()
- protected string getSortTableClauseForIds()
Hierarchy
Extends
- CheckboxSetField
Members
protected
- $masterTitle
- $selectedTitle
- $sortField
Methods
protected
public
- __construct()
- Field()
- Type()
- getMasterTitle()
- getSelectedTitle()
- getSortField()
- getSortTable() — Gets the table which contains the sort field.
- getStringValue()
- saveInto() — Save the current value of this CheckboxSetField into a DataObject.
- setMasterTitle()
- setSelectedTitle()
- setSortField()
- setValue() — Load a value into this CheckboxSetField