Class

FormFieldCaptcha

Package: Builder\Form\field Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2018 10 02 Since: PHPBoost 3.0 - 2010 01 11 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Located at: builder/form/field/FormFieldCaptcha.class.php

This class manage captcha validation fields to avoid bot spam.

AbstractFormField implements FormField
Extended by FormFieldCaptcha
Methods summary
public
# __construct( Captcha $id = 'captcha' )
public
# retrieve_value( )

Tries to retrieve the value in the HTTP request's parameters.

public string
# display( )

Return the element

public boolean
# validate( )

Validates the field by cheching if all the constraints are satisfied.

protected Template