Milkyway\SS\GridFieldUtils\ToggleAction
Synopsis
class ToggleAction
extends Action
{
- // members
- public static boolean $include_font_css = true;
- public $field;
- public array $titles = ;
- protected $id;
- // Inherited members from Action
- protected string $actionColumn;
- // methods
- public void __construct()
- public void getActions()
- public void getColumnContent()
- public void handleAction()
- protected void getFlag()
- protected void checkPermissions()
- protected void replaceStringWithRecordInCallable()
- // Inherited methods from Action
- public void augmentColumns()
- public array getColumnAttributes()
- public array getColumnMetadata()
- public array getColumnsHandled()
Hierarchy
Members
protected
- $actionColumn
- $id
public
- $field
- $include_font_css
- $titles
Methods
protected
public
Inherited from Milkyway\SS\GridFieldUtils\Common\Action
public
- augmentColumns() — Add a column 'Delete'
- getColumnAttributes() — Return any special attributes that will be used for FormField::create_tag()
- getColumnMetadata() — Add the title
- getColumnsHandled() — Which columns are handled by this component