function _uc_roles_expiration_header in Ubercart 6.2
Same name and namespace in other branches
- 7.3 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',
),
t('Operations'),
);
}