You are here

Functions in Spam 6

Primary tabs

Namesort descending Location Description Direct uses Strings
comment_spamapi content/spam_content_comment.inc Spam module _spamapi() hook.
comment_spamapi_form_alter content/spam_content_comment.inc Form alter gets its own function so we can reference &$form without causing errors in PHP4 installations. (If we use spamapi, we have to set a default, which PHP4 doesn't support.)
comment_spam_scan content/spam_content_comment.inc Scan comment content before it is posted into the database. 1
contact_spamapi content/spam_content_contact.inc Spam module _spamapi() hook.
contact_spamapi_form_alter content/spam_content_contact.inc Form alter gets its own function so we can reference &$form without causing errors in PHP4 installations. (If we use spamapi, we have to set a default, which PHP4 doesn't support.)
contact_spam_scan content/spam_content_contact.inc Scan contact form content before it is sent to users. 1
node_spamapi content/spam_content_node.inc Spam module _spamapi() hook.
node_spamapi_form_alter content/spam_content_node.inc Form alter gets its own function so we can reference &$form without causing errors in PHP4 installations. (If we use spamapi, we have to set a default, which PHP4 doesn't support.)
node_spam_scan content/spam_content_node.inc Scan node content before it is posted into the database. 1
notifications_spamapi content/spam_content_notifications.inc Spam module _spamapi() hook.
spam_action_info ./spam.module Implementation of hook_action_info().
spam_admin_feedback_delete_submit ./spam.module 1
spam_admin_feedback_form ./spam.module Spam feedback details. 1
spam_admin_feedback_form_submit ./spam.module Process spam feedback.
spam_admin_filters ./spam.module 1
spam_admin_filters_submit ./spam.module Perform the actual update.
spam_admin_filter_overview ./spam.module Spam filter overview page. Allows enabling/disabling, ordering, and tuning of individual filters. 1
spam_admin_list ./spam.module Manage spam content. 1
spam_admin_list_feedback ./spam.module Spam feedback overview. 1
spam_admin_overview ./spam.module A filterable list of spam. 1
spam_admin_overview_submit ./spam.module Submit the spam administration update form. Reusable for content submodules. This should probably be a TODO for going into the API docs, and replacing some custom submits. Submodules will need to define #spam_submit_valuetype and… 1
spam_admin_overview_validate ./spam.module Required to select something.
spam_admin_settings ./spam.module Spam module settings page. 1
spam_admin_settings_form ./spam.module Spam module settings form. 1
spam_build_filter_query ./spam.module Build query for spam administration filters based on session. 1
spam_bypass_filters ./spam.module Helper function to check whether the filter or their actions should be bypassed. 6
spam_comment content/spam_content_comment.inc Drupal _comment() hook.
spam_content_comment_admin content/spam_content_comment.inc Menu callback; present an administrative spam comment listing. 1
spam_content_comment_admin_overview content/spam_content_comment.inc The 5.x version of comment_admin_overview doesn't provide hooks to easily create a spam overview page. This is nearly an exact copy of that function, with minor changes for loading spam and processing it. 2
spam_content_comment_admin_overview_submit content/spam_content_comment.inc Re-use function from comment module.
spam_content_comment_admin_overview_validate content/spam_content_comment.inc Duplicate function from comment module so we can set correct goto url.
spam_content_delete ./spam.module This function is called when content on your website is deleted. 3
spam_content_filter ./spam.module API call to determine the likeliness that a given piece of content is spam, returning a rating from 1% likelihood to 99% likelihood. It is unlikely that you want to call this function directly. 1
spam_content_insert ./spam.module This function is called when new content is first posted to your website. 5
spam_content_is_spam ./spam.module API call to simply test if content is spam or not. No action is taken. 5
spam_content_update ./spam.module This function is called when content on your website is updated. 3
spam_content_user_profile_update content/spam_content_user.inc Be sure we're scanning the latest profile data. 1
spam_cron ./spam.module Drupal _cron hook.
spam_denied_in_error_page ./spam.module Allow the user to report when their content was inapropriately marked as spam. 1
spam_denied_page ./spam.module Generate an error message informing the user that their posting has been blocked by the spam filter. Provide a dynamic link for reporting if their posting was blocked in error. 2 1
spam_error_page ./spam.module 1
spam_error_page_submit ./spam.module Form submit callback for feedback form.
spam_feedback_insert ./spam.module Store reported legitimate content in database. 2
spam_filter_bayesian_admin_settings filters/spam_filter_bayesian/spam_filter_bayesian.module Adminsitrative interface for configuring the bayesian filter rules. 1
spam_filter_bayesian_expand_cjk filters/spam_filter_bayesian/spam_filter_bayesian.module From core search.module 1
spam_filter_bayesian_install filters/spam_filter_bayesian/spam_filter_bayesian.install Install bayesian module schema.
spam_filter_bayesian_menu filters/spam_filter_bayesian/spam_filter_bayesian.module Drupal _menu() hook.
spam_filter_bayesian_schema filters/spam_filter_bayesian/spam_filter_bayesian.install Implementation of hook_schema().
spam_filter_bayesian_spamapi filters/spam_filter_bayesian/spam_filter_bayesian.module Spam API Hook
spam_filter_bayesian_spam_filter filters/spam_filter_bayesian/spam_filter_bayesian.module Determine whether or not the content is spam. 1

Pages

Other projects