function spam_overview_filters in Spam 5.3
Same name and namespace in other branches
- 6 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 1235
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;
}