Fix visibility on legacy functions
[civicrm-core.git] / CRM / Upgrade / Snapshot / V4p2 / Price / DAO / FieldValue.php
index 0cd702e29bcdc08e747b0f35d2432d474178d092..22b3fa669187c8199eb4ec49cf8037f768d4e790 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
 +--------------------------------------------------------------------+
-| CiviCRM version 4.6                                                |
+| CiviCRM version 4.7                                                |
 +--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2014                                |
+| Copyright CiviCRM LLC (c) 2004-2017                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
@@ -27,7 +27,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2017
  * $Id$
  *
  */
@@ -151,7 +151,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   public $is_active;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue
    */
@@ -161,7 +161,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * return foreign links
+   * Return foreign links.
    *
    * @return array
    */
@@ -176,11 +176,11 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns all the column names of this table
+   * Returns all the column names of this table.
    *
    * @return array
    */
-  static function &fields() {
+  public static function &fields() {
     if (!(self::$_fields)) {
       self::$_fields = array(
         'id' => array(
@@ -263,7 +263,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns the names of this table
+   * returns the names of this table.
    *
    * @return string
    */
@@ -272,7 +272,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns if this table needs to be logged
+   * returns if this table needs to be logged.
    *
    * @return boolean
    */
@@ -281,7 +281,9 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be imported
+   * Returns the list of fields that can be imported.
+   *
+   * @param bool $prefix
    *
    * @return array
    */
@@ -304,7 +306,9 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be exported
+   * Returns the list of fields that can be exported.
+   *
+   * @param bool $prefix
    *
    * @return array
    */