\HierarchicalCheckboxSetField
Hierarchical Checkbox Set Field
Synopsis
class HierarchicalCheckboxSetField
extends CheckboxSetField
{
- // members
- protected $childsource;
- protected $childfilter = NULL;
- protected $childsort = NULL;
- protected boolean $disableparentswithchildren = false;
- // methods
- public void __construct()
- public void Field()
- public void getChildOptions()
- protected void getSourceItems()
- protected void getValueIDs()
- protected void getItemHTMLID()
- public void disableParentsWithChildren()
- public void setChildFilter()
- public void setChildSort()
- public void saveInto()
- public string dataValue()
- protected void subDataValues()
- public ReadonlyField performReadonlyTransformation()
- public void ExtraOptions()
Hierarchy
Extends
- CheckboxSetField
Tasks
Line | Task |
---|---|
24+ | Explain different source data that can be used with this field, e.g. SQLMap, DataObjectSet or an array. |
Members
protected
- $childfilter
- $childsort
- $childsource
- $disableparentswithchildren
Methods
protected
- getItemHTMLID()
- getSourceItems()
- getValueIDs()
- subDataValues() — Helper function for building values string.
public
- __construct()
- ExtraOptions()
- Field()
- dataValue() — Return the HierarchicalCheckboxSetField value as an string selected item keys, with sub arrays in square brackets.
- disableParentsWithChildren()
- getChildOptions()
- performReadonlyTransformation() — Transforms the source data for this CheckboxSetField into a comma separated list of values.
- saveInto() — Save the current value of this CheckboxSetField into a DataObject.
- setChildFilter()
- setChildSort()