*
* Generated from xml/schema/CRM/Core/Dashboard.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0404bd5bf3e04c20da16ec1950db8ac0)
+ * (GenCodeChecksum:35f8b4725d70d269c6c23ed8f7e2b47d)
*/
/**
public static $_log = FALSE;
/**
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $id;
/**
* Domain for dashboard
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $domain_id;
/**
* Internal name of dashlet.
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(64))
+ * Note that values will be retrieved from the database as a string.
*/
public $name;
/**
* dashlet title
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $label;
/**
* url in case of external dashlet
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $url;
/**
* Permission for the dashlet
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $permission;
/**
* Permission Operator
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(3))
+ * Note that values will be retrieved from the database as a string.
*/
public $permission_operator;
/**
* fullscreen url for dashlet
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $fullscreen_url;
/**
* Is this dashlet active?
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_active;
/**
* Is this dashlet reserved?
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_reserved;
/**
* Number of minutes to cache dashlet content in browser localStorage.
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $cache_minutes;
/**
* Element name of angular directive to invoke (lowercase hyphenated format)
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $directive;
'entity' => 'Dashboard',
'bao' => 'CRM_Core_BAO_Dashboard',
'localizable' => 0,
+ 'pseudoconstant' => [
+ 'callback' => 'CRM_Core_SelectValues::andOr',
+ ],
'add' => '3.1',
],
'fullscreen_url' => [
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Dashlet Active?'),
'description' => ts('Is this dashlet active?'),
+ 'required' => TRUE,
'where' => 'civicrm_dashboard.is_active',
'default' => '0',
'table_name' => 'civicrm_dashboard',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Dashlet Reserved?'),
'description' => ts('Is this dashlet reserved?'),
+ 'required' => TRUE,
'where' => 'civicrm_dashboard.is_reserved',
'default' => '0',
'table_name' => 'civicrm_dashboard',