Galette API documentation
Gestionnaire d’Adhérents en Ligne Extrêmement Tarabiscoté mais Tellement Efficace
1.0.0
Galette\Core\Gaptcha Class Reference

Public Member Functions

 __construct (I18n $i18n)
 
 getQuestion ()
 
 generateQuestion ()
 
 check (int $gaptcha)
 

Public Attributes

const OP_ADD = 1
 
const OP_SUB = 2
 

Detailed Description

Password image (captcha) for galette.

Author
Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be

Constructor & Destructor Documentation

◆ __construct()

Galette\Core\Gaptcha::__construct ( I18n  $i18n)

Default constructor

Parameters
I18n$i18nI18n instance

Member Function Documentation

◆ check()

Galette\Core\Gaptcha::check ( int  $gaptcha)

Checks captcha validity

Parameters
integer$gaptchaUser entry
Returns
boolean

◆ generateQuestion()

Galette\Core\Gaptcha::generateQuestion ( )

Generate captcha question to display

Returns
string

◆ getQuestion()

Galette\Core\Gaptcha::getQuestion ( )

Get questions phrase

Returns
string

The documentation for this class was generated from the following file: