X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FDashboard.php;h=42aa0ab23a920264a7fcd7ce1defa4ce37d12696;hb=a36434b96485cb086480c8deae0fe408b1ba1d01;hp=ee4161edcec88132557ab45f20b5b2b1351b75aa;hpb=a1d4f74491daf9f2b93a3a2f6fec850b05e159ef;p=civicrm-core.git diff --git a/CRM/Core/DAO/Dashboard.php b/CRM/Core/DAO/Dashboard.php index ee4161edce..42aa0ab23a 100644 --- a/CRM/Core/DAO/Dashboard.php +++ b/CRM/Core/DAO/Dashboard.php @@ -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', @@ -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',