protected function get_filter_values($filtername) {
        $values = [];
        foreach ($this->filtersapplied as $filter) {
            if ($filter[0] == $filtername) {
                $values[] = $filter[1];
            }
        }
        return $values;
    }
protected function get_filter_values($filtername) {
        $values = [];
        foreach ($this->filtersapplied as $filter) {
            if ($filter[0] == $filtername) {
                $values[] = $filter[1];
            }
        }
        return $values;
    }
protected function get_filter_values ( $ filtername ) { $ values = [ ] ; foreach ( $ this -> filtersapplied as $ filter ) { if ( $ filter [ 0 ] == $ filtername ) { $ values [ ] = $ filter [ 1 ] ; } } return $ values ; }
Get all values of the applied filter

@param string $filtername
@return array
Get all values of the applied filter