SilverCart\Admin\Forms\GridField\GridFieldBatchAction_ActivateDataObject
Batch action to mark an DataObject as active.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class GridFieldBatchAction_ActivateDataObject
extends GridFieldBatchAction
{
- // methods
- public void handle()
- // Inherited methods from GridFieldBatchAction
- public void __construct()
- public string getCallbackFormFields()
- public string getTitle()
- public void RequireJavascript()
- public void RequireDefaultJavascript()
- public void handle()
- public DropdownField getDataObjectAsDropdownField()
- public void handleDefaultHasOneRelation()
- public DBHTMLText render()
Hierarchy
Members
protected
- $action
—
string
Name of action - $class
—
string
name of class
Methods
public
- handle() — Handles the action.
Inherited from SilverCart\Admin\Forms\GridField\GridFieldBatchAction
public
- RequireDefaultJavascript() — Is used to call javascript requirements of an action.
- RequireJavascript() — Is used to call javascript requirements of an action.
- getCallbackFormFields() — Returns the markup of the callback form fields.
- getDataObjectAsDropdownField() — Returns a DataObject as a Dropdown field
- getTitle() — Returns the title of the action
- handle() — Handles the action.
- handleDefaultHasOneRelation() — Handles the default action to reset a has_one relation.
- render() — Renders the given data with the class related template.