UNA
|
Public Member Functions | |
display ($bDynamicMode=false) | |
check () | |
getUserResponse () | |
isAvailable () | |
Static Public Member Functions | |
static | getObjectInstance ($sObject=false) |
Protected Member Functions | |
__construct ($aObject, $oTemplate) | |
Protected Attributes | |
$_sObject | |
$_aObject | |
$_sKeyPublic | |
$_sKeyPrivate | |
$_oTemplate | |
CAPTCHA objects.
Default captcha is stored in 'sys_captcha_default' setting option.
Add record to 'sys_objects_captcha' table:
Display captcha:
Check captcha:
|
protected |
Constructor
$aObject | array of captcha options |
Reimplemented in BxBaseCaptchaHCaptcha, BxBaseCaptchaReCAPTCHAInvisible, BxBaseCaptchaReCAPTCHANew, BxTemplCaptchaHCaptcha, BxTemplCaptchaReCAPTCHAInvisible, and BxTemplCaptchaReCAPTCHANew.
BxDolCaptcha::check | ( | ) |
Check captcha.
Reimplemented in BxBaseCaptchaHCaptcha, BxBaseCaptchaReCAPTCHAInvisible, and BxBaseCaptchaReCAPTCHANew.
BxDolCaptcha::display | ( | $bDynamicMode = false | ) |
Display captcha.
$bDynamicMode | - is AJAX mode or not, if true then HTML code with captcha is loaded dynamically. |
Reimplemented in BxBaseCaptchaHCaptcha, BxBaseCaptchaReCAPTCHAInvisible, and BxBaseCaptchaReCAPTCHANew.
|
static |
Get captcha object instance by object name
$sObject | object name |
Implements iBxDolFactoryObject.
BxDolCaptcha::getUserResponse | ( | ) |
Return text entered by user
BxDolCaptcha::isAvailable | ( | ) |
Check if captcha is available, like all API keys are specified.