Class Mage_Captcha_Model_Zend
Implementation of Zend_Captcha
- Zend_Captcha_Image
- Mage_Captcha_Model_Zend implements Mage_Captcha_Model_Interface
Package: Mage\Captcha
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Captcha/Model/Zend.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Captcha/Model/Zend.php
public
|
|
protected
string
|
|
public
string
|
|
public
boolean
|
|
protected
boolean
|
|
protected
integer
|
|
protected
integer
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
public
boolean
|
|
public
string
|
|
public
integer
|
#
getTimeout( )
After this time isCorrect() is going to return FALSE even if word was guessed correctly |
public
string
|
|
public
string
|
|
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
protected
string
|
|
protected
|
|
protected
string
|
|
protected
array
|
|
protected
integer
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
array
|
|
public
string
|
|
protected
Zend_Captcha_Word
|
|
protected
|
|
protected
integer
|
|
protected
|
generate()
|
string |
SESSION_WORD
|
'word' |
#
Key in session for captcha code |
integer |
DEFAULT_WORD_LENGTH_FROM
|
3 |
#
Min captcha lengths default value |
integer |
DEFAULT_WORD_LENGTH_TO
|
5 |
#
Max captcha lengths default value |
protected
|
$_helper | null |
#
Helper Instance |
protected
integer
|
$_expiration |
|
#
Captcha expire time |
protected
integer
|
$_fsize | 22 |
#
Override default value to prevent a captcha cut off |
protected
string
|
$_formId |
|
#
Captcha form id |