You are here

function location_views_handler_field_latitude::render in Location 6.3

Same name and namespace in other branches
  1. 7.5 handlers/location_views_handler_field_latitude.inc \location_views_handler_field_latitude::render()
  2. 7.3 handlers/location_views_handler_field_latitude.inc \location_views_handler_field_latitude::render()
  3. 7.4 handlers/location_views_handler_field_latitude.inc \location_views_handler_field_latitude::render()
1 call to location_views_handler_field_latitude::render()
location_views_handler_field_longitude::render in handlers/location_views_handler_field_longitude.inc
2 methods override location_views_handler_field_latitude::render()
location_views_handler_field_coordinates::render in handlers/location_views_handler_field_coordinates.inc
location_views_handler_field_longitude::render in handlers/location_views_handler_field_longitude.inc

File

handlers/location_views_handler_field_latitude.inc, line 26
Latitude field handler.

Class

location_views_handler_field_latitude
@file Latitude field handler.

Code

function render($values) {
  if ($this->options['style'] == 'dd') {
    return check_plain($values->{$this->field_alias});
  }
  else {
    return theme('location_latitude_dms', $values->{$this->field_alias});
  }
}