vB_Akismet
in package
Uses
vB_Trait_NoSerialize
Class to handle interacting with the Akismet service
Table of Contents
Methods
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- instance() : mixed
- Enforces singleton use
- markAsHam() : string
- Identify a missed identified item as ham (false positive)
- markAsSpam() : string
- Identify a missed item as spam
- verifyText() : string
- Makes a verification call to Aksimet to check content
Methods
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $serialized) : void
Parameters
- $serialized : array<string|int, mixed>
__wakeup()
public
__wakeup() : void
instance()
Enforces singleton use
public
static instance() : mixed
markAsHam()
Identify a missed identified item as ham (false positive)
public
markAsHam(mixed $params) : string
Parameters
- $params : mixed
Return values
string —direct result from API call
markAsSpam()
Identify a missed item as spam
public
markAsSpam(mixed $params) : string
Parameters
- $params : mixed
Return values
string —direct result from API call
verifyText()
Makes a verification call to Aksimet to check content
public
verifyText(mixed $params) : string
Parameters
- $params : mixed
Return values
string —spam or ham