X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FRecurringEntity.php;h=9aed7cc925093f763573525b95d5e0ebf312db45;hb=f299f7db79fed6f3598c84302966bda087e7cac3;hp=e3d1ea45fef9d80d71d1dd19dcdccc2e9f26982f;hpb=845147da83519a49bcdf4ec54cbfe7abb71f8540;p=civicrm-core.git diff --git a/CRM/Core/DAO/RecurringEntity.php b/CRM/Core/DAO/RecurringEntity.php index e3d1ea45fe..75fcb437a6 100644 --- a/CRM/Core/DAO/RecurringEntity.php +++ b/CRM/Core/DAO/RecurringEntity.php @@ -2,11 +2,11 @@ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @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) */ /** @@ -19,31 +19,31 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { * * @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; @@ -57,7 +57,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { /** * 1-this entity, 2-this and the following entities, 3-all the entities * - * @var boolean + * @var bool */ public $mode; @@ -82,6 +82,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { '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', @@ -93,6 +94,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { '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', @@ -103,6 +105,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { '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', @@ -116,6 +119,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { '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', @@ -127,6 +131,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { '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',