2009-03-11 05:42:21 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Spam Protector base interface. All Protectors should implement this interface
|
2009-09-17 06:06:53 +02:00
|
|
|
* to ensure that they contain all the correct methods.
|
2009-03-11 05:42:21 +01:00
|
|
|
*
|
2009-09-17 06:06:53 +02:00
|
|
|
* @package spamprotection
|
2009-03-11 05:42:21 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
interface SpamProtector {
|
|
|
|
|
2009-03-25 03:14:26 +01:00
|
|
|
/**
|
2009-09-17 06:06:53 +02:00
|
|
|
* Return the Field Associated with this protector
|
2009-03-25 03:14:26 +01:00
|
|
|
*/
|
2009-09-17 06:06:53 +02:00
|
|
|
public function getFormField($name = null, $title = null, $value = null, $form = null, $rightTitle = null);
|
2009-03-25 03:14:26 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Function required to handle dynamic feedback of the system.
|
|
|
|
* if unneeded just return true
|
|
|
|
*/
|
2009-03-11 05:42:21 +01:00
|
|
|
public function sendFeedback($object = null, $feedback = "");
|
|
|
|
|
2009-09-17 06:06:53 +02:00
|
|
|
}
|