You are here

Functions in Spam 5.3

Primary tabs

Namesort descending Location Description Direct uses Strings
spam_admin_overview_submit ./spam.module Submit the spam administration update form.
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_admin_settings_form_submit ./spam.module Store general spam settings in database.
spam_build_filter_query ./spam.module Build query for spam administration filters based on session. 1
spam_comment_admin modules/spam_comment.inc Menu callback; present an administrative spam comment listing. 1
spam_comment_admin_overview modules/spam_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_comment_admin_overview_submit modules/spam_comment.inc Re-use function from comment module.
spam_comment_admin_overview_validate modules/spam_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. 3
spam_content_insert ./spam.module This function is called when new content is first posted to your website. 4
spam_content_is_spam ./spam.module API call to simply test if content is spam or not. No action is taken. 1
spam_content_update ./spam.module This function is called when content on your website is updated. 3
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. This for is a likely candidate for a captcha. 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 Require user reporting non-spam to submit feedback. 1
spam_error_page_submit ./spam.module Store reported legitimate content in database.
spam_filter_content_type ./spam.module Determine if we should be filtering a given content type. 3
spam_filter_enabled ./spam.module Determine if a given filter is enabled.
spam_filter_form ./spam.module Return form for spam administration overview filters. 1
spam_filter_form_submit ./spam.module Process result from ad administration filter form.
spam_form_alter ./spam.module Drupal form_alter() hook.
spam_get_text ./spam.module Extract text from content array. 2
spam_help ./spam.module Online help. Drupal _help() hook.
spam_init_api ./spam.module As the spam module isn't a core Drupal module, many important modules won't utilize its API. We define the appropriate hooks for these modules in the modules/ subdirectory. For example, we define the spam api hooks for the node module in… 1
spam_init_filters ./spam.module Check if any new spam filters are available for installation. 1
spam_install ./spam.install
spam_install_filter ./spam.module Install the named spam filter, making it available for detecting spam content. It will be configured per any defaults defined by the filter. 1
spam_invoke_api ./spam.module Invoke spam API functions defined by other modules. 9
spam_invoke_module ./spam.module Invoke spam API functions in a specific module. 35
spam_link ./spam.module Drupal _link() hook.
spam_links ./spam.module Add the appropriate links to all content that is actively being filtered. 3
spam_log ./spam.module Write to the spam_log database table. 23 3
spam_logs_blocked_ip filters/duplicate/duplicate.module 1
spam_logs_entry ./spam.module Displays complete information about a single log entry. 1
spam_logs_overview ./spam.module Display an overview of the latest spam_log entries. 1
spam_logs_statistics ./spam.module Display statistics overview. 1
spam_logs_trace ./spam.module Trace all logs generated by the same page load. 1
spam_mark_as_not_spam ./spam.module Invoke appropriate actions for marking content as not spam. TODO: Integrate with the Actions module, making actions fully configurable. 3 1
spam_mark_as_spam ./spam.module Invoke appropriate actions for marking content as spam. TODO: Integrate with the Actions module, making actions fully configurable. 6 1
spam_menu ./spam.module Drupal _menu() hook.
spam_operations_callback ./spam.module Callback function for admin mass editing spam. Mark as spam. 1
spam_overview_filters ./spam.module List spam administration filters that can be applied. 3
spam_perm ./spam.module Drupal _perm hook.
spam_publish ./spam.module Invoke unpublish action for given content type. TODO: Integrate with the Actions module. 1
spam_range ./spam.module Support PHP4 which has no 'step' parameter in its range() function. 3
spam_sanitize_score ./spam.module Be sure the spam score is within the allowable range of 1 and 99. 2

Pages

Other projects