You are here

function currency_handler_argument_currency::title in Currency 6

Same name and namespace in other branches
  1. 7 includes/views/handlers/currency_handler_argument_currency.inc \currency_handler_argument_currency::title()

Get the title this argument will assign the view, given the argument.

This usually needs to be overridden to provide a proper title.

File

views/handlers/currency_handler_argument_currency.inc, line 19
Views argument handler.

Class

currency_handler_argument_currency
@file Views argument handler.

Code

function title() {
  $currency_names = currency_api_get_list();
  return $currency_names[$this->argument];
}