function views_handler_field_node_language::render

cis7 views_handler_field_node_language.inc views_handler_field_node_language::render($values)
cle7 views_handler_field_node_language.inc views_handler_field_node_language::render($values)
elmsmedia7 views_handler_field_node_language.inc views_handler_field_node_language::render($values)
icor7 views_handler_field_node_language.inc views_handler_field_node_language::render($values)
meedjum_blog7 views_handler_field_node_language.inc views_handler_field_node_language::render($values)
mooc7 views_handler_field_node_language.inc views_handler_field_node_language::render($values)

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field_node::render

File

sites/all/modules/ulmus/views/modules/locale/views_handler_field_node_language.inc, line 31
Definition of views_handler_field_node_language.

Class

views_handler_field_node_language
Field handler to translate a language into its readable form.

Code

function render($values) {
  $languages = views_language_list(empty($this->options['native_language']) ? 'name' : 'native');
  $value = $this->get_value($values);
  $value = isset($languages[$value]) ? $languages[$value] : '';
  return $this->render_link($value, $values);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.