Source of file ReCaptchaProtector.php
Size: 0,611 Bytes - Last Modified: 2021-12-24T06:19:35+00:00
/var/www/docs.ssmods.com/process/src/src/ReCaptchaProtector.php
1234567891011121314151617181920212223242526272829 | <?php namespace Kmedia\ReCaptcha; use SilverStripe\SpamProtection\SpamProtector; class ReCaptchaProtector implements SpamProtector { /** * Return the Field that we will use in this protector * @param string $name * @param string $title * @param mixed $value * @return ReCaptchaField */ public function getFormField($name = 'ReCaptchaField', $title = 'ReCaptcha', $value = null) { return ReCaptchaField::create($name, $title); } /** * Not used by ReCaptcha */ public function setFieldMapping($fieldMapping) { // ... } } |