|
@@ -4,7 +4,7 @@
|
|
|
<title>Captcha Operation</title>
|
|
<title>Captcha Operation</title>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- All CAPTCHA adapter implement
|
|
|
|
|
|
|
+ All <acronym>CAPTCHA</acronym> adapter implement
|
|
|
<classname>Zend_Captcha_Adapter</classname>, which looks like the following:
|
|
<classname>Zend_Captcha_Adapter</classname>, which looks like the following:
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
@@ -32,14 +32,15 @@ interface Zend_Captcha_Adapter extends Zend_Validate_Interface
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
The name setter and getter are used to specify and retrieve the
|
|
The name setter and getter are used to specify and retrieve the
|
|
|
- CAPTCHA identifier. <methodname>getDecorator()</methodname> can be used to specify a
|
|
|
|
|
- <classname>Zend_Form</classname> decorator either by name or returning an actual decorator
|
|
|
|
|
- object. The most interesting methods are <methodname>generate()</methodname>
|
|
|
|
|
- and <methodname>render()</methodname>. <methodname>generate()</methodname> is used to
|
|
|
|
|
- create the CAPTCHA token. This process typically will store the token in the
|
|
|
|
|
- session so that you may compare against it in subsequent requests.
|
|
|
|
|
- <methodname>render()</methodname> is used to render the information that represents
|
|
|
|
|
- the CAPTCHA- be it an image, a figlet, a logic problem, or some other CAPTCHA.
|
|
|
|
|
|
|
+ <acronym>CAPTCHA</acronym> identifier. <methodname>getDecorator()</methodname> can be used
|
|
|
|
|
+ to specify a <classname>Zend_Form</classname> decorator either by name or returning an
|
|
|
|
|
+ actual decorator object. The most interesting methods are
|
|
|
|
|
+ <methodname>generate()</methodname> and <methodname>render()</methodname>.
|
|
|
|
|
+ <methodname>generate()</methodname> is used to create the <acronym>CAPTCHA</acronym>
|
|
|
|
|
+ token. This process typically will store the token in the session so that you may compare
|
|
|
|
|
+ against it in subsequent requests. <methodname>render()</methodname> is used to render the
|
|
|
|
|
+ information that represents the <acronym>CAPTCHA</acronym>, be it an image, a figlet, a
|
|
|
|
|
+ logic problem, or some other <acronym>CAPTCHA</acronym>.
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|