Class Captcha
Captcha - captcha form element
For form creation: Add form element where proper:
$xoopsform->addElement(new \Xoops\Form\Captcha($caption, $name, $skipmember, $configs));
For verification:
$xoopsCaptcha = \XoopsCaptcha::getInstance(); if (! $xoopsCaptcha->verify() ) { echo $xoopsCaptcha->getMessage(); ... }
- ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
- Xoops\Html\Attributes implements Xoops\Core\AttributeInterface
- Xoops\Form\Element
- Xoops\Form\Captcha
Direct known subclasses
XoopsFormCaptcha
Namespace: Xoops\Form
Package: Xoops\Form
Category: Xoops\Form\Captcha
Copyright: 2008-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Link: http://xoops.org
Located at oops_lib/Xoops/Form/Captcha.php
Package: Xoops\Form
Category: Xoops\Form\Captcha
Copyright: 2008-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Link: http://xoops.org
Located at oops_lib/Xoops/Form/Captcha.php
public
|
#
__construct( string|array $caption = '', string $name = 'xoopscaptcha', boolean $skipmember = true, array $configs = array() )
__construct |
public
boolean
|
|
public
string
|
|
public
string
|
add(),
clear(),
doRender(),
get(),
getAll(),
getAllLike(),
getNames(),
has(),
remove(),
set(),
setAll(),
setArrayItem(),
setMerge(),
suppressRender()
|
append(),
asort(),
count(),
exchangeArray(),
getArrayCopy(),
getFlags(),
getIterator(),
getIteratorClass(),
ksort(),
natcasesort(),
natsort(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
serialize(),
setFlags(),
setIteratorClass(),
uasort(),
uksort(),
unserialize()
|
ARRAY_AS_PROPS,
STD_PROP_LIST
|
public
|
$captchaHandler
|
$customValidationCode,
$extra,
$suppressList
|
$suppressRenderAttributes
|