6 calls to spam_mark_as_spam() in Spam 5.3
- comment_spamapi_form_alter in modules/
spam_comment.inc - Form alter gets it's 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.)
- duplicate_spam_filter in filters/
duplicate/ duplicate.module - Determine whether or not the content is spam.
- spam_content_filter in ./
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.
- spam_content_insert in ./
spam.module - This function is called when new content is first posted to your website.
- spam_content_is_spam in ./
spam.module - API call to simply test if content is spam or not. No action is taken.
- spam_content_update in ./
spam.module - This function is called when content on your website is updated.