LeKoala\CmsActions\Test\Test_GridFieldAction
A test action
Synopsis
class Test_GridFieldAction
extends GridFieldRowButton
implements
TestOnly
{
- // members
- protected string $fontIcon = 'torso';
- public $performedActionName;
- public $performedArguments;
- public $performedData;
- // Inherited members from GridFieldRowButton
- protected $fontIcon;
- protected boolean $hiddenOnHover;
- protected $parentID;
- // methods
- public void getActionName()
- public void getButtonLabel()
- public void doHandle()
- // Inherited methods from GridFieldRowButton
- public abstract void getButtonLabel()
- public abstract void doHandle()
- public void getActionName()
- public void augmentColumns()
- public array getColumnAttributes()
- public array getColumnMetadata()
- public array getColumnsHandled()
- public array getActions()
- public string getColumnContent()
- public void handleAction()
- public int getParentID()
- public $this setParentID()
- public string getFontIcon()
- public $this setFontIcon()
- public boolean getHiddenOnHover()
- public $this setHiddenOnHover()
Hierarchy
Members
protected
- $fontIcon
- $fontIcon
—
string
A silverstripe icon - $parentID — int
public
- $performedActionName
- $performedArguments
- $performedData
Methods
public
- doHandle() — Handle the actions and apply any changes to the GridField
- getActionName()
- getButtonLabel()
Inherited from LeKoala\CmsActions\GridFieldRowButton
public
- augmentColumns()
- doHandle()
- getActionName()
- getActions() — Which GridField actions are this component handling
- getButtonLabel()
- getColumnAttributes() — Return any special attributes that will be used for FormField::create_tag()
- getColumnContent()
- getColumnMetadata() — Add the title
- getColumnsHandled() — Which columns are handled by this component
- getFontIcon() — Get a silverstripe icon
- getHiddenOnHover() — Get adds class grid-field__icon-action--hidden-on-hover if set
- getParentID() — Get the parent record id
- handleAction() — Handle the actions and apply any changes to the GridField
- setFontIcon() — Set a silverstripe icon
- setHiddenOnHover() — Set adds class grid-field__icon-action--hidden-on-hover if set
- setParentID() — Set the parent record id