Add titles and icons to entities
[civicrm-core.git] / CRM / Report / DAO / ReportInstance.php
index cc235a182dc7c91c52740576deac9a3766e82045..b2af24148fca32694430a7fecd937740a2aa16bc 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Report/ReportInstance.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b68bec0504edaba7f0038dc41baa524)
+ * (GenCodeChecksum:e578602adaab855b72e2aef8992cb97e)
  */
 
 /**
@@ -21,6 +21,13 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_report_instance';
 
+  /**
+   * Icon associated with this entity.
+   *
+   * @var string
+   */
+  public static $_icon = 'fa-bar-chart';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
@@ -181,6 +188,13 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('Reports');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *