public function getSearchResultsHighlightingFieldsAsArray($defaultIfEmpty = [])
    {
        $highlightingFields = $this->getSearchResultsHighlightingFields('');

        if ($highlightingFields === '') {
            return $defaultIfEmpty;
        }

        return GeneralUtility::trimExplode(',', $highlightingFields, true);
    }
public function getSearchResultsHighlightingFieldsAsArray($defaultIfEmpty = [])
    {
        $highlightingFields = $this->getSearchResultsHighlightingFields('');

        if ($highlightingFields === '') {
            return $defaultIfEmpty;
        }

        return GeneralUtility::trimExplode(',', $highlightingFields, true);
    }
public function getSearchResultsHighlightingFieldsAsArray ( $ defaultIfEmpty = [ ] ) { $ highlightingFields = $ this -> getSearchResultsHighlightingFields ( '' ) ; if ( $ highlightingFields === '' ) { return $ defaultIfEmpty ; } return GeneralUtility :: trimExplode ( ',' , $ highlightingFields , true ) ; }
Returns the result highlighting fields as array.

plugin.tx_solr.search.results.resultsHighlighting.highlightFields

@param array $defaultIfEmpty
@return array
Returns the result highlighting fields as array .