equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Service |
16 * @package Zend_Service |
17 * @subpackage ReCaptcha |
17 * @subpackage ReCaptcha |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 */ |
20 */ |
21 |
21 |
22 /** @see Zend_Service_Abstract */ |
22 /** @see Zend_Service_Abstract */ |
23 require_once 'Zend/Service/Abstract.php'; |
23 require_once 'Zend/Service/Abstract.php'; |
32 * Zend_Service_ReCaptcha |
32 * Zend_Service_ReCaptcha |
33 * |
33 * |
34 * @category Zend |
34 * @category Zend |
35 * @package Zend_Service |
35 * @package Zend_Service |
36 * @subpackage ReCaptcha |
36 * @subpackage ReCaptcha |
37 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
37 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
38 * @license http://framework.zend.com/license/new-bsd New BSD License |
38 * @license http://framework.zend.com/license/new-bsd New BSD License |
39 * @version $Id: ReCaptcha.php 25153 2012-11-28 11:56:23Z cogo $ |
39 * @version $Id$ |
40 */ |
40 */ |
41 class Zend_Service_ReCaptcha extends Zend_Service_Abstract |
41 class Zend_Service_ReCaptcha extends Zend_Service_Abstract |
42 { |
42 { |
43 /** |
43 /** |
44 * URI to the regular API |
44 * URI to the regular API |
101 * See the different options on http://recaptcha.net/apidocs/captcha/client.html |
101 * See the different options on http://recaptcha.net/apidocs/captcha/client.html |
102 * |
102 * |
103 * @var array |
103 * @var array |
104 */ |
104 */ |
105 protected $_options = array( |
105 protected $_options = array( |
106 'theme' => 'red', |
106 'theme' => 'red', |
107 'lang' => 'en', |
107 'lang' => 'en', |
|
108 'custom_translations' => array(), |
108 ); |
109 ); |
109 |
110 |
110 /** |
111 /** |
111 * Response from the verify server |
112 * Response from the verify server |
112 * |
113 * |