\MollomSpamProtector
A customized version of {@link Mollom} to run on SilverStripe. See the MollomPHP page (https://github.com/mollom/MollomPHP) for more information about the abstracted methods.
Synopsis
class MollomSpamProtector
extends Mollom
implements
SpamProtector
{
- // members
- private array $fieldMapping = ;
- public array $configurationMap = ;
- // methods
- public mixed loadConfiguration()
- public void saveConfiguration()
- public void deleteConfiguration()
- public array getClientInformation()
- protected void request()
- public MollomField getFormField()
- public void setFieldMapping()
Hierarchy
Extends
- Mollom
Implements
- SpamProtector
Members
private
- $fieldMapping — array
public
- $configurationMap — array
Methods
protected
- request() — Send the request to Mollom. Must return the result in the format prescribed by the Mollom base class.
public
- deleteConfiguration() — Delete a configuration value.
- getClientInformation() — Helper for Mollom to know this current client instance.
- getFormField() — Return the Field that we will use in this protector.
- loadConfiguration() — Load configuration for a given variable such as privateKey. Since SilverStripe uses YAML conventions, look for those variables
- saveConfiguration() — Save configuration value for a given variable
- setFieldMapping()