API/DAO Metadata - Retain versioning metadata for possible usage in runtime+tooling
[civicrm-core.git] / CRM / Report / DAO / ReportInstance.php
index cc235a182dc7c91c52740576deac9a3766e82045..591332e6701678c2610e21e28e32137252f82ac8 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:5e7790bacc5ffff1ecfcaada1abeafec)
  */
 
 /**
@@ -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.
    *
@@ -219,6 +233,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -237,6 +252,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.1',
         ],
         'title' => [
           'name' => 'title',
@@ -253,6 +269,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'report_id' => [
           'name' => 'report_id',
@@ -270,6 +287,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '2.2',
         ],
         'name' => [
           'name' => 'name',
@@ -286,6 +304,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.2',
         ],
         'args' => [
           'name' => 'args',
@@ -302,6 +321,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.2',
         ],
         'description' => [
           'name' => 'description',
@@ -318,6 +338,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'permission' => [
           'name' => 'permission',
@@ -334,6 +355,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'grouprole' => [
           'name' => 'grouprole',
@@ -350,6 +372,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.1',
         ],
         'form_values' => [
           'name' => 'form_values',
@@ -364,6 +387,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '2.2',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -378,6 +402,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -390,6 +415,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.6',
         ],
         'owner_id' => [
           'name' => 'owner_id',
@@ -402,6 +428,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.6',
         ],
         'email_subject' => [
           'name' => 'email_subject',
@@ -418,6 +445,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'email_to' => [
           'name' => 'email_to',
@@ -432,6 +460,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'email_cc' => [
           'name' => 'email_cc',
@@ -446,6 +475,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'header' => [
           'name' => 'header',
@@ -462,6 +492,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.2',
         ],
         'footer' => [
           'name' => 'footer',
@@ -478,6 +509,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.2',
         ],
         'navigation_id' => [
           'name' => 'navigation_id',
@@ -492,6 +524,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Navigation',
+          'add' => '3.0',
         ],
         'drilldown_id' => [
           'name' => 'drilldown_id',
@@ -506,6 +539,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'FKClassName' => 'CRM_Report_DAO_ReportInstance',
+          'add' => '4.3',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -520,6 +554,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);