function getlocations_fields_handler_filter_country::get_value_options in Get Locations 7.2
Same name and namespace in other branches
- 7 modules/getlocations_fields/handlers/getlocations_fields_handler_filter_country.inc \getlocations_fields_handler_filter_country::get_value_options()
Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values.
This can use a guard to be used to reduce database hits as much as possible.
Return value
Return the stored values in $this->value_options if someone expects it.
Overrides views_handler_filter_in_operator::get_value_options
2 calls to getlocations_fields_handler_filter_country::get_value_options()
- getlocations_fields_handler_filter_country::reduce_value_options in modules/
getlocations_fields/ handlers/ getlocations_fields_handler_filter_country.inc - When using exposed filters, we may be required to reduce the set.
- getlocations_fields_handler_filter_country::value_form in modules/
getlocations_fields/ handlers/ getlocations_fields_handler_filter_country.inc - Provide widgets for filtering by country.
File
- modules/
getlocations_fields/ handlers/ getlocations_fields_handler_filter_country.inc, line 20 - getlocations_fields_handler_filter_country.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Class
- getlocations_fields_handler_filter_country
- @file getlocations_fields_handler_filter_country.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function get_value_options() {
$this->value_options = getlocations_get_countries_list();
}