public function getSearchQueryReturnFieldsAsArray($defaultIfEmpty = [])
    {
        $returnFields = $this->getValueByPath('plugin.tx_solr.search.query.returnFields');
        if (is_null($returnFields)) {
            return $defaultIfEmpty;
        }

        return GeneralUtility::trimExplode(',', $returnFields);
    }
public function getSearchQueryReturnFieldsAsArray($defaultIfEmpty = [])
    {
        $returnFields = $this->getValueByPath('plugin.tx_solr.search.query.returnFields');
        if (is_null($returnFields)) {
            return $defaultIfEmpty;
        }

        return GeneralUtility::trimExplode(',', $returnFields);
    }
public function getSearchQueryReturnFieldsAsArray ( $ defaultIfEmpty = [ ] ) { $ returnFields = $ this -> getValueByPath ( 'plugin.tx_solr.search.query.returnFields' ) ; if ( is_null ( $ returnFields ) ) { return $ defaultIfEmpty ; } return GeneralUtility :: trimExplode ( ',' , $ returnFields ) ; }
Returns the configured returnFields as array.

plugin.tx_solr.search.query.returnFields

@param array $defaultIfEmpty
@return array
Returns the configured returnFields as array .