SproutCMS

This is the code documentation for the SproutCMS project

function detect()

Looks at a block of text to see if it looks like spam.

Usage

array Spam::detect ( string $text );

Arguments

  1. string $text
    The text to check for spam

Return value

  • array
    An array of errors. An empty array signals no unusual sequences were detected