| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* pattern and cache the instance in this variable
*
* @var object
- * @static
*/
static private $_singleton = NULL;
/**
* Singleton function used to manage this object
*
- * @param string the key to permit session scope's
*
* @return object
- * @static
- *
*/
public static function &singleton() {
if (self::$_singleton === NULL) {
}
/**
- *
*/
public function __construct() {
}
/**
* Add element to form
- *
*/
public static function add(&$form) {
- $error = NULL;
+ $error = NULL;
$config = CRM_Core_Config::singleton();
$useSSL = FALSE;
if (!function_exists('recaptcha_get_html')) {
);
return $resp->is_valid;
}
+
}