Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Base class for Captcha adapters
Provides some utility functionality to build on
string $_name = ''Element name
Useful to generate/check form fields
Detailsarray $_options = 'array'Captcha options
Detailsarray $_skipOptions = 'array'Options to skip when processing options
Details__construct(
array|Zend_Config $options
=
null
)
:
voidConstructor
DetailsgetDecorator(
)
:
nullGet optional decorator
By default, return null, indicating no extra decorator needed.
DetailsgetName(
)
:
stringGet name
DetailsgetOptions(
)
:
arrayRetrieve options representing object state
DetailssetConfig(
Zend_Config $config
)
:
Zend_Captcha_BaseSet object state from config object
DetailssetName(
string $name
)
:
Set name
DetailssetOption(
string $key, string $value
)
:
Zend_Form_ElementSet single option for the object
DetailssetOptions(
array $options
=
null
)
:
Zend_Form_ElementSet object state from options array
Details