Merge pull request #18671 from MegaphoneJon/fix-perm-labels
[civicrm-core.git] / CRM / Contact / DAO / RelationshipType.php
index 06ec7aff101aac07bcfc13feac8c14e07e5f3943..3ac981c81f84193346c2d7af75dc0109e51f72f6 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:205fa87e1f397fbf810ffbbd74c1853a)
+ * (GenCodeChecksum:258f862b2238ae69432d8955ae8df803)
  */
 
 /**
  * Database access object for the RelationshipType entity.
  */
 class CRM_Contact_DAO_RelationshipType 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_RelationshipType 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('Relationship Types');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Relationship Types') : ts('Relationship Type');
   }
 
   /**