Class Recaptcha
Supplies methods for creating and verifying a reCAPTCHA captcha challenge.
		
		
		
		Package: blesta\components\recaptcha
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at helpers/recaptcha/recaptcha.php
	
		Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at helpers/recaptcha/recaptcha.php
Methods summary
| 
				 public 
				
				
				 | 
			#
			 __construct( string $private_key, string $public_key )Establish a new instance of reCAPTCHA with the given private/public keys | 
| 
				 public 
				string
				
				 | 
			#
			 getHtml( string $theme = null, string $custom_widget = "recaptcha_widget" )Fetches all HTML, including javascript to display the captcha form elements | 
| 
				 public 
				
				
				 | 
			#
			 setCustomBody( string $html )Sets the given HTML to be used for a custom theme when Recaptcha::getHtml is called. | 
| 
				 public 
				
				
				 | 
			#
			 setCustomOptions( array $options )Sets options to be set in the javascript 'RecaptchaOptions' variable, things like 'lang', 'theme', 'custom_translations', etc. | 
| 
				 public 
				boolean
				
				 | 
			#
			 verify( string $challenge, string $response )Verifies that the captcha was answered successfully by making a request to the remote reCAPTCHA server. | 
Magic methods summary
Properties summary
| 
				public  
				string
			 | $error | 
				#
				 The error, if Recaptcha::verify() returned false |