public function get_filter_values($filter) {
        if ($allvalues = (array) $this->get_config('filtervalues')) {
            if (isset($allvalues[$filter])) {
                return $allvalues[$filter];
            }
        }

        return [];
    }
public function get_filter_values($filter) {
        if ($allvalues = (array) $this->get_config('filtervalues')) {
            if (isset($allvalues[$filter])) {
                return $allvalues[$filter];
            }
        }

        return [];
    }
public function get_filter_values ( $ filter ) { if ( $ allvalues = ( array ) $ this -> get_config ( 'filtervalues' ) ) { if ( isset ( $ allvalues [ $ filter ] ) ) { return $ allvalues [ $ filter ] ; } } return [ ] ; }
Get the configured filter values.

@param   string      $filter     The filter to retrieve values for.
@return  array
Get the configured filter values .