|
XOOPS
2.6.0
|

Public Member Functions | |
| __construct ($caption= '', $name= 'xoopscaptcha', $skipmember=true, $configs=array()) | |
| render () | |
| renderValidationJS () | |
| setConfig ($name, $val) | |
Public Member Functions inherited from Xoops\Form\Element | |
| getAccessKey () | |
| getAccessString ($str) | |
| getCaption () | |
| getClass () | |
| getDatalist () | |
| getDescription ($encode=false) | |
| getExtra ($encode=false) | |
| getMaxcols () | |
| getName () | |
| getPattern () | |
| getPatternDescription () | |
| getTitle () | |
| getValue ($encode=false) | |
| isDatalist () | |
| isHidden () | |
| isRequired () | |
| render () | |
| renderAttributeString () | |
| renderValidationJS () | |
| setAccessKey ($key) | |
| setCaption ($caption) | |
| setClass ($class) | |
| setDatalist ($datalist) | |
| setDescription ($description) | |
| setExtra ($extra, $replace=false) | |
| setHidden () | |
| setName ($name) | |
| setPattern ($pattern, $pattern_description= '') | |
| setRequired ($bool=true) | |
| setTitle ($title) | |
| setValue ($value) | |
Public Member Functions inherited from Xoops\Html\Attributes | |
| addAttribute ($name, $value) | |
| getAttribute ($name) | |
| hasAttribute ($name) | |
| renderAttributeString () | |
| setAttribute ($name, $value=null) | |
| setAttributes ($values) | |
| unsetAttribute ($name) | |
Public Attributes | |
| $captchaHandler | |
Public Attributes inherited from Xoops\Form\Element | |
| $customValidationCode = array() | |
Additional Inherited Members | |
Protected Attributes inherited from Xoops\Form\Element | |
| $value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
| $attributes = array() | |
Definition at line 40 of file Captcha.php.
| Xoops\Form\Captcha::__construct | ( | $caption = '', |
|
$name = 'xoopscaptcha', |
|||
$skipmember = true, |
|||
$configs = array() |
|||
| ) |
__construct
| string | $caption | Caption of the form element, default value is defined in captcha/language/ |
| string | $name | Name for the input box |
| boolean | $skipmember | Skip CAPTCHA check for members |
| array | $configs | key/value pairs |
Definition at line 55 of file Captcha.php.
References Xoops\Form\Element\$caption, $configs, $name, XoopsCaptcha\getInstance(), Xoops\Form\Element\setCaption(), Xoops\Form\Element\setHidden(), and Xoops\Form\Element\setName().

| Xoops\Form\Captcha::render | ( | ) |
| Xoops\Form\Captcha::renderValidationJS | ( | ) |
| Xoops\Form\Captcha::setConfig | ( | $name, | |
| $val | |||
| ) |
setConfig
| type | $name | name |
| type | $val | value |
Definition at line 79 of file Captcha.php.
References $name.
| Xoops\Form\Captcha::$captchaHandler |
Definition at line 45 of file Captcha.php.