You are here

class i18nviews_handler_field_term_language in Internationalization Views 6.3

Same name and namespace in other branches
  1. 6.2 includes/i18nviews_handler_field_term_language.inc \i18nviews_handler_field_term_language

Field handler to provide simple renderer that shows term language.

Hierarchy

Expanded class hierarchy of i18nviews_handler_field_term_language

1 string reference to 'i18nviews_handler_field_term_language'
i18nviews_views_data_alter in includes/i18nviews.views.inc
Implemenation of hook_views_data_alter().

File

includes/i18nviews_handler_field_term_language.inc, line 6

View source
class i18nviews_handler_field_term_language extends views_handler_field_taxonomy {
  function render($values) {
    $languages = locale_language_list();
    $value = isset($languages[$values->{$this->field_alias}]) ? $languages[$values->{$this->field_alias}] : '';
    return $this
      ->render_link($value, $values);
  }

}

Members