While the Akismet API only specifies four methods,
Zend_Service_Akismet has several additional methods
that may be used for retrieving and modifying internal properties.
getBlogUrl()andsetBlogUrl()allow you to retrieve and modify the blog URL used in requests.getApiKey()andsetApiKey()allow you to retrieve and modify the API key used in requests.getCharset()andsetCharset()allow you to retrieve and modify the character set used to make the request.getPort()andsetPort()allow you to retrieve and modify the TCP port used to make the request.-
getUserAgent()andsetUserAgent()allow you to retrieve and modify the HTTP user agent used to make the request. Note: this is not the user_agent used in data submitted to the service, but rather the value provided in the HTTP User-Agent header when making a request to the service.The value used to set the user agent should be of the form
some user agent/version | Akismet/version. The default isZend Framework/ZF-VERSION | Akismet/1.11, whereZF-VERSIONis the current Zend Framework version as stored in theZend_Framework::VERSIONconstant.




