You are here

function spam_invoke_module in Spam 6

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

Invoke spam API functions in a specific module.

36 calls to spam_invoke_module()
spam_admin_feedback_form in ./spam.module
Spam feedback details.
spam_admin_feedback_form_submit in ./spam.module
Process spam feedback.
spam_admin_overview in ./spam.module
A filterable list of spam.
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.

... See full list

File

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

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);
}