mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +02:00
MINOR: added package
This commit is contained in:
parent
3c1c9f943a
commit
819732d910
@ -8,11 +8,15 @@
|
||||
* markAsSpam() and markAsHam should be called in validate() after the status of the spam checking has
|
||||
* been obtained.
|
||||
*
|
||||
* @package spamprotection
|
||||
*/
|
||||
class SpamProtectorField extends FormField {
|
||||
|
||||
protected $spanControlCallbackObj = null;
|
||||
|
||||
/**
|
||||
* Set the Callback Object
|
||||
*/
|
||||
function setCallbackObject($callbackObject) {
|
||||
$this->spanControlCallbackObj = $callbackObject;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user