Version: current

     1 <?php
     2
     3 /**
     4  * Spam Protector base interface. All Protectors should implement this interface
     5  * to ensure that they contain all the correct methods.
     6  *
     7  * @package spamprotection
     8  */
     9
    10 interface SpamProtector {
    11
    12     /**
    13      * Return the Field Associated with this protector
    14      */
    15     public function getFormField($name = null, $title = null, $value = null, $form = null, $rightTitle = null);
    16
    17     /**
    18      * Function required to handle dynamic feedback of the system.
    19      * if unneeded just return true
    20      */
    21     public function sendFeedback($object = null, $feedback = "");
    22
    23 }

[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. -