silverstripe-mathspamprotec.../code/MathSpamProtector.php
2015-11-21 19:27:13 +13:00

26 lines
514 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)
{
}
}