Methods
All methods in the Solar_Service_Akismet
class.
Public
-
__construct()
-
Constructor.
-
__destruct()
-
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
commentCheck()
-
Checks the comment data with Akismet to see if it is spam.
-
dump()
-
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
-
getResponse()
-
Get the most-recent response sent from Akismet.
-
locale()
-
Looks up class-specific locale strings based on a key.
-
submitHam()
-
Submits data to Akismet to establish it as ham (i.e., not spam).
-
submitSpam()
-
Submits data to Akismet to establish it as spam.
-
verifyKey()
-
Verifies the API key with Akismet.
Protected
-
_buildConfig()
-
Builds and returns the default config for a class, including all configs inherited from its parents.
-
_exception()
-
Convenience method for returning exceptions with localized text.
-
_fetchResponse()
-
Calls the Akismet REST API via an HTTP POST request, and returns the HTTP response.
-
_postConfig()
-
A hook that activates after _buildConfig() in the constructor.
-
_postConstruct()
-
Post-construction tasks to complete object construction.
-
_preConfig()
-
A hook that activates before _buildConfig() in the constructor.
-
_prepareData()
-
Prepares the comment, spam, or ham comment data by reference for submission to Akismet.
Private
None.