Merge pull request #18281 from sunilpawar/report_48
[civicrm-core.git] / CRM / Dedupe / DAO / Rule.php
index 0bc1f003ce32fb2d53605de585ace116a55748d0..a09f6a7f4be5084f893f18ceb6b7f4f4cc93a04a 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Rule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:78004d786287419f4f322dd22c8e7daa)
+ * (GenCodeChecksum:1c0c64573702774a043ea32c73f05bd8)
  */
 
 /**
  * Database access object for the Rule entity.
  */
 class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '1.8';
 
   /**
    * Static instance to hold the table name.
@@ -80,9 +82,12 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
 
   /**
    * Returns localized title of this entity.
+   *
+   * @param bool $plural
+   *   Whether to return the plural version of the title.
    */
-  public static function getEntityTitle() {
-    return ts('Rules');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Rules') : ts('Rule');
   }
 
   /**
@@ -119,6 +124,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'entity' => 'Rule',
           'bao' => 'CRM_Dedupe_BAO_Rule',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'dedupe_rule_group_id' => [
           'name' => 'dedupe_rule_group_id',
@@ -132,6 +138,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'bao' => 'CRM_Dedupe_BAO_Rule',
           'localizable' => 0,
           'FKClassName' => 'CRM_Dedupe_DAO_RuleGroup',
+          'add' => '1.8',
         ],
         'rule_table' => [
           'name' => 'rule_table',
@@ -146,6 +153,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'entity' => 'Rule',
           'bao' => 'CRM_Dedupe_BAO_Rule',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'rule_field' => [
           'name' => 'rule_field',
@@ -160,6 +168,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'entity' => 'Rule',
           'bao' => 'CRM_Dedupe_BAO_Rule',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'rule_length' => [
           'name' => 'rule_length',
@@ -174,6 +183,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'rule_weight' => [
           'name' => 'rule_weight',
@@ -189,6 +199,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);