

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 | |
1.5.6