Zend_Service_ReCaptchaZend_Service_ReCaptcha
Located in /Service/ReCaptcha.php (line 41)
Zend_Service_Abstract | --Zend_Service_ReCaptcha
| Class | Description |
|---|---|
Zend_Service_ReCaptcha_MailHide
|
Zend_Service_ReCaptcha_MailHide |
Zend_Service_ReCaptcha
__construct
([string $publicKey = null], [string $privateKey = null], [array|Zend_Config $params = null], [array $options = null], [string $ip = null])
string
$_ip
= null (line 83)
Ip address used when verifying user input
array
$_options
= array(Options for tailoring reCaptcha
See the different options on http://recaptcha.net/apidocs/captcha/client.html
array
$_params
= array(Parameters for the object
string
$_privateKey
= null (line 76)
Private key used when verifying user input
string
$_publicKey
= null (line 69)
Public key used when displaying the captcha
Zend_Service_ReCaptcha_Response
$_response
= null (line 115)
Response from the verify server
Inherited from Zend_Service_Abstract
Zend_Service_Abstract::$_httpClient
Constructor __construct (line 127)
Class constructor
getHtml (line 379)
Get the HTML code for the captcha
This method uses the public key to fetch a recaptcha form.
getIp (line 192)
Get the ip property
getOption (line 320)
Get a single option
getOptions (line 309)
Get the options array
getParam (line 256)
Get a single parameter
getParams (line 245)
Get the parameter array
getPrivateKey (line 353)
Get the private key
getPublicKey (line 330)
Get the public key
setOption (line 268)
Set a single option
setParam (line 204)
Set a single parameter
setPrivateKey (line 364)
Set the private key
setPublicKey (line 341)
Set the public key
verify (line 500)
Verify the user input
This method calls up the post method and returns a Zend_Service_ReCaptcha_Response object.
_post (line 447)
Post a solution to the verify server
__toString (line 162)
Serialize as string
When the instance is used as a string it will display the recaptcha. Since we can't throw exceptions within this method we will trigger a user warning instead.
Inherited From Zend_Service_Abstract
Zend_Service_Abstract::getHttpClient()
Zend_Service_Abstract::setHttpClient()
Documentation generated on Mon, 21 Jun 2010 15:41:20 -0400 by phpDocumentor 1.4.3