nglasl\extensible\ExtensibleSearchPage
The page used to display search results, analytics and suggestions, allowing user customisation and developer extension.
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class ExtensibleSearchPage
extends Page
{
- // members
- private static string $table_name = 'ExtensibleSearchPage';
- private static array $db = ;
- private static array $defaults = ;
- private static array $has_many = ;
- private static array $many_many = ;
- private static string $icon = 'nglasl/silverstripe-extensible-search: client/images/search.png';
- private static array $custom_search_engines = ;
- public boolean $supports_hierarchy = false;
- // methods
- public void requireDefaultRecords()
- public void getCMSFields()
- public void onBeforeWrite()
- public void getSelectableFields()
- public void getHistorySummary()
Hierarchy
Extends
- Page
Members
private
-
$custom_search_engines
The search engines that are available. - $db
- $defaults
- $has_many
- $icon
- $many_many
- $table_name
public
-
$supports_hierarchy
The full-text search engine does not support hierarchy filtering.
Methods
public
- getCMSFields() — Display the search engine specific configuration, and the search page specific analytics and suggestions.
- getHistorySummary() — Determine the search page specific analytics.
- getSelectableFields() — Determine the search engine specific selectable fields, primarily for sorting.
- onBeforeWrite()
- requireDefaultRecords() — Instantiate a search page, should one not exist.