ilateral\SilverStripe\ModelAdminPlus\Tests\ContactAdmin
Synopsis
class ContactAdmin
extends ModelAdminPlus
implements
TestOnly
{
- // Inherited constants from ModelAdminPlus
- const EXPORT_FIELDS = "export_fields";
- const ACTION_SUGGEST = 'suggest';
- // members
- private static string $url_segment = 'contactadmin';
- private static array $managed_models = ;
- // Inherited methods from ModelAdminPlus
- public void getSnippets()
- protected void createSnippetObject()
- public void init()
- public array getExportFields()
- public string getSearchSessionName()
- public Session clearSearchSession()
- public Session getSearchSession()
- public ModelAdminPlus setSearchSession()
- public array getSearchData()
- protected void getGridField()
- protected void getGridFieldConfig()
- public HTTPResponse suggest()
Hierarchy
Constants
Name | Value |
---|---|
EXPORT_FIELDS | "export_fields" |
ACTION_SUGGEST | 'suggest' |
Members
private
- $managed_models
- $url_segment
Methods
Inherited from ilateral\SilverStripe\ModelAdminPlus\ModelAdminPlus
protected
public
- clearSearchSession() — Empty the current search session
- getExportFields() — Get the default export fields for the current model.
- getSearchData() — Get the current search results, combined with any saved search results and resturn (as an array).
- getSearchSession() — Get the current search session
- getSearchSessionName() — Get the name of the session to be useed by this model admin's search form.
- getSnippets() — Setup snippets for current screen
- init()
- setSearchSession() — Set some data to a search session. This needs to be an array of data (like the data submitted by a form).
- suggest() — Find and return the recommended suggestion for an autocomplete field