Symbiote\GridFieldExtensions\GridFieldAddExistingSearchButton
A modal search dialog which uses search context to search for and add existing records to a grid field.
Synopsis
class GridFieldAddExistingSearchButton
implements
GridField_HTMLProvider,GridField_URLHandler
{
- // members
- private static array $allowed_actions = ;
- protected $title;
- protected $fragment;
- protected $searchList;
- // methods
- public void __construct()
- public string getTitle()
- public GridFieldAddExistingSearchButton setTitle()
- public string getFragment()
- public GridFieldAddExistingSearchButton setFragment()
- public GridFieldAddExistingSearchButton setSearchList()
- public SS_List|null getSearchList()
- public void getHTMLFragments()
- public void getURLHandlers()
- public void handleSearch()
Hierarchy
Implements
- SilverStripe\Forms\GridField\GridField_HTMLProvider
- SilverStripe\Forms\GridField\GridField_URLHandler
Members
private
- $allowed_actions
protected
- $fragment
- $searchList
- $title
Methods
public
- __construct()
- getFragment()
- getHTMLFragments()
- getSearchList()
- getTitle()
- getURLHandlers()
- handleSearch()
- setFragment()
- setSearchList() — Sets a custom list to use to provide the searchable items.
- setTitle()