Merge pull request #18493 from mlutfy/campaignReportDefaults
[civicrm-core.git] / CRM / Contact / DAO / Relationship.php
index 5110814fe3c2d0955a7aab7029a79f07662c954c..8ad5e40702fd2e64cd43e439993f009502053f01 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/Relationship.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b1e83f9c102db77881c4b9c730f38337)
+ * (GenCodeChecksum:7fed0ad7c2ed2b072582b55afdb6469f)
  */
 
 /**
  * Database access object for the Relationship entity.
  */
 class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '1.1';
 
   /**
    * Static instance to hold the table name.
@@ -122,9 +124,12 @@ class CRM_Contact_DAO_Relationship 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('Relationships');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Relationships') : ts('Relationship');
   }
 
   /**