You are here

PaymentViewsHandlerFilterPaymentMethodTitle.inc in Payment 7

File

views/PaymentViewsHandlerFilterPaymentMethodTitle.inc
View source
<?php

/**
 * Filter by specific payment method, but show users their specific titles.
 */
class PaymentViewsHandlerFilterPaymentMethodTitle extends views_handler_filter_in_operator {

  /**
   * Implements views_handler_filter_in_operator::get_value_options().
   */
  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_options = payment_method_options();
    }
  }

}

Classes

Namesort descending Description
PaymentViewsHandlerFilterPaymentMethodTitle Filter by specific payment method, but show users their specific titles.