function Notifications_Subscription_Table::get_header in Notifications 7
Set default header
3 calls to Notifications_Subscription_Table::get_header()
- Notifications_Subscription_Table::set_header in ./
notifications.list.inc - Set fields as header
- Notifications_Subscription_Table::table_list in ./
notifications.list.inc - Produce simple table with all these subscriptions
- Notifications_Subscription_Table::table_select in ./
notifications.list.inc - Produce a select table with all these subscriptions
File
- ./
notifications.list.inc, line 654 - Drupal Notifications Framework - Default class file
Class
- Notifications_Subscription_Table
- Loadable collection of subscriptions for tablesel ect
Code
function get_header() {
return isset($this->header) ? $this->header : array(
'sid' => array(
'data' => t('Id'),
'field' => 's.sid',
),
'type' => array(
'data' => t('Type'),
'field' => 's.type',
),
'status' => array(
'data' => t('Status'),
'field' => 's.status',
),
'uid' => array(
'data' => t('User'),
'field' => 's.uid',
),
'name' => t('Description'),
'created' => array(
'data' => t('Created'),
'field' => 's.created',
'sort' => 'desc',
),
);
}