XOOPS
2.6.0
|
Public Member Functions | |
destroyGarbage ($clearSession=false) | |
getCaption () | |
getMessage () | |
isActive () | |
loadBasicConfig ($filename= 'config') | |
loadConfig ($name= 'config') | |
loadForm () | |
loadHandler ($name=null) | |
readConfig ($filename= 'config') | |
render () | |
renderValidationJS () | |
setCode ($code=null) | |
setConfig ($name, $val) | |
setConfigs ($configs) | |
verify ($skipMember=null, $name=null) | |
writeConfig ($filename= 'config', $config) | |
Static Public Member Functions | |
static | getInstance () |
Public Attributes | |
$active | |
$config = array() | |
$configPath | |
$handler | |
$message = array() | |
$name | |
$path_basic | |
$path_plugin | |
Protected Member Functions | |
__construct () | |
Definition at line 28 of file xoopscaptcha.php.
|
protected |
construct
Definition at line 73 of file xoopscaptcha.php.
References $xoops_root_path, XoopsBaseConfig\get(), and loadConfig().
XoopsCaptcha::destroyGarbage | ( | $clearSession = false | ) |
Destory historical stuff
bool | $clearSession |
Definition at line 345 of file xoopscaptcha.php.
References $_SESSION, $config, and loadHandler().
Referenced by verify().
XoopsCaptcha::getCaption | ( | ) |
Definition at line 323 of file xoopscaptcha.php.
References XoopsLocaleEn_US\CONFIRMATION_CODE.
|
static |
Get Instance
Definition at line 90 of file xoopscaptcha.php.
Referenced by Xcaptcha\__construct(), Xoops\Form\Captcha\__construct(), XoopsCaptchaImageHandler\__construct(), and Comments\displayPost().
XoopsCaptcha::getMessage | ( | ) |
XoopsCaptcha::isActive | ( | ) |
Definition at line 178 of file xoopscaptcha.php.
References $active, $xoops, Xoops\getInstance(), and loadHandler().
Referenced by verify().
XoopsCaptcha::loadBasicConfig | ( | $filename = 'config' | ) |
XoopsCaptcha::loadBasicConfig()
string | $filename |
Definition at line 128 of file xoopscaptcha.php.
References $config, $file, and XoopsLoad\fileExists().
Referenced by loadConfig().
XoopsCaptcha::loadConfig | ( | $name = 'config' | ) |
string | $name |
Definition at line 107 of file xoopscaptcha.php.
References $config, $name, loadBasicConfig(), readConfig(), and writeConfig().
Referenced by __construct().
XoopsCaptcha::loadForm | ( | ) |
Definition at line 424 of file xoopscaptcha.php.
References $form, and setCode().
Referenced by render().
XoopsCaptcha::loadHandler | ( | $name = null | ) |
string | $name |
Definition at line 207 of file xoopscaptcha.php.
References $file, $handler, $name, and XoopsLoad\fileExists().
Referenced by destroyGarbage(), and isActive().
XoopsCaptcha::readConfig | ( | $filename = 'config' | ) |
string | $filename |
Definition at line 151 of file xoopscaptcha.php.
References $file, and XoopsFile\getHandler().
Referenced by loadConfig().
XoopsCaptcha::render | ( | ) |
Definition at line 363 of file xoopscaptcha.php.
References $_SESSION, $config, $form, XoopsLocaleEn_US\E_TO_MANY_ATTEMPTS, and loadForm().
XoopsCaptcha::renderValidationJS | ( | ) |
XoopsCaptcha::setCode | ( | $code = null | ) |
mixed | $code |
Definition at line 409 of file xoopscaptcha.php.
References $_SESSION, and $code.
Referenced by loadForm().
XoopsCaptcha::setConfig | ( | $name, | |
$val | |||
) |
mixed | $name | |
mixed | $val |
Definition at line 259 of file xoopscaptcha.php.
References $name.
Referenced by setConfigs().
XoopsCaptcha::setConfigs | ( | $configs | ) |
mixed | $configs |
Definition at line 243 of file xoopscaptcha.php.
References $configs, and setConfig().
XoopsCaptcha::verify | ( | $skipMember = null , |
|
$name = null |
|||
) |
Verify user submission
bool | $skipMember | |
string | $name |
Definition at line 279 of file xoopscaptcha.php.
References $_SESSION, $name, $xoops, destroyGarbage(), XoopsLocaleEn_US\E_INVALID_CONFIRMATION_CODE, XoopsLocaleEn_US\E_TO_MANY_ATTEMPTS, Xoops\getInstance(), and isActive().
XoopsCaptcha::writeConfig | ( | $filename = 'config' , |
|
$config | |||
) |
string | $filename | |
array | $config |
Definition at line 166 of file xoopscaptcha.php.
References $config, $file, and XoopsFile\getHandler().
Referenced by loadConfig().
XoopsCaptcha::$active |
Definition at line 33 of file xoopscaptcha.php.
Referenced by isActive().
XoopsCaptcha::$config = array() |
Definition at line 63 of file xoopscaptcha.php.
Referenced by destroyGarbage(), loadBasicConfig(), loadConfig(), render(), and writeConfig().
XoopsCaptcha::$configPath |
Definition at line 53 of file xoopscaptcha.php.
XoopsCaptcha::$handler |
Definition at line 38 of file xoopscaptcha.php.
Referenced by loadHandler().
XoopsCaptcha::$message = array() |
Definition at line 68 of file xoopscaptcha.php.
XoopsCaptcha::$name |
Definition at line 58 of file xoopscaptcha.php.
Referenced by Xcaptcha\loadConfig(), loadConfig(), loadHandler(), Xcaptcha\loadPluginHandler(), setConfig(), and verify().
XoopsCaptcha::$path_basic |
Definition at line 43 of file xoopscaptcha.php.
XoopsCaptcha::$path_plugin |
Definition at line 48 of file xoopscaptcha.php.