Milkyway\SS\GridFieldUtils\TagsColumn
Synopsis
class TagsColumn
implements
GridField_ColumnProvider,GridField_DataManipulator,GridField_URLHandler,GridField_SaveHandler
{
- // members
- private static array $allowed_actions = ;
- public string $columnTitle = 'Select';
- public string $referenceField = 'Title';
- public string $valueField = 'ID';
- public $sourceList;
- public boolean $allowNewItems = true;
- public $addHandler;
- protected $relation;
- protected $_saveSourceList;
- // methods
- public void __construct()
- public void getManipulatedData()
- public void augmentColumns()
- public array getColumnsHandled()
- public string getColumnContent()
- public array getColumnAttributes()
- public array getColumnMetadata()
- public void getURLHandlers()
- public void handleAdd()
- public void handleForm()
- public Form getForm()
- public void handleSave()
- protected void getFieldName()
- protected void getSelectField()
- protected void grabParamsCallback()
Hierarchy
Implements
- GridField_ColumnProvider
- GridField_DataManipulator
- GridField_URLHandler
- GridField_SaveHandler
Tasks
Line | Task |
---|---|
217 | Implement handleSave() method. |
Members
private
- $allowed_actions
protected
- $_saveSourceList
- $relation
public
- $addHandler
- $allowNewItems
- $columnTitle
- $referenceField
- $sourceList
- $valueField
Methods
protected
public
- __construct()
- augmentColumns() — Modify the list of columns displayed in the table.
- getColumnAttributes() — Attributes for the element containing the content returned by {@link getColumnContent()}.
- getColumnContent() — HTML for the column, content of the <td> element.
- getColumnMetadata() — Additional metadata about the column which can be used by other components, e.g. to set a title for a search column header.
- getColumnsHandled() — Names of all columns which are affected by this component.
- getForm() — Gets the form instance for a record.
- getManipulatedData()
- getURLHandlers()
- handleAdd()
- handleForm()
- handleSave()