Notification for Updation not shown after Save button is clicked on Manage Event...
[civicrm-core.git] / CRM / Event / PseudoConstant.php
index ff4824d3cc1fe0973280b334587eb3051263e613..e3966e7f8961f1e265faffb1fecb8b8af5956183 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -95,7 +95,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   /**
    * Get all the n events
    *
-   * @access public
    *
    * @param int $id
    * @param bool $all
@@ -132,7 +131,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   /**
    * Get all the n participant statuses
    *
-   * @access public
    *
    * @param int $id
    * @param null $cond
@@ -168,7 +166,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @return array  of status classes, keyed by status type
    */
-  static function &participantStatusClass() {
+  public static function &participantStatusClass() {
     static $statusClasses = NULL;
 
     if ($statusClasses === NULL) {
@@ -181,7 +179,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   /**
    * Get all the n participant roles
    *
-   * @access public
    *
    * @param int $id
    * @param null $cond
@@ -214,7 +211,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   /**
    * Get all the participant listings
    *
-   * @access public
    *
    * @param int $id
    *
@@ -237,7 +233,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   /**
    * Get all  event types.
    *
-   * @access public
    *
    * @param int $id
    * @return array - array reference of all event types.
@@ -283,7 +278,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    * Flush given pseudoconstant so it can be reread from db
    * nex time it's requested.
    *
-   * @access public
    * @static
    *
    * @param bool|string $name pseudoconstant to be flushed
@@ -297,7 +291,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   /**
    * Get all the Personal campaign pages
    *
-   * @access public
    *
    * @param int $id
    * @return array - array reference of all pcp if any
@@ -316,4 +309,3 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
     return self::$pcPage;
   }
 }
-