XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsCaptchaMethod Class Reference
Inheritance diagram for XoopsCaptchaMethod:
Inheritance graph

Public Member Functions

 __construct ($handler=null)
 
 getCode ()
 
 isActive ()
 
 loadConfig ($name= '')
 
 render ()
 
 renderValidationJS ()
 
 verify ($sessionName=null)
 
 XoopsCaptchaMethod ($handler=null)
 

Public Attributes

 $code
 
 $config
 
 $handler
 

Detailed Description

Abstract class for CAPTCHA method

Currently there are two types of CAPTCHA forms, text and image The default mode is "text", it can be changed in the priority: 1 If mode is set through XoopsFormCaptcha::setConfig("mode", $mode), take it 2 Elseif mode is set though captcha/config.php, take it 3 Else, take "text"

Definition at line 351 of file xoopscaptcha.php.

Constructor & Destructor Documentation

XoopsCaptchaMethod::__construct (   $handler = null)

XoopsCaptchaMethod::__construct()

Parameters
mixed$handler

Definition at line 362 of file xoopscaptcha.php.

References $handler.

Referenced by XoopsCaptchaMethod().

Here is the caller graph for this function:

Member Function Documentation

XoopsCaptchaMethod::getCode ( )

XoopsCaptchaMethod::getCode()

Returns

Definition at line 403 of file xoopscaptcha.php.

XoopsCaptchaMethod::isActive ( )

XoopsCaptchaMethod::isActive()

Returns

Definition at line 382 of file xoopscaptcha.php.

XoopsCaptchaMethod::loadConfig (   $name = '')

XoopsCaptchaMethod::loadConfig()

Parameters
string$name
Returns

Definition at line 393 of file xoopscaptcha.php.

XoopsCaptchaMethod::render ( )

XoopsCaptchaMethod::render()

Returns

Definition at line 413 of file xoopscaptcha.php.

XoopsCaptchaMethod::renderValidationJS ( )

Definition at line 417 of file xoopscaptcha.php.

XoopsCaptchaMethod::verify (   $sessionName = null)

XoopsCaptchaMethod::verify()

Parameters
mixed$sessionName
Returns

Definition at line 428 of file xoopscaptcha.php.

References $_POST, and $_SESSION.

XoopsCaptchaMethod::XoopsCaptchaMethod (   $handler = null)

XoopsCaptchaMethod::XoopsCaptchaMethod()

Parameters
mixed$handler

Definition at line 372 of file xoopscaptcha.php.

References $handler, and __construct().

Here is the call graph for this function:

Member Data Documentation

XoopsCaptchaMethod::$code

Definition at line 355 of file xoopscaptcha.php.

XoopsCaptchaMethod::$config

Definition at line 354 of file xoopscaptcha.php.

XoopsCaptchaMethod::$handler

Definition at line 353 of file xoopscaptcha.php.

Referenced by __construct(), and XoopsCaptchaMethod().


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