420. Class

420.1. Zend\Form\Element\Captcha

420.1.1. Methods

420.1.1.1. setOptions

setOptions()

Accepted options for Captcha: - captcha: a valid ZendCaptchaAdapterInterface

Parameters:array|Traversable
Return type:Captcha

420.1.1.2. setCaptcha

setCaptcha()

Set captcha

Parameters:array|ZendCaptchaAdapterInterface
Throws ExceptionInvalidArgumentException:
 
Return type:Captcha

420.1.1.3. getCaptcha

getCaptcha()

Retrieve captcha (if any)

Return type:null|ZendCaptchaAdapterInterface

420.1.1.4. getInputSpecification

getInputSpecification()

Provide default input rules for this element

Attaches the captcha as a validator.

Return type:array

Project Versions

Table Of Contents

Previous topic

419. Class

Next topic

421. Class

This Page