silverstripe-mathspamprotec.../code/MathSpamProtector.php

26 lines
514 B
PHP
Raw Normal View History

<?php
/**
* @package mathspamprotection
*/
2015-11-21 07:27:13 +01:00
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);
}
2015-11-21 07:27:13 +01:00
/**
* Not used by MathSpamProtector
*/
public function setFieldMapping($fieldMapping)
{
}
}