+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2016
*/
class CRM_Utils_ReCAPTCHA {
protected $_phrase = NULL;
/**
+ * Singleton.
+ *
* We only need one instance of this object. So we use the singleton
* pattern and cache the instance in this variable
*
- * @var object
+ * @var CRM_Utils_ReCAPTCHA
*/
static private $_singleton = NULL;
/**
* Singleton function used to manage this object.
*
- *
* @return object
*/
public static function &singleton() {
return self::$_singleton;
}
- public function __construct() {
- // Empty function?
- }
-
/**
* Add element to form.
+ *
+ * @param CRM_Core_Form $form
*/
public static function add(&$form) {
$error = NULL;