/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2019
+ * @copyright CiviCRM LLC (c) 2004-2020
*
* Generated from xml/schema/CRM/Core/RecurringEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:810f5bce8bb650c96703532242f254e8)
+ * (GenCodeChecksum:1f197a5848ca641233a99582e055dfb2)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_recurring_entity';
+ public static $_tableName = 'civicrm_recurring_entity';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = TRUE;
+ public static $_log = TRUE;
/**
- * @var int unsigned
+ * @var int
*/
public $id;
/**
* Recurring Entity Parent ID
*
- * @var int unsigned
+ * @var int
*/
public $parent_id;
/**
* Recurring Entity Child ID
*
- * @var int unsigned
+ * @var int
*/
public $entity_id;
/**
* 1-this entity, 2-this and the following entities, 3-all the entities
*
- * @var boolean
+ * @var bool
*/
public $mode;
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ID'),
'required' => TRUE,
+ 'where' => 'civicrm_recurring_entity.id',
'table_name' => 'civicrm_recurring_entity',
'entity' => 'RecurringEntity',
'bao' => 'CRM_Core_BAO_RecurringEntity',
'title' => ts('Parent ID'),
'description' => ts('Recurring Entity Parent ID'),
'required' => TRUE,
+ 'where' => 'civicrm_recurring_entity.parent_id',
'table_name' => 'civicrm_recurring_entity',
'entity' => 'RecurringEntity',
'bao' => 'CRM_Core_BAO_RecurringEntity',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID'),
'description' => ts('Recurring Entity Child ID'),
+ 'where' => 'civicrm_recurring_entity.entity_id',
'table_name' => 'civicrm_recurring_entity',
'entity' => 'RecurringEntity',
'bao' => 'CRM_Core_BAO_RecurringEntity',
'required' => TRUE,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_recurring_entity.entity_table',
'table_name' => 'civicrm_recurring_entity',
'entity' => 'RecurringEntity',
'bao' => 'CRM_Core_BAO_RecurringEntity',
'title' => ts('Cascade Type'),
'description' => ts('1-this entity, 2-this and the following entities, 3-all the entities'),
'required' => TRUE,
+ 'where' => 'civicrm_recurring_entity.mode',
'default' => '1',
'table_name' => 'civicrm_recurring_entity',
'entity' => 'RecurringEntity',