Sunnysideup\GridFieldSendToBottomAction\Forms\GridField\GridFieldSendToBottomAction
Synopsis
class GridFieldSendToBottomAction
implements
GridField_ColumnProvider,GridField_ActionProvider
{
- // members
- protected $sortColumn;
- protected $update_versioned_stage;
- // methods
- public void __construct()
- public void augmentColumns()
- public array getColumnAttributes()
- public array getColumnMetadata()
- public array getColumnsHandled()
- public array getActions()
- public string getColumnContent()
- public void handleAction()
- public void sendToBottomOfList()
Hierarchy
Uses
- SilverStripe\Core\Extensible
Implements
- SilverStripe\Forms\GridField\GridField_ColumnProvider
- SilverStripe\Forms\GridField\GridField_ActionProvider
Members
protected
- $sortColumn
- $update_versioned_stage
Methods
public
- __construct()
- augmentColumns() — Add the 'Actions' column if it doesn't already exist.
- getActions() — Which GridField actions are this component handling.
- 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.
- handleAction() — Handle the actions and apply any changes to the GridField.
- sendToBottomOfList() — Updates a record in the database with a new value in the sort column.