function getlocations_fields_plugin_argument_default_bboxquery::get_argument in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_fields/handlers/getlocations_fields_plugin_argument_default_bboxquery.inc \getlocations_fields_plugin_argument_default_bboxquery::get_argument()
Return the default argument.
Overrides views_plugin_argument_default::get_argument
File
- modules/
getlocations_fields/ handlers/ getlocations_fields_plugin_argument_default_bboxquery.inc, line 53 - getlocations_fields_plugin_argument_default_bboxquery.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Class
- getlocations_fields_plugin_argument_default_bboxquery
- Argument handler to accept bbox
Code
function get_argument() {
if (isset($_GET[$this->options['arg_id']])) {
return $_GET[$this->options['arg_id']];
}
else {
return TRUE;
// Return all values if arg not present
}
}