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

Packages

  • auth
  • Booking
  • cart
    • shipping
    • steppedcheckout
  • Catalog
  • 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

  • StealthCaptchaProtector
  • StealthFieldCaptcha
 1 <?php
 2 
 3 /**
 4  * Класс Protector (добавляет поле StealthFieldCaptcha в форму)
 5  *
 6  * @package stealth_captha
 7  * @author menedem
 8  */
 9 class StealthCaptchaProtector implements SpamProtector {
10     
11     /**
12      * Return the Field that we will use in this protector
13      * 
14      * @return string
15      */
16     function getFormField($name = "StealthChkField", $title = "Human Check", $value = null, $form = null, $rightTitle = null) {
17         return new StealthFieldCaptcha($name, $title, $value, $form, $rightTitle);
18     }
19     
20     /**
21      * Needed for the interface. 
22      *
23      * @return boolean
24      */
25     function sendFeedback($object = null, $feedback = "") {
26         return true;
27     }
28     
29 }
30 
[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.1 API Docs API documentation generated by ApiGen 2.8.0