SilverShop\HasOneField\HasOneAddExistingAutoCompleter
Class GridFieldHasOneEditButton
Synopsis
class HasOneAddExistingAutoCompleter
extends GridFieldAddExistingAutocompleter
{
- // methods
- public array getHTMLFragments()
- public void handleAction()
- public string doSearch()
Hierarchy
Extends
- SilverStripe\Forms\GridField\GridFieldAddExistingAutocompleter
Methods
public
- doSearch() — Returns a json array of a search results that can be used by for example Jquery.ui.autosuggestion
- getHTMLFragments() — Check if a record has been set, if so, don't load the fields
- handleAction() — Overwrite default add to and inlude redirect