API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsFormCaptcha Class Reference
Inheritance diagram for XoopsFormCaptcha:
Collaboration diagram for XoopsFormCaptcha:

Public Member Functions

 __construct ($caption='', $name='xoopscaptcha', $skipmember='', $configs=array())
 
 setConfig ($name, $val)
 
 render ()
 
 renderValidationJS ()
 
- Public Member Functions inherited from XoopsFormElement
 __construct ()
 
 isContainer ()
 
 setName ($name)
 
 getName ($encode=true)
 
 setAccessKey ($key)
 
 getAccessKey ()
 
 getAccessString ($str)
 
 setClass ($class)
 
 getClass ()
 
 setCaption ($caption)
 
 getCaption ($encode=false)
 
 getTitle ($encode=true)
 
 setDescription ($description)
 
 getDescription ($encode=false)
 
 setHidden ()
 
 isHidden ()
 
 isRequired ()
 
 setExtra ($extra, $replace=false)
 
 getExtra ($encode=false)
 
 setNocolspan ($nocolspan=true)
 
 getNocolspan ()
 
 getFormType ()
 
 setFormType ($value='')
 
 renderValidationJS ()
 
 render ()
 

Data Fields

 $captchaHandler
 
- Data Fields inherited from XoopsFormElement
 $customValidationCode = array()
 
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = array()
 
 $_hidden = false
 
 $_extra = array()
 
 $_required = false
 
 $_description = ''
 
 $_nocolspan = false
 
 $_formtype = ''
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $caption = '',
  $name = 'xoopscaptcha',
  $skipmember = '',
  $configs = array() 
)

Constructor

Parameters
string$captionCaption of the form element, default value is defined in captcha/language/
string$nameName for the input box
boolean$skipmemberSkip CAPTCHA check for members deprecated
array$configsdeprecated
Here is the call graph for this function:

Member Function Documentation

◆ render()

render ( )
Returns
mixed

Reimplemented from XoopsFormElement.

◆ renderValidationJS()

renderValidationJS ( )
Returns
mixed

Reimplemented from XoopsFormElement.

◆ setConfig()

setConfig (   $name,
  $val 
)
Parameters
$name
$val
Returns
mixed

Field Documentation

◆ $captchaHandler

$captchaHandler

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