public function getSearchResultsPerPageSwitchOptionsAsArray($defaultIfEmpty = [])
    {
        $result = $this->getValueByPathOrDefaultValue('plugin.tx_solr.search.results.resultsPerPageSwitchOptions', '');

        if (trim($result) === '') {
            return $defaultIfEmpty;
        }

        return GeneralUtility::intExplode(',', $result, true);
    }
public function getSearchResultsPerPageSwitchOptionsAsArray($defaultIfEmpty = [])
    {
        $result = $this->getValueByPathOrDefaultValue('plugin.tx_solr.search.results.resultsPerPageSwitchOptions', '');

        if (trim($result) === '') {
            return $defaultIfEmpty;
        }

        return GeneralUtility::intExplode(',', $result, true);
    }
public function getSearchResultsPerPageSwitchOptionsAsArray ( $ defaultIfEmpty = [ ] ) { $ result = $ this -> getValueByPathOrDefaultValue ( 'plugin.tx_solr.search.results.resultsPerPageSwitchOptions' , '' ) ; if ( trim ( $ result ) === '' ) { return $ defaultIfEmpty ; } return GeneralUtility :: intExplode ( ',' , $ result , true ) ; }
Returns the available options for the per page switch.

plugin.tx_solr.search.results.resultsPerPageSwitchOptions

@param array $defaultIfEmpty
@return array
Returns the available options for the per page switch .