Civi\Angular - Docblock improvements.
[civicrm-core.git] / CRM / Utils / Recent.php
index cf47c1a563abddeab9af050fb9ae0af818126400..aa66d55454c8da18e66b9a40969ba8b402a5bdea 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -49,7 +49,6 @@ class CRM_Utils_Recent {
    * The list of recently viewed items
    *
    * @var array
-   * @static
    */
   static private $_recent = NULL;
 
@@ -57,7 +56,6 @@ class CRM_Utils_Recent {
    * Initialize this class and set the static variables
    *
    * @return void
-   * @static
    */
   public static function initialize() {
     if (!self::$_recent) {
@@ -74,7 +72,6 @@ class CRM_Utils_Recent {
    *
    * @return array
    *   the recently viewed array
-   * @static
    */
   public static function &get() {
     self::initialize();
@@ -96,9 +93,8 @@ class CRM_Utils_Recent {
    * @param array $others
    *
    * @return void
-   * @static
    */
-  static function add(
+  public static function add(
     $title,
     $url,
     $id,
@@ -154,7 +150,6 @@ class CRM_Utils_Recent {
    *   Array of the recent Item to be removed.
    *
    * @return void
-   * @static
    */
   public static function del($recentItem) {
     self::initialize();
@@ -183,7 +178,6 @@ class CRM_Utils_Recent {
    *   Contact id that had to be removed.
    *
    * @return void
-   * @static
    */
   public static function delContact($id) {
     self::initialize();
@@ -204,4 +198,5 @@ class CRM_Utils_Recent {
     $session = CRM_Core_Session::singleton();
     $session->set(self::STORE_NAME, self::$_recent);
   }
+
 }