Regenerate DAO files to have 'where' fields defined
[civicrm-core.git] / CRM / Core / DAO / Dashboard.php
index 634e0f34124f9989b5c08af4ecccb57bccca1676..42aa0ab23a920264a7fcd7ce1defa4ce37d12696 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  *
  * Generated from xml/schema/CRM/Core/Dashboard.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6b7454609bac684a5d32597cdd433f3d)
+ * (GenCodeChecksum:52a635955e779405d2eaa2b403c41092)
  */
 
 /**
@@ -19,14 +19,14 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_dashboard';
+  public static $_tableName = 'civicrm_dashboard';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = FALSE;
+  public static $_log = FALSE;
 
   /**
    * @var int unsigned
@@ -119,7 +119,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
    */
   public static function getReferenceColumns() {
     if (!isset(Civi::$statics[__CLASS__]['links'])) {
-      Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
     }
@@ -139,6 +139,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('DashletID'),
           'required' => TRUE,
+          'where' => 'civicrm_dashboard.id',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -148,8 +149,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'domain_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Dashlet Domain'),
-          'description' => 'Domain for dashboard',
+          'description' => ts('Domain for dashboard'),
           'required' => TRUE,
+          'where' => 'civicrm_dashboard.domain_id',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -165,9 +167,10 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Dashlet Name'),
-          'description' => 'Internal name of dashlet.',
+          'description' => ts('Internal name of dashlet.'),
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
+          'where' => 'civicrm_dashboard.name',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -177,9 +180,10 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'label',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Dashlet Title'),
-          'description' => 'dashlet title',
+          'description' => ts('dashlet title'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_dashboard.label',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -189,9 +193,10 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'url',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Dashlet URL'),
-          'description' => 'url in case of external dashlet',
+          'description' => ts('url in case of external dashlet'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_dashboard.url',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -201,9 +206,10 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'permission',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Dashlet Permission'),
-          'description' => 'Permission for the dashlet',
+          'description' => ts('Permission for the dashlet'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_dashboard.permission',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -213,9 +219,10 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'permission_operator',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Dashlet Permission Operator'),
-          'description' => 'Permission Operator',
+          'description' => ts('Permission Operator'),
           'maxlength' => 3,
           'size' => CRM_Utils_Type::FOUR,
+          'where' => 'civicrm_dashboard.permission_operator',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -225,9 +232,10 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'fullscreen_url',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Fullscreen URL'),
-          'description' => 'fullscreen url for dashlet',
+          'description' => ts('fullscreen url for dashlet'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_dashboard.fullscreen_url',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -237,7 +245,8 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Dashlet Active?'),
-          'description' => 'Is this dashlet active?',
+          'description' => ts('Is this dashlet active?'),
+          'where' => 'civicrm_dashboard.is_active',
           'default' => '0',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
@@ -248,7 +257,8 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'is_reserved',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Dashlet Reserved?'),
-          'description' => 'Is this dashlet reserved?',
+          'description' => ts('Is this dashlet reserved?'),
+          'where' => 'civicrm_dashboard.is_reserved',
           'default' => '0',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
@@ -259,8 +269,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'name' => 'cache_minutes',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Cache Minutes'),
-          'description' => 'Number of minutes to cache dashlet content in browser localStorage.',
+          'description' => ts('Number of minutes to cache dashlet content in browser localStorage.'),
           'required' => TRUE,
+          'where' => 'civicrm_dashboard.cache_minutes',
           'default' => '60',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',