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