Zend Framework
1.12
|
Public Member Functions | |
generate () | |
Generate a new captcha. | |
render (Zend_View_Interface $view=null, $element=null) | |
Display the captcha. | |
setName ($name) | |
Set captcha name. | |
getName () | |
Get captcha name. | |
getDecorator () | |
Get optional private decorator for this captcha type. | |
![]() | |
isValid ($value) | |
Returns true if and only if $value meets the validation requirements. | |
getMessages () | |
Returns an array of messages that explain why the most recent isValid() call returned false. | |
generate | ( | ) |
Generate a new captcha.
Implemented in Zend_Captcha_Image, Zend_Captcha_Word, Zend_Captcha_ReCaptcha, and Zend_Captcha_Figlet.
getDecorator | ( | ) |
Get optional private decorator for this captcha type.
Implemented in Zend_Captcha_Word, Zend_Captcha_ReCaptcha, and Zend_Captcha_Base.
getName | ( | ) |
render | ( | Zend_View_Interface | $view = null , |
$element = null |
|||
) |
Display the captcha.
Zend_View_Interface | $view | |
mixed | $element |
Implemented in Zend_Captcha_Image, Zend_Captcha_ReCaptcha, Zend_Captcha_Figlet, and Zend_Captcha_Dumb.
setName | ( | $name | ) |
Set captcha name.
string | $name |
Implemented in Zend_Captcha_Base.