|
|
@@ -131,7 +131,7 @@ abstract class Zend_Captcha_Word extends Zend_Captcha_Base
|
|
|
*
|
|
|
* @return string
|
|
|
*/
|
|
|
- public function getSessionClass()
|
|
|
+ public function getSessionClass()
|
|
|
{
|
|
|
return $this->_sessionClass;
|
|
|
}
|
|
|
@@ -230,6 +230,28 @@ abstract class Zend_Captcha_Word extends Zend_Captcha_Base
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Numbers should be included in the pattern?
|
|
|
+ *
|
|
|
+ * @return bool
|
|
|
+ */
|
|
|
+ public function getUseNumbers()
|
|
|
+ {
|
|
|
+ return $this->_useNumbers;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Set if numbers should be included in the pattern
|
|
|
+ *
|
|
|
+ * @param $_useNumbers numbers should be included in the pattern?
|
|
|
+ * @return Zend_Captcha_Word
|
|
|
+ */
|
|
|
+ public function setUseNumbers($_useNumbers)
|
|
|
+ {
|
|
|
+ $this->_useNumbers = $_useNumbers;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* Get session object
|
|
|
*
|
|
|
* @return Zend_Session_Namespace
|