SilverStripe Search

_config.php

Basic SilverStripe config support file

Table of Contents

Functions

getShortFieldName()  : string
Global method, to make it easier to address and less convoluted.

Functions

getShortFieldName()

Global method, to make it easier to address and less convoluted.

getShortFieldName(string $name) : string

Get the short name of a field, e.g. App\Project\Page_Title will become Page_Title Used to remove unwanted backslashes from Solr cores.

Parameters
$name : string

Name to be shortened

Return values
string

Short name


        
On this page

Search results