You are here

location_views_handler_field_longitude.inc in Location 7.5

Longitude field handler.

File

handlers/location_views_handler_field_longitude.inc
View source
<?php

/**
 * @file
 * Longitude field handler.
 */
class location_views_handler_field_longitude extends location_views_handler_field_latitude {
  function render($values) {
    if ($this->options['style'] == 'dms') {
      return theme('location_longitude_dms', array(
        'longitude' => $values->{$this->field_alias},
      ));
    }
    return parent::render($values);
  }

}

Classes

Namesort descending Description
location_views_handler_field_longitude @file Longitude field handler.