Merge pull request #11414 from JMAConsulting/CRM-21563
[civicrm-core.git] / CRM / Report / DAO / ReportInstance.php
index 4771939be4b460a1b34d52d0c3703b0bd0ee0107..7ba08fad414a38ebabcbdd70f2f07ab7b982b9f9 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generated from xml/schema/CRM/Report/ReportInstance.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:857f3f19bbbb33bf039b6ea95f2097c5)
+ * (GenCodeChecksum:09ffdd1693f38f5790d4c9c00d3c5d2f)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
@@ -217,6 +217,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
         ) ,
         'domain_id' => array(
           'name' => 'domain_id',
@@ -227,6 +228,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Domain',
           'pseudoconstant' => array(
             'table' => 'civicrm_domain',
@@ -244,6 +246,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -254,11 +257,12 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'title' => ts('Report template ID') ,
           'description' => 'FK to civicrm_option_value for the report template',
           'required' => true,
-          'maxlength' => 64,
-          'size' => CRM_Utils_Type::BIG,
+          'maxlength' => 512,
+          'size' => CRM_Utils_Type::HUGE,
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -273,6 +277,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -287,6 +292,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -301,6 +307,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -315,6 +322,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -329,6 +337,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -346,6 +355,8 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
+          'serialize' => self::SERIALIZE_PHP,
         ) ,
         'is_active' => array(
           'name' => 'is_active',
@@ -355,6 +366,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -367,6 +379,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
         ) ,
         'owner_id' => array(
@@ -377,6 +390,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
         ) ,
         'email_subject' => array(
@@ -389,6 +403,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -401,6 +416,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -413,6 +429,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -427,6 +444,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -441,6 +459,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -458,6 +477,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Navigation',
         ) ,
         'drilldown_id' => array(
@@ -473,6 +493,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Report_DAO_ReportInstance',
         ) ,
         'is_reserved' => array(
@@ -482,6 +503,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -541,4 +563,11 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'report_instance', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array();
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }