Merge pull request #18281 from sunilpawar/report_48
[civicrm-core.git] / CRM / Dedupe / DAO / Rule.php
index df7521454ec10200eaaf3f26cd2203c1b8698835..a09f6a7f4be5084f893f18ceb6b7f4f4cc93a04a 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Rule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e218ab6aaed8b58ef6dc189845a36755)
+ * (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');
   }
 
   /**