Public Member Functions | |
getText () | |
getHash ($sText=null) | |
getImageUrl () | |
isImageVisible () | |
pass ($sMac, $sMacHash) | |
Protected Attributes | |
$_dMacLength = 5 | |
$_sText = null | |
Private Attributes | |
$_sMacChars = 'abcdefghijkmnpqrstuvwxyz23456789' |
oxCaptcha.getText | ( | ) |
Returns text
oxCaptcha.getHash | ( | $ | sText = null |
) |
Returns text hash
oxCaptcha.getImageUrl | ( | ) |
Returns url to CAPTCHA image generator.
oxCaptcha.isImageVisible | ( | ) |
Checks if image could be generated
oxCaptcha.pass | ( | $ | sMac, | |
$ | sMacHash | |||
) |
Verifies captcha input vs supplied hash. Returns true on success.
string | $sMac User supplie text | |
string | $sMacHash Generated hash |
oxCaptcha.$_dMacLength = 5 [protected] |
oxCaptcha.$_sText = null [protected] |
oxCaptcha.$_sMacChars = 'abcdefghijkmnpqrstuvwxyz23456789' [private] |