You are here

function PaymentViewsHandlerFieldPaymentStatusTitle::render in Payment 7

Implements views_handler_field::render().

Overrides views_handler_field::render

File

views/PaymentViewsHandlerFieldPaymentStatusTitle.inc, line 16
A views field handler. See payment_views_data().

Class

PaymentViewsHandlerFieldPaymentStatusTitle
Views field handler for a payment status item's human-readable title.

Code

function render($values) {
  $status = payment_status_info($this
    ->get_value($values), TRUE);
  return $status->title;
}