Firesphere\SolrSearch\Models\SearchSynonym
Class \Firesphere\SolrSearch\Models\SearchSynonym Manageable synonyms in the CMS
Synopsis
class SearchSynonym
extends DataObject
{
- // members
- private static string $table_name = 'Solr_SearchSynonym';
- private static string $singular_name = 'Search synonym';
- private static string $plural_name = 'Search synonyms';
- private static array $db = ;
- private static array $summary_fields = ;
- // methods
- public FieldList getCMSFields()
- public string getCombinedSynonym()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db — array
- $plural_name — string
- $singular_name — string
- $summary_fields — array
- $table_name — string
Methods
public
- getCMSFields() — Get the required CMS Fields for this synonym
- getCombinedSynonym() — Combine this synonym in to a string for the Solr synonyms.txt file