Class PhpCaptchaProtector
Protecter class to handle spam protection interface
- PhpCaptchaProtector implements SpamProtector
Methods summary
public
string
|
#
getFormField( mixed $name = "PhpCaptchaField", mixed $title = "Captcha", mixed $value = null, mixed $form = null, mixed $rightTitle = null )
Return the Field that we will use in this protector |
public
boolean
|
#
sendFeedback( mixed $object = null, mixed $feedback = "" )
Needed for the interface. Recaptcha does not have a feedback loop |
public
|
|
public
|
#
updateForm( mixed $form, mixed $before = null, mixed $fieldsToSpamServiceMapping = null )
Update a form with the Simple Spam Field Protection |
public
|
#
setFieldMapping( mixed $fieldToPostTitle, mixed $fieldsToPostBody = null, mixed $fieldToAuthorName = null, mixed $fieldToAuthorUrl = null, mixed $fieldToAuthorEmail = null, mixed $fieldToAuthorOpenId = null )
Set which fields need to be mapped for protection |