<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
*/
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
- *
+ * Singleton function used to manage this object.
*
* @return object
*/
return self::$_singleton;
}
- /**
- */
public function __construct() {
+ // Empty function?
}
/**
- * Add element to form
+ * Add element to form.
+ *
+ * @param CRM_Core_Form $form
*/
public static function add(&$form) {
$error = NULL;