function uc_get_initials in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_store/uc_store.module \uc_get_initials()
7 calls to uc_get_initials()
- op_admin_comments_view_table in uc_order/
uc_order_order_pane.inc - op_order_comments_view_table in uc_order/
uc_order_order_pane.inc - uc_order_log in uc_order/
uc_order.module - Display a log of changes made to an order.
- uc_order_pane_admin_comments in uc_order/
uc_order_order_pane.inc - Handle the "Admin Comments" order pane.
- uc_payment_by_order_form in payment/
uc_payment/ uc_payment.module
File
- uc_store/
uc_store.module, line 2409 - 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));
}