Merge pull request #18493 from mlutfy/campaignReportDefaults
[civicrm-core.git] / CRM / Contact / DAO / ContactType.php
index 0237e0943dea7f0055c0ad7abd1f11af8b83c05d..4f7f63f5a3edafac9df7b9b1959fc2b7a4f7a5b2 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/ContactType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:34f2ee23181ddce3050484b6e30b0e72)
+ * (GenCodeChecksum:9719ec84435a76decf1937f7a389ac7f)
  */
 
 /**
  * Database access object for the ContactType entity.
  */
 class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '3.1';
 
   /**
    * Static instance to hold the table name.
@@ -94,9 +96,12 @@ class CRM_Contact_DAO_ContactType 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('Contact Types');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Contact Types') : ts('Contact Type');
   }
 
   /**