\AkismetField
Form field to handle akismet error display and handling
- Author: Damian Mooyman
Synopsis
class AkismetField
extends FormField
{
- // members
- private array $fieldMapping = ;
- // methods
- protected CheckboxField confirmationField()
- public void Field()
- public void FieldHolder()
- public array getSpamMappedData()
- protected string submittedValue()
- public boolean validate()
- public array getFieldMapping()
- public AkismetField setFieldMapping()
Hierarchy
Extends
- FormField
Members
private
- $fieldMapping — array
Methods
protected
- confirmationField() — Get the nested confirmation checkbox field
- submittedValue() — Determines the field value submitted
public
- Field()
- FieldHolder()
- getFieldMapping() — Get the fields to map spam protection too
- getSpamMappedData()
- setFieldMapping() — Set the fields to map spam protection too
- validate() — This function first gets values from mapped fields and then check these values against Mollom web service and then notify callback object with the spam checking result.