src/FilterSetting/Tags.php
private function filterParamValue($arrParamValue, $arrOptions)
    {
        // Filter out the magic keyword for none selected.
        if ($arrParamValue && in_array('--none--', $arrParamValue)) {
            $arrParamValue = array();
        }

        // Filter out the magic keyword for all selected.
        if ($arrParamValue && in_array('--all--', $arrParamValue)) {
            $arrParamValue = array_keys($arrOptions);

            return $arrParamValue;
        }

        return $arrParamValue;
    }
private function filterParamValue($arrParamValue, $arrOptions)
    {
        // Filter out the magic keyword for none selected.
        if ($arrParamValue && in_array('--none--', $arrParamValue)) {
            $arrParamValue = array();
        }

        // Filter out the magic keyword for all selected.
        if ($arrParamValue && in_array('--all--', $arrParamValue)) {
            $arrParamValue = array_keys($arrOptions);

            return $arrParamValue;
        }

        return $arrParamValue;
    }
Filter --all-- and --none-- values.

@param array $arrParamValue Param value which shall be filtered.
@param array $arrOptions    Filter options.

@return array