Tedy\GridFieldCustom\GridFieldApplyToMultipleRows
- Author: Tedy Lim <tedyjd@gmail.com>
Synopsis
class GridFieldApplyToMultipleRows
implements
GridField_HTMLProvider,GridField_ActionProvider,GridField_URLHandler
{
- // members
- protected callable $rowHandler;
- protected $targetFragment;
- protected $buttonText;
- protected $actionName;
- protected $buttonConfig;
- // methods
- public void __construct()
- public void getHTMLFragments()
- public void getActions()
- public void handleAction()
- public void getURLHandlers()
- public array handleIt()
- protected void onBeforeList()
- protected void onAfterList()
- protected void onEmptyList()
Hierarchy
Implements
- SilverStripe\Forms\GridField\GridField_HTMLProvider
- SilverStripe\Forms\GridField\GridField_ActionProvider
- SilverStripe\Forms\GridField\GridField_URLHandler
Members
protected
- $actionName — string
- $rowHandler — Tedy\GridFieldCustom\callable
- $targetFragment — string
Methods
protected
- onAfterList() — This allows subclasses to have a hook at the end of running through all the items. Response will usually be an array on the way in but it can be changed to whatever and will be returned as is.
- onBeforeList() — Hook for subclasses
- onEmptyList()
public
- __construct()
- getActions() — {@inheritdoc}
- getHTMLFragments() — {@inheritdoc}
- getURLHandlers() — {@inheritdoc}
- handleAction() — {@inheritdoc}
- handleIt()