uc_views_handler_field_country.inc in Ubercart Views 6.2
Same filename and directory in other branches
Views handler: Return country name for country id
File
views/uc_views_handler_field_country.incView source
<?php
/**
* @file
* Views handler: Return country name for country id
*/
/**
* Return a country name for country id
*/
class uc_views_handler_field_country extends views_handler_field {
function render($values) {
return uc_country_get_by_id($values->{$this->field_alias});
}
}
Classes
Name | Description |
---|---|
uc_views_handler_field_country | Return a country name for country id |