Zend_Service_AkismetAkismet REST service implementation
Located in /Service/Akismet.php (line 45)
Zend_Service_Abstract | --Zend_Service_Akismet
string
$_apiKey
(line 51)
Akismet API key
string
$_blogUrl
(line 57)
Blog URL
string
$_charset
= 'UTF-8' (line 63)
Charset used for encoding
int
$_port
= 80 (line 69)
TCP/IP port to use in requests
string
$_userAgent
(line 75)
User Agent string to send in requests
Inherited from Zend_Service_Abstract
Zend_Service_Abstract::$_httpClient
Constructor __construct (line 84)
Constructor
getApiKey (line 125)
Retrieve API key
getBlogUrl (line 96)
Retrieve blog URL
getCharset (line 147)
Retrieve charset
getPort (line 169)
Retrieve TCP/IP port
getUserAgent (line 197)
Retrieve User Agent string
isSpam (line 324)
Check a comment for spam
Checks a comment to see if it is spam. $params should be an associative array with one or more of the following keys (unless noted, all keys are optional):
This method implements the Akismet comment-check REST method.
setBlogUrl (line 108)
Set blog URL
setUserAgent (line 211)
Set User Agent
Should be of form "Some user agent/version | Akismet/version"
submitHam (line 383)
Submit ham
Takes the same arguments as isSpam().
Submits a comment that has been falsely categorized as spam by Akismet as a false positive, telling Akismet's filters not to filter such comments as spam in the future.
Unlike submitSpam() and isSpam(), a valid API key is never necessary; as a result, this method never throws an exception (unless an exception happens with the HTTP client layer).
this method implements Akismet's submit-ham REST method.
submitSpam (line 355)
Submit spam
Takes the same arguments as isSpam().
Submits known spam content to Akismet to help train it.
This method implements Akismet's submit-spam REST method.
verifyKey (line 258)
Verify an API key
_makeApiCall (line 284)
Perform an API call
_post (line 232)
Post a request
Inherited From Zend_Service_Abstract
Zend_Service_Abstract::getHttpClient()
Zend_Service_Abstract::setHttpClient()
Documentation generated on Mon, 21 Jun 2010 15:06:56 -0400 by phpDocumentor 1.4.3