You are here

function _uc_roles_expiration_header in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 uc_roles/uc_roles.admin.inc \_uc_roles_expiration_header()

Creates the header for the table/pager.

2 calls to _uc_roles_expiration_header()
theme_uc_roles_expiration in uc_roles/uc_roles.admin.inc
Themes user role expiration page.
uc_roles_expiration in uc_roles/uc_roles.admin.inc
Menu callback for viewing expirations.

File

uc_roles/uc_roles.admin.inc, line 11
Roles administration menu items.

Code

function _uc_roles_expiration_header() {
  return array(
    array(
      'data' => t('Username'),
      'field' => 'u.name',
    ),
    array(
      'data' => t('Role'),
      'field' => 'e.rid',
    ),
    array(
      'data' => t('Expiration date'),
      'field' => 'e.expiration',
      'sort' => 'asc',
    ),
    array(
      'data' => t('Operations'),
      'colspan' => 2,
    ),
  );
}