(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Contact / DAO / SubscriptionHistory.php
index 37ac628c8a5fce30008c5b5cf5aceb794aaa6f97..90f7ea3d8f81523f49645e6962341cec91d070bd 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  *
  * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8b7f0a4e3593bc26947b4bb6cf54c2d2)
+ * (GenCodeChecksum:8051a666011690a9dfb14d91a013a3e0)
  */
 
 /**
@@ -19,14 +19,14 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_subscription_history';
+  public static $_tableName = 'civicrm_subscription_history';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = TRUE;
+  public static $_log = TRUE;
 
   /**
    * Internal Id
@@ -93,7 +93,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
    */
   public static function getReferenceColumns() {
     if (!isset(Civi::$statics[__CLASS__]['links'])) {
-      Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
@@ -113,7 +113,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Group Membership History ID'),
-          'description' => 'Internal Id',
+          'description' => ts('Internal Id'),
           'required' => TRUE,
           'table_name' => 'civicrm_subscription_history',
           'entity' => 'SubscriptionHistory',
@@ -124,7 +124,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'name' => 'contact_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Contact ID'),
-          'description' => 'Contact Id',
+          'description' => ts('Contact Id'),
           'required' => TRUE,
           'table_name' => 'civicrm_subscription_history',
           'entity' => 'SubscriptionHistory',
@@ -136,7 +136,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'name' => 'group_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Group'),
-          'description' => 'Group Id',
+          'description' => ts('Group Id'),
           'table_name' => 'civicrm_subscription_history',
           'entity' => 'SubscriptionHistory',
           'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
@@ -155,7 +155,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'name' => 'date',
           'type' => CRM_Utils_Type::T_TIMESTAMP,
           'title' => ts('Group Membership Action Date'),
-          'description' => 'Date of the (un)subscription',
+          'description' => ts('Date of the (un)subscription'),
           'required' => TRUE,
           'default' => 'CURRENT_TIMESTAMP',
           'table_name' => 'civicrm_subscription_history',
@@ -167,7 +167,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'name' => 'method',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Group Membership Action'),
-          'description' => 'How the (un)subscription was triggered',
+          'description' => ts('How the (un)subscription was triggered'),
           'maxlength' => 8,
           'size' => CRM_Utils_Type::EIGHT,
           'table_name' => 'civicrm_subscription_history',
@@ -185,7 +185,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'name' => 'status',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Group Membership Status'),
-          'description' => 'The state of the contact within the group',
+          'description' => ts('The state of the contact within the group'),
           'maxlength' => 8,
           'size' => CRM_Utils_Type::EIGHT,
           'table_name' => 'civicrm_subscription_history',
@@ -200,7 +200,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'name' => 'tracking',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Group Membership Tracking'),
-          'description' => 'IP address or other tracking info',
+          'description' => ts('IP address or other tracking info'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'table_name' => 'civicrm_subscription_history',