function spam_invoke_module in Spam 5.3
Same name and namespace in other branches
- 6 spam.module \spam_invoke_module()
Invoke spam API functions in a specific module.
35 calls to spam_invoke_module()
- bayesian_spamapi in filters/
bayesian/ bayesian.module - Spam API Hook
- bayesian_spam_filter in filters/
bayesian/ bayesian.module - Determine whether or not the content is spam.
- bayesian_tokenize in filters/
bayesian/ bayesian.module - Split content into an array of tokens.
- custom_spam_filter in filters/
custom/ custom.module - Apply enabled custom filter rules against content.
- duplicate_spamapi in filters/
duplicate/ duplicate.module - Spam API Hook
File
- ./
spam.module, line 983
Code
function spam_invoke_module() {
$args = func_get_args();
$module = array_shift($args);
array_unshift($args, $module, 'spamapi');
return call_user_func_array('module_invoke', $args);
}