XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsCaptcha Class Reference

Public Member Functions

 __construct ()
 
 destroyGarbage ($clearSession=false)
 
 getCaption ()
 
getInstance ()
 
 getMessage ()
 
 isActive ()
 
 loadConfig ($filename=null)
 
 loadForm ()
 
 loadHandler ($name=null)
 
 render ()
 
 renderValidationJS ()
 
 setCode ($code=null)
 
 setConfig ($name, $val)
 
 setConfigs ($configs)
 
 verify ($skipMember=null, $name=null)
 
 XoopsCaptcha ()
 

Public Attributes

 $active
 
 $config = array()
 
 $handler
 
 $message = array()
 
 $name
 
 $path_basic
 
 $path_plugin
 

Detailed Description

Definition at line 24 of file xoopscaptcha.php.

Constructor & Destructor Documentation

XoopsCaptcha::__construct ( )

construct

Definition at line 38 of file xoopscaptcha.php.

References xoops_loadLanguage().

Here is the call graph for this function:

Member Function Documentation

XoopsCaptcha::destroyGarbage (   $clearSession = false)

Destory historical stuff

Definition at line 255 of file xoopscaptcha.php.

References $_SESSION.

XoopsCaptcha::getCaption ( )

XoopsCaptcha::getCaption()

Returns

Definition at line 237 of file xoopscaptcha.php.

& XoopsCaptcha::getInstance ( )

Get Instance

Returns
Instance

Definition at line 63 of file xoopscaptcha.php.

Referenced by XoopsCaptchaImageHandler\__construct(), and XoopsFormCaptcha\XoopsFormCaptcha().

Here is the caller graph for this function:

XoopsCaptcha::getMessage ( )

XoopsCaptcha::getMessage()

Returns

Definition at line 247 of file xoopscaptcha.php.

XoopsCaptcha::isActive ( )

XoopsCaptcha::isActive()

Returns

Definition at line 103 of file xoopscaptcha.php.

References $GLOBALS.

XoopsCaptcha::loadConfig (   $filename = null)

XoopsCaptcha::loadConfig()

Parameters
mixed$filename
Returns

Definition at line 79 of file xoopscaptcha.php.

References $config, and $file.

XoopsCaptcha::loadForm ( )

XoopsCaptcha::loadForm()

Returns

Definition at line 334 of file xoopscaptcha.php.

References $form.

XoopsCaptcha::loadHandler (   $name = null)

XoopsCaptcha::loadHandler()

Parameters
mixed$name
Returns

Definition at line 129 of file xoopscaptcha.php.

References $file, and $handler.

XoopsCaptcha::render ( )

XoopsCaptcha::render()

Returns

Definition at line 276 of file xoopscaptcha.php.

References $_SESSION, $form, and _CAPTCHA_TOOMANYATTEMPTS.

XoopsCaptcha::renderValidationJS ( )

XoopsCaptcha::renderValidationJS()

Returns
string

Definition at line 305 of file xoopscaptcha.php.

XoopsCaptcha::setCode (   $code = null)

XoopsCaptcha::setCode()

Parameters
mixed$code
Returns

Definition at line 319 of file xoopscaptcha.php.

References $_SESSION.

XoopsCaptcha::setConfig (   $name,
  $val 
)

XoopsCaptcha::setConfig()

Parameters
mixed$name
mixed$val
Returns

Definition at line 178 of file xoopscaptcha.php.

XoopsCaptcha::setConfigs (   $configs)

XoopsCaptcha::setConfigs()

Parameters
mixed$configs
Returns

Definition at line 163 of file xoopscaptcha.php.

References $configs.

XoopsCaptcha::verify (   $skipMember = null,
  $name = null 
)

Verify user submission XoopsCaptcha::verify()

Parameters
mixed$skipMember
mixed$name
Returns

Definition at line 198 of file xoopscaptcha.php.

References $_SESSION, $GLOBALS, _CAPTCHA_INVALID_CODE, and _CAPTCHA_TOOMANYATTEMPTS.

XoopsCaptcha::XoopsCaptcha ( )

Xoops Captcha Construct

Returns
XoopsCaptcha

Definition at line 53 of file xoopscaptcha.php.

Member Data Documentation

XoopsCaptcha::$active

Definition at line 27 of file xoopscaptcha.php.

XoopsCaptcha::$config = array()

Definition at line 32 of file xoopscaptcha.php.

XoopsCaptcha::$handler

Definition at line 28 of file xoopscaptcha.php.

XoopsCaptcha::$message = array()

Definition at line 33 of file xoopscaptcha.php.

XoopsCaptcha::$name

Definition at line 31 of file xoopscaptcha.php.

XoopsCaptcha::$path_basic

Definition at line 29 of file xoopscaptcha.php.

XoopsCaptcha::$path_plugin

Definition at line 30 of file xoopscaptcha.php.


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