[default] element index

All elements
a b c g k r s u v _
_
top
__construct
Constructor for the class, must be called
a
top
Akismet.php
Akismet.php in Akismet.php
b
top
$blog
c
top
checkIsSpam
Checks whether a comment / message is spam
g
top
getDefaultVars
Sets some default values for the user_ip, user_agent, and referrer options from the $_SERVER superglobal
Gregphoto_Service_Akismet
A class for dealing with the Akismet web service. Akismet provides a service to help people identify messages - specially blog comments - as spam or not spam.
k
top
$key
r
top
reset
Resets the class variable vars to only contain entries for key and blog. Sets up the class for further requests.
s
top
sendReq
Performs the HTTP request to the Akismet web service, adds the POST requests, and returns the response body from Akismet as a string
submitHam
This call is for submitting comments as ham (not spam) that were identified as spam by checkIsSpam. It takes identical arguments as checkIsSpam.
submitSpam
This call is for submitting comments as spam that weren't identified as spam by checkIsSpam. It takes identical arguments as checkIsSpam.
u
top
$userAgent
v
top
$validVars
$vars
validateKey
Validates whether or not your API key is valid
a b c g k r s u v _