silverstripe-mathspamprotec.../code/MathSpamProtector.php
2014-02-19 10:13:39 +13:00

24 lines
465 B
PHP

<?php
/**
* @package mathspamprotection
*/
class MathSpamProtector implements SpamProtector {
/**
* Returns the {@link MathSpamProtectorField} associated with this protector
*
* @return MathSpamProtectorField
*/
public function getFormField($name = null, $title = null, $value = null) {
return new MathSpamProtectorField($name, $title, $value);
}
/**
* Not used by MathSpamProtector
*/
public function setFieldMapping($fieldMapping) {}
}