Recaptcha

A reCAPTCHA form element used to verify whether a user is human.
extends Zend\Form\Element implements Zend\InputFilter\InputProviderInterface
Methods Summary
public
# __construct( $name = NULL, $options = array ( ) )
public
public
# setSiteKey( $siteKey )
public
# setSecretKey( $secretKey )
public
# setRemoteIp( $remoteIp )
public
# setClient( Zend\Http\Client $client )
public
public
# isValid( string $value )
Validate the reCAPTCHA.
Methods inherited from Zend\Form\Element
__construct(), init(), setName(), getName(), setOptions(), getOptions(), getOption(), setOption(), setAttribute(), getAttribute(), removeAttribute(), hasAttribute(), setAttributes(), getAttributes(), removeAttributes(), clearAttributes(), setValue(), getValue(), setLabel(), getLabel(), setLabelAttributes(), getLabelAttributes(), setLabelOptions(), getLabelOptions(), clearLabelOptions(), removeLabelOptions(), setLabelOption(), getLabelOption(), removeLabelOption(), hasLabelOption(), setMessages(), getMessages()
Properties Summary
protected array $attributes
# array ( 'type' => 'recaptcha', 'name' => 'g-recaptcha-response', 'class' => 'g-recaptcha', )
protected string $siteKey
# NULL
protected string $secretKey
# NULL
protected string $remoteIp
# NULL
protected Zend\Http\Client $client
# NULL
Properties inherited from Zend\Form\Element
$attributes, $label, $labelAttributes, $labelOptions, $messages, $options, $value