function spam_overview_filters in Spam 6
Same name and namespace in other branches
- 5.3 spam.module \spam_overview_filters()
List spam administration filters that can be applied.
3 calls to spam_overview_filters()
- spam_build_filter_query in ./
spam.module - Build query for spam administration filters based on session.
- spam_filter_form in ./
spam.module - Return form for spam administration overview filters.
- spam_filter_form_submit in ./
spam.module - Process result from ad administration filter form.
File
- ./
spam.module, line 1263 - Spam module, v3 Copyright(c) 2006-2008 Jeremy Andrews <jeremy@tag1consulting.com>. All rights reserved.
Code
function spam_overview_filters() {
$filters['module'] = array(
'title' => t('Type'),
'options' => module_invoke_all('spamapi', 'content_module', array()),
);
$filters['hostname'] = array(
'title' => t('IP'),
);
$filters['feedback'] = array(
'title' => t('Feedback'),
);
$filters['title'] = array(
'title' => t('Title'),
);
$filters['status'] = array(
'title' => t('Status'),
'options' => array(
t('published'),
t('not published'),
),
);
return $filters;
}