You are here

function payment_payment_status_sort_title in Payment 7

Implements uasort() callback to sort PaymentStatusInfo objects by title.

1 string reference to 'payment_payment_status_sort_title'
payment_status_hierarchy in ./payment.ui.inc
Returns a hierarchical representation of payment statuses.

File

./payment.ui.inc, line 526
The Payment user interface.

Code

function payment_payment_status_sort_title(PaymentStatusInfo $status_a, PaymentStatusInfo $status_b) {
  return strcmp($status_a->title, $status_b->title);
}