|
Cheetah
|
Public Member Functions | |
| __construct ($aObject) | |
| display ($bDynamicMode=false) | |
| check () | |
| getUserResponse () | |
| isAvailable () | |
Static Public Member Functions | |
| static | getObjectInstance ($sObject=false) |
Protected Attributes | |
| $_sObject | |
| $_aObject | |
CAPTCHA objects.
Default captcha is stored in 'sys_captcha_default' setting option.
Add record to 'sys_objects_captcha' table:
Display captcha:
Check captcha:
Definition at line 54 of file ChWsbCaptcha.php.
| ChWsbCaptcha::__construct | ( | $aObject | ) |
Constructor
| $aObject | array of captcha options |
Definition at line 63 of file ChWsbCaptcha.php.
| ChWsbCaptcha::check | ( | ) |
Check captcha.
Reimplemented in ChBaseCaptchaReCAPTCHA.
Definition at line 114 of file ChWsbCaptcha.php.
| ChWsbCaptcha::display | ( | $bDynamicMode = false | ) |
Display captcha.
| $bDynamicMode | - is AJAX mode or not, if true then HTML code with captcha is loaded dynamically. |
Reimplemented in ChBaseCaptchaReCAPTCHA.
Definition at line 106 of file ChWsbCaptcha.php.
|
static |
Get captcha object instance by object name
| $sObject | object name |
Definition at line 74 of file ChWsbCaptcha.php.
| ChWsbCaptcha::getUserResponse | ( | ) |
Return text entered by user
Reimplemented in ChBaseCaptchaReCAPTCHA.
Definition at line 122 of file ChWsbCaptcha.php.
| ChWsbCaptcha::isAvailable | ( | ) |
Check if captcha is available, like all API keys are specified.
Reimplemented in ChBaseCaptchaReCAPTCHA.
Definition at line 130 of file ChWsbCaptcha.php.
|
protected |
Definition at line 57 of file ChWsbCaptcha.php.
|
protected |
Definition at line 56 of file ChWsbCaptcha.php.