Webylon 3.2 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • 1c
    • exchange
      • catalog
  • auth
  • Booking
  • building
    • company
  • cart
    • shipping
    • steppedcheckout
  • Catalog
    • monument
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • PhpCaptchaProtector

Class PhpCaptchaProtector

Protecter class to handle spam protection interface

PhpCaptchaProtector implements SpamProtector
Package: recaptcha
Located at phpcaptcha/code/PhpCaptchaProtector.php

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

Return the Field that we will use in this protector

Returns

string
string

Implementation of

SpamProtector::getFormField()
public boolean
# sendFeedback( mixed $object = null, mixed $feedback = "" )

Needed for the interface. Recaptcha does not have a feedback loop

Needed for the interface. Recaptcha does not have a feedback loop

Returns

boolean
boolean

Implementation of

SpamProtector::sendFeedback()
public
# getFieldName( )
public
# updateForm( mixed $form, mixed $before = null, mixed $fieldsToSpamServiceMapping = null )

Update a form with the Simple Spam Field Protection

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

Set which fields need to be mapped for protection

Magic methods summary

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.2 API Docs API documentation generated by ApiGen 2.8.0