/**
* @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)
*/
/**
*
* @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
*/
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']);
'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',
'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',
'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',
'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',
'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',
'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',
'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',