Merge pull request #18857 from eileenmcnaughton/sort2
[civicrm-core.git] / CRM / Contact / DAO / SubscriptionHistory.php
index d476dd3ebb88c6cc60775b812162d5ec15f662bd..cbdab5b5352aab6f512747a777cf19da901f1fb0 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4aa1411720f09f9ad8e2feb2a8d2a833)
+ * (GenCodeChecksum:c38d68dcab2d037fc65d4e59bd30d1d4)
  */
 
 /**
  * Database access object for the SubscriptionHistory entity.
  */
 class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '1.1';
 
   /**
    * Static instance to hold the table name.
@@ -87,9 +89,12 @@ class CRM_Contact_DAO_SubscriptionHistory 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('Subscription Histories');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Subscription Histories') : ts('Subscription History');
   }
 
   /**