Classes

\UncleCheese\BetterButtons\Actions

Name Description
BetterButtonAction Defines the base class for all buttons that link to arbitrary endpoints from a {@link GridFieldDetailForm} EMPTY
BetterButtonCancelAction Defines a button that cancels out of the form EMPTY
BetterButtonCustomAction Defines an arbitrary action that can be taken from a grid field detail form EMPTY
BetterButtonFrontendLinksAction Defines the button that provides links to the frontend from within a gridfield detail form. EMPTY
BetterButtonLink Defines the a button that can contain an arbitrary link, e.g. an external one EMPTY
BetterButtonNestedForm Defines a button that launches a nested form EMPTY
BetterButtonPrevNextAction Defines a set of buttons that offers prev/next navigation from within a GridField detail form EMPTY

\UncleCheese\BetterButtons\Buttons

Name Description
BetterButton Defines the base class for all buttons that submit form data through GridField EMPTY
BetterButton_Delete Defines the button that deletes a record, with confirmation EMPTY
BetterButton_New Defines the button that creates a new record EMPTY
BetterButton_Publish Defines the button that publishes a record that uses the {@link Versioned} extension EMPTY
BetterButton_PublishAndAdd Defines the button that publishes a record, then proceeds to create a new one EMPTY
BetterButton_PublishAndClose Defines the button that publishes a record and closes the detail form EMPTY
BetterButton_Rollback Defines the button that rolls back the version of the record EMPTY
BetterButton_Save Defines the button that saves a record EMPTY
BetterButton_SaveAndAdd Defines the button that save a record and redirects to creating a new one EMPTY
BetterButton_SaveAndClose Defines the button that saves a record and closes the detail form EMPTY
BetterButton_SaveAndNext Defines the button that saves a record and goes to the next one EMPTY
BetterButton_SaveAndPrev Defines the button that saves a record and goes to the previous one EMPTY
BetterButton_SaveDraft Defines the button that saves a draft EMPTY
BetterButton_Unpublish Defines the button that unpublishes a record EMPTY

\UncleCheese\BetterButtons\Controllers

Name Description
BetterButtonsCustomActionRequest A subcontroller that handles custom actions. The parent controller matches the url_param '$Action!' and doesn't hand off any trailing params. This subcontoller is aware of them EMPTY
BetterButtonsNestedFormRequest Request handler that deals with nested forms EMPTY

\UncleCheese\BetterButtons\Extensions

Name Description
BetterButtonDataObject An extension that offers features to DataObjects that allow them to set their own actions and utilities for {@link GridFieldDetailForm} EMPTY
BetterButtonGroupable Injects the "isGrouped" flag into Actions and Buttons EMPTY
GridFieldBetterButtonsItemRequest Decorates {@link GridDetailForm_ItemRequest} to use new form actions and buttons. EMPTY

\UncleCheese\BetterButtons\FormFields

Name Description
DropdownFormAction Defines the button that holds several form actions and exposes them on click EMPTY

\UncleCheese\BetterButtons\Tests\Actions

Name Description
BetterButtonActionTest No description available EMPTY
BetterButtonCustomActionTest No description available EMPTY
BetterButtonDataObjectTest No description available EMPTY

\UncleCheese\BetterButtons\Tests\Extensions\Stubs

Name Description
ButtonDataObject A mock DataObject that has the BetterButtonDataObject extension applied, for testing EMPTY