You are here

function uc_get_initials in Ubercart 6.2

Same name and namespace in other branches
  1. 5 uc_store/uc_store.module \uc_get_initials()

Returns the initials for a user account.

7 calls to uc_get_initials()
op_admin_comments_view_table in uc_order/uc_order.order_pane.inc
Builds the order admin comments table.
op_order_comments_view_table in uc_order/uc_order.order_pane.inc
Builds the order comments table.
uc_order_log in uc_order/uc_order.admin.inc
Displays a log of changes made to an order.
uc_order_pane_admin_comments in uc_order/uc_order.order_pane.inc
Handles the "Admin Comments" order pane.
uc_payment_by_order_form in payment/uc_payment/uc_payment.admin.inc
Displays a list of payments attached to an order.

... See full list

File

uc_store/uc_store.module, line 1540
Contains global Ubercart functions and store administration functionality.

Code

function uc_get_initials($uid) {
  if ($uid == 0 || $uid == NULL) {
    return '-';
  }
  return check_plain(variable_get('user_initials_' . $uid, $uid));
}