Documentation

Recaptcha3
in package

Table of Contents

Constants

MIN_SCORE  : float = 0.2

Methods

check()  : bool
Checks the captcha field against the submitted text
field()  : void
Renders the captcha field
skin()  : void
Includes required JS libraries Should be used on all templates

Constants

MIN_SCORE

public float MIN_SCORE = 0.2

Less than this: we think they are bad

Methods

check()

Checks the captcha field against the submitted text

public static check([float $min_score = self::MIN_SCORE ]) : bool
Parameters
$min_score : float = self::MIN_SCORE

Minimum score required (default: 0.2)

Tags
throws
Exception

On invalid response

Return values
bool —

True on success

field()

Renders the captcha field

public static field() : void
Return values
void —

Echos HTML directly

skin()

Includes required JS libraries Should be used on all templates

public static skin() : void
On this page

Search results