Regenerate DAO files to have 'where' fields defined
[civicrm-core.git] / CRM / Core / DAO / Dashboard.php
index c914dae26ff5af3841c07e08025082236450b991..42aa0ab23a920264a7fcd7ce1defa4ce37d12696 100644 (file)
@@ -2,7 +2,7 @@
 
 /**
  * @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
@@ -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',
@@ -150,6 +151,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'title' => ts('Dashlet Domain'),
           'description' => ts('Domain for dashboard'),
           'required' => TRUE,
+          'where' => 'civicrm_dashboard.domain_id',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
@@ -168,6 +170,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           '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',
@@ -180,6 +183,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           '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',
@@ -192,6 +196,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           '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',
@@ -204,6 +209,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           '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',
@@ -216,6 +222,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           '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',
@@ -228,6 +235,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           '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',
@@ -238,6 +246,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Dashlet Active?'),
           'description' => ts('Is this dashlet active?'),
+          'where' => 'civicrm_dashboard.is_active',
           'default' => '0',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
@@ -249,6 +258,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Dashlet Reserved?'),
           'description' => ts('Is this dashlet reserved?'),
+          'where' => 'civicrm_dashboard.is_reserved',
           'default' => '0',
           'table_name' => 'civicrm_dashboard',
           'entity' => 'Dashboard',
@@ -261,6 +271,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'title' => ts('Cache Minutes'),
           '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',