Can't find View's Filters variables
If I understand correctly your current problem is getting the current values of the exposed filters.

Wherever you are putting your code, as long as you have access to the view object you can get these values using view::get_exposed_input() like this:

$filters = $view-&gt;get_exposed_input();
// You can then access the value of a specific filter like this.
$value = $filters['FILTER_NAME'];


You can then use those values to implement whatever logic you require.