Jelix 1.8.9

ReCaptchaValidator
in package
implements CaptchaValidatorInterface

Tags

Interfaces, Classes and Traits

CaptchaValidatorInterface
Interface for validators for the captcha widget.

Table of Contents

initOnDisplay()  : mixed
called by the widget to initialize some data when the form is generated.
validate()  : null|int
Validate the data coming from the submitted form.

Methods

initOnDisplay()

called by the widget to initialize some data when the form is generated.

public initOnDisplay() : mixed

It can returns some data that can be useful for the widget

Tags
Return values
mixed

validate()

Validate the data coming from the submitted form.

public validate(mixed $value, mixed $internalData) : null|int

It should returns null if it is ok, or one of jForms::ERRDATA_* constant

Parameters
$value : mixed
$internalData : mixed
Tags
Return values
null|int

Search results