You are here

function currency_handler_argument_currency::title in Currency 7

Same name and namespace in other branches
  1. 6 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.

Overrides views_handler_argument::title

File

includes/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];
}