mirror of
https://github.com/silverstripe/silverstripe-mathspamprotection
synced 2024-10-22 08:05:52 +02:00
26 lines
514 B
PHP
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)
|
|
{
|
|
}
|
|
}
|