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
array $_options = 'array'
Captcha options
array $_skipOptions = 'array'
Options to skip when processing options
__construct(
array|Zend_Config $options
=
null
)
:
void
Constructor
getDecorator(
)
:
null
Get optional decorator
By default, return null, indicating no extra decorator needed.
getName(
)
:
string
Get name
getOptions(
)
:
array
Retrieve options representing object state
setConfig(
Zend_Config $config
)
:
Zend_Captcha_Base
Set object state from config object
setName(
string $name
)
:
Set name
setOption(
string $key, string $value
)
:
Zend_Form_Element
Set single option for the object
setOptions(
array $options
=
null
)
:
Zend_Form_Element
Set object state from options array