Commit bf7df0ec authored by colemanw's avatar colemanw

CRM-17663 - Regenerate SQL & DAOs

parent a8f56d71
......@@ -30,7 +30,7 @@
*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:5f01747804c5bfc8418f0c6bfa587228)
* (GenCodeChecksum:21ce0d18eb988e90850ba4f5e56c161f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
......@@ -71,18 +71,6 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
* @var boolean
*/
public $column_no;
/**
* Is Minimized?
*
* @var boolean
*/
public $is_minimized;
/**
* Is Fullscreen?
*
* @var boolean
*/
public $is_fullscreen;
/**
* Is this widget active?
*
......@@ -95,18 +83,6 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
* @var int
*/
public $weight;
/**
* dashlet content
*
* @var longtext
*/
public $content;
/**
* When was content populated
*
* @var datetime
*/
public $created_date;
/**
* class constructor
*
......@@ -167,19 +143,6 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
'title' => ts('Column No') ,
'description' => 'column no for this widget',
) ,
'is_minimized' => array(
'name' => 'is_minimized',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Dashlet is Minimized?') ,
'description' => 'Is Minimized?',
) ,
'is_fullscreen' => array(
'name' => 'is_fullscreen',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Dashlet is FullScreen?') ,
'description' => 'Is Fullscreen?',
'default' => '1',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
......@@ -192,18 +155,6 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
'title' => ts('Order') ,
'description' => 'Ordering of the widgets.',
) ,
'content' => array(
'name' => 'content',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Content') ,
'description' => 'dashlet content',
) ,
'created_date' => array(
'name' => 'created_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Dashlet Created On') ,
'description' => 'When was content populated',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
}
......
......@@ -24,7 +24,7 @@
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*/
// (GenCodeChecksum:b2f3416642d30eb26f968d5ce4e6260a)
// (GenCodeChecksum:cca4e9b2d8c7de618449cc2fce53bc7c)
return array(
'CRM_Core_DAO_AddressFormat' => array(
'name' => 'AddressFormat',
......
......@@ -30,7 +30,7 @@
*
* Generated from xml/schema/CRM/Core/Dashboard.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:b5c91969a65943ff6daf8c43a9bd0fe4)
* (GenCodeChecksum:4d82a52ab0d5d66d835192785ff0c1cc)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
......@@ -89,30 +89,12 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
* @var string
*/
public $permission_operator;
/**
* column no for this dashlet
*
* @var boolean
*/
public $column_no;
/**
* Is Minimized?
*
* @var boolean
*/
public $is_minimized;
/**
* fullscreen url for dashlet
*
* @var string
*/
public $fullscreen_url;
/**
* Is Fullscreen?
*
* @var boolean
*/
public $is_fullscreen;
/**
* Is this dashlet active?
*
......@@ -126,11 +108,11 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
*/
public $is_reserved;
/**
* Ordering of the dashlets.
* Number of minutes to cache dashlet content in browser localStorage.
*
* @var int
* @var int unsigned
*/
public $weight;
public $cache_minutes;
/**
* class constructor
*
......@@ -221,18 +203,6 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
) ,
'column_no' => array(
'name' => 'column_no',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Dashlet Column') ,
'description' => 'column no for this dashlet',
) ,
'is_minimized' => array(
'name' => 'is_minimized',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Minimize Dashlet?') ,
'description' => 'Is Minimized?',
) ,
'fullscreen_url' => array(
'name' => 'fullscreen_url',
'type' => CRM_Utils_Type::T_STRING,
......@@ -241,13 +211,6 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
) ,
'is_fullscreen' => array(
'name' => 'is_fullscreen',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Fullscreen?') ,
'description' => 'Is Fullscreen?',
'default' => '1',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
......@@ -260,11 +223,13 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
'title' => ts('Is Dashlet Reserved?') ,
'description' => 'Is this dashlet reserved?',
) ,
'weight' => array(
'name' => 'weight',
'cache_minutes' => array(
'name' => 'cache_minutes',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order') ,
'description' => 'Ordering of the dashlets.',
'title' => ts('Cache Minutes') ,
'description' => 'Number of minutes to cache dashlet content in browser localStorage.',
'required' => true,
'default' => '60',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
......
This diff is collapsed.
......@@ -63,12 +63,12 @@ VALUES
-- Initial default state of system settings
INSERT INTO `civicrm_dashboard`
( `domain_id`, `label`, `url`, `permission`, `permission_operator`, `column_no`, `is_minimized`, `is_active`, `weight`, `fullscreen_url`, `is_fullscreen`, `is_reserved`)
( `domain_id`, `label`, `url`, `permission`, `permission_operator`, `is_active`, `fullscreen_url`, `is_reserved`)
VALUES
( @domainID, 'Activities', 'civicrm/dashlet/activity&reset=1&snippet=5', 'access CiviCRM', NULL, 0, 0, 1, 1, 'civicrm/dashlet/activity&reset=1&snippet=5&context=dashletFullscreen', 1, 1),
( @domainID, 'My Cases', 'civicrm/dashlet/myCases&reset=1&snippet=5', 'access my cases and activities', NULL , 0, 0, 1, 2, 'civicrm/dashlet/myCases&reset=1&snippet=5&context=dashletFullscreen', 1, 1),
( @domainID, 'All Cases', 'civicrm/dashlet/allCases&reset=1&snippet=5', 'access all cases and activities', NULL , 0, 0, 1, 3, 'civicrm/dashlet/allCases&reset=1&snippet=5&context=dashletFullscreen', 1, 1),
( @domainID, 'Case Dashboard Dashlet', 'civicrm/dashlet/casedashboard&reset=1&snippet=5', 'access my cases and activities,access all cases and activities', 'OR' , 0, 0, 1, 4, 'civicrm/dashlet/casedashboard&reset=1&snippet=5&context=dashletFullscreen', 1, 1);
( @domainID, 'Activities', 'civicrm/dashlet/activity&reset=1&snippet=5', 'access CiviCRM', NULL, 1, 'civicrm/dashlet/activity&reset=1&snippet=5&context=dashletFullscreen', 1),
( @domainID, 'My Cases', 'civicrm/dashlet/myCases&reset=1&snippet=5', 'access my cases and activities', NULL, 1, 'civicrm/dashlet/myCases&reset=1&snippet=5&context=dashletFullscreen', 1),
( @domainID, 'All Cases', 'civicrm/dashlet/allCases&reset=1&snippet=5', 'access all cases and activities', NULL, 1, 'civicrm/dashlet/allCases&reset=1&snippet=5&context=dashletFullscreen', 1),
( @domainID, 'Case Dashboard Dashlet', 'civicrm/dashlet/casedashboard&reset=1&snippet=5', 'access my cases and activities,access all cases and activities', 'OR', 1, 'civicrm/dashlet/casedashboard&reset=1&snippet=5&context=dashletFullscreen', 1);
-- navigation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment