Akismet Class Reference

Inheritance diagram for Akismet:

Inheritance graph
[legend]
Collaboration diagram for Akismet:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 189 of file akismet.class.php.


Public Member Functions

 _fillCommentValues ()
 Fill any values not provided by the developer with available values.
 _formatCommentArray ()
 Format the comment array in accordance to the Akismet API.
 _getQueryString ()
 Build a query string for use with HTTP requests.
 _isValidApiKey ($key)
 Check with the Akismet server to determine if the API key is valid.
 Akismet ($blogUrl, $apiKey, $comment=array())
 Constructor.
 errorsExist ()
 Check if any errors exist.
 getComment ()
 Returns the current value of the object's comment array.
 getError ($name)
 Return a specific error message from the errors array.
 getErrors ()
 Return all errors in the object.
 isError ($name)
 Check if a certain error exists.
 isSpam ()
 Query the Akismet and determine if the comment is spam or not.
 setComment ($comment)
 Manually set the comment value of the instantiated object.
 setError ($name, $message)
 Add a new error to the errors array in the object.
 submitHam ()
 Submit a false-positive comment as "ham" to the Akismet server.
 submitSpam ()
 Submit this comment as an unchecked spam to the Akismet server.

Public Attributes

 $akismetServer = 'rest.akismet.com'
 $akismetVersion = '1.1'
 $apiKey = ""
 $apiPort = 80
 $blogUrl = ""
 $comment = array()
 $errors = array()
 $http
 $ignore

The documentation for this class was generated from the following file:

Generated on Mon Dec 8 01:07:20 2008 for Ship-Simulator by  doxygen 1.5.6