You are here

function spam_invoke_api in Spam 6

Same name and namespace in other branches
  1. 5.3 spam.module \spam_invoke_api()

Invoke spam API functions defined by other modules.

9 calls to spam_invoke_api()
spam_admin_settings_form in ./spam.module
Spam module settings form.
spam_build_filter_query in ./spam.module
Build query for spam administration filters based on session.
spam_filter_bayesian_tokenize in filters/spam_filter_bayesian/spam_filter_bayesian.module
Split content into an array of tokens.
spam_init_filters in ./spam.module
Check if any new spam filters are available for installation.
spam_logs_statistics in ./spam.module
Display statistics overview.

... See full list

File

./spam.module, line 971
Spam module, v3 Copyright(c) 2006-2008 Jeremy Andrews <jeremy@tag1consulting.com>. All rights reserved.

Code

function spam_invoke_api() {
  $args = func_get_args();
  array_unshift($args, 'spamapi');
  return call_user_func_array('module_invoke_all', $args);
}