function smart_ip_views_bridge_handler_field_city::query in Smart IP 7.2
Same name and namespace in other branches
- 6.2 modules/smart_ip_views_bridge/views/smart_ip_views_bridge_handler_field_city.inc \smart_ip_views_bridge_handler_field_city::query()
- 6 modules/smart_ip_views_bridge/views/smart_ip_views_bridge_handler_field_city.inc \smart_ip_views_bridge_handler_field_city::query()
Called to add the field to a query.
Overrides views_handler_field::query
File
- modules/
smart_ip_views_bridge/ views/ smart_ip_views_bridge_handler_field_city.inc, line 14 - Contains the 'smart_ip_views_bridge_handler_field_city' field handler.
Class
- smart_ip_views_bridge_handler_field_city
- Field handler to display visitor's city.
Code
function query() {
$this->field_alias = 'smart_ip_views_bridge_city_' . $this->position;
$this->query
->add_field('', 1, $this->field_alias);
}