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
|
* markAsSpam() and markAsHam should be called in validate() after the status of the spam checking has
|
||||||
* been obtained.
|
* been obtained.
|
||||||
*
|
*
|
||||||
|
* @package spamprotection
|
||||||
*/
|
*/
|
||||||
class SpamProtectorField extends FormField {
|
class SpamProtectorField extends FormField {
|
||||||
|
|
||||||
protected $spanControlCallbackObj = null;
|
protected $spanControlCallbackObj = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the Callback Object
|
||||||
|
*/
|
||||||
function setCallbackObject($callbackObject) {
|
function setCallbackObject($callbackObject) {
|
||||||
$this->spanControlCallbackObj = $callbackObject;
|
$this->spanControlCallbackObj = $callbackObject;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user