<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
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;