You are here

Functions in Spam 6

Primary tabs

Namesort descending Location Description Direct uses Strings
spam_uninstall ./spam.install
spam_unpublish ./spam.module Invoke unpublish action for given content type. TODO: Integrate with the Actions module. 2
spam_update_6001 ./spam.install Allow for non-integer spam IDs
spam_update_6002 ./spam.install Add language field to spam_filters_errors table.
spam_update_6003 ./spam.install Drop unused fields/tables
spam_user content/spam_content_user.inc
theme_spam_admin_filters ./spam.module Display list of filters.
theme_spam_admin_overview ./spam.module Theme spam administration overview.
theme_spam_content_comment_admin_overview content/spam_content_comment.inc Re-use function from comment module.
theme_spam_filter_custom_admin_settings filters/spam_filter_custom/spam_filter_custom.module Format the custom filter admin page.
theme_spam_filter_form ./spam.module Theme spam administration filter form.
theme_spam_overview_filters ./spam.module Theme spam administration filter selector.
user_spamapi content/spam_content_user.inc User module _spamapi() hook. 1
user_spamapi_form_alter content/spam_content_user.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.)
user_spam_scan content/spam_content_user.inc Scan user before it is created in the database. 1
_spam_content_comment_cid content/spam_content_comment.inc Cache the comment id to be sure it's available when we need it. 2
_spam_content_comment_score content/spam_content_comment.inc Retreive spam score, caching in memory for repeated use. 2
_spam_content_node_nid content/spam_content_node.inc Cache the node id to be sure it's available when we need it. 1
_spam_content_node_score content/spam_content_node.inc Retrieve spam score, caching in memory for repeated use. 1
_spam_content_user_uid content/spam_content_user.inc Cache the user id to be sure it's available when we need it. 1
_spam_error_link ./spam.module Helper function, generate a link for reporting mis-filtered content. 1
_spam_filter_duplicate_action filters/spam_filter_duplicate/spam_filter_duplicate.module 2
_spam_filter_duplicate_arg filters/spam_filter_duplicate/spam_filter_duplicate.module The arg() function may not be availble early in the bootstrap process, so we reimplement it here. 1
_spam_filter_duplicate_content_hash filters/spam_filter_duplicate/spam_filter_duplicate.module Get and md5 hash of all content truncated together. 2
_spam_filter_surbl_url_extract filters/spam_filter_surbl/spam_filter_surbl.module Extract URLs from content. 1
_spam_filter_url_count filters/spam_filter_url/spam_filter_url.module Keep track of the total number of URLs found in the current content. 2
_spam_filter_url_extract filters/spam_filter_url/spam_filter_url.module 2
_spam_log_trace ./spam.module Maintain a "trace id", allowing easy tracing of all spam actions for each page load. Only active if logging is set to verbose or higher. 1
_spam_sign ./spam.module Helper function, returns a randomized token used to build a unique path for reporting mis-filtered content. Intended as a spam deterrent. 2
_spam_truncate ./spam.module 1
_spam_update_statistics ./spam.module Increment internal counters. 9

Pages

Other projects