Add titles and icons to entities
[civicrm-core.git] / CRM / Pledge / DAO / Pledge.php
index 52d159115adcce1dab44a30a1ba8b89d786d5e2a..1d001b841195717ca97594578d44bc5dfb718955 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/Pledge.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:482a699f087b9ed0250d60f0663727f4)
+ * (GenCodeChecksum:7beeffe02aa5aa08578f40547b3c61bd)
  */
 
 /**
@@ -21,6 +21,13 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_pledge';
 
+  /**
+   * Icon associated with this entity.
+   *
+   * @var string
+   */
+  public static $_icon = 'fa-paper-plane';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
@@ -195,6 +202,13 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('Pledges');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *