uc_order_handler_field_order_status.inc 394 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @file
  4. * Views handler: Order status field.
  5. */
  6. /**
  7. * Returns a human readable text for order status to display in the View.
  8. */
  9. class uc_order_handler_field_order_status extends views_handler_field {
  10. /**
  11. * Overrides views_handler_field::render().
  12. */
  13. function render($values) {
  14. return check_plain(uc_order_status_data($this->get_value($values), 'title'));
  15. }
  16. }