Class Akismet

Description

Located in /Akismet.class.php (line 22)


	
			
Method Summary
Akismet __construct (string $wordPressAPIKey, string $blogURL)
bool isCommentSpam ()
void setPermalink (mixed $permalink)
void submitHam ()
void submitSpam ()
Methods
Constructor __construct (line 40)

Creates a new Akismet object.

  • access: public
  • throws: Exception
Akismet __construct (string $wordPressAPIKey, string $blogURL)
  • string $wordPressAPIKey: Your WordPress API key. Get one here.
  • string $blogURL: The URL of your blog
isCommentSpam (line 140)

What you came here for.

Uses the web service provided by Akismet to see whether or not the submitted comment is spam.

  • return: True if the comment is spam, false if not
  • access: public
bool isCommentSpam ()
setPermalink (line 166)
  • access: public
void setPermalink (mixed $permalink)
submitHam (line 161)

Used to submit ham that is incorrectly tagged as spam.

Using this function will improve the Akismet service for everybody.

  • access: public
void submitHam ()
submitSpam (line 151)

Used to submit spam that is incorrectly tagged as ham.

Using this function will improve the Akismet service for everybody.

  • access: public
void submitSpam ()

Documentation generated on Thu, 12 Jan 2006 10:29:30 +0000 by phpDocumentor 1.3.0RC5