projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #13257 from vinuvarshith/BASW-316-unable-to-mark-price-set-as...
[civicrm-core.git]
/
CRM
/
Core
/
DAO
/
OptionGroup.php
diff --git
a/CRM/Core/DAO/OptionGroup.php
b/CRM/Core/DAO/OptionGroup.php
index aed6b23167534ad79eac467bc43f4df40c0ee90e..d127044f620f1f968d9a4a337ad4c0e55136a23a 100644
(file)
--- a/
CRM/Core/DAO/OptionGroup.php
+++ b/
CRM/Core/DAO/OptionGroup.php
@@
-2,11
+2,11
@@
/**
* @package CRM
/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
8
+ * @copyright CiviCRM LLC (c) 2004-201
9
*
* Generated from xml/schema/CRM/Core/OptionGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
*
* Generated from xml/schema/CRM/Core/OptionGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:
4f26b702ecd914e653257f0676896d87
)
+ * (GenCodeChecksum:
2437cfeb4ae146ce21397bb38dfa08e1
)
*/
/**
*/
/**
@@
-104,7
+104,7
@@
class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Option Group ID'),
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Option Group ID'),
- 'description' =>
'Option Group ID'
,
+ 'description' =>
ts('Option Group ID')
,
'required' => TRUE,
'table_name' => 'civicrm_option_group',
'entity' => 'OptionGroup',
'required' => TRUE,
'table_name' => 'civicrm_option_group',
'entity' => 'OptionGroup',
@@
-115,7
+115,7
@@
class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Option Group Name'),
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Option Group Name'),
- 'description' =>
'Option group name. Used as selection key by class properties which lookup options in civicrm_option_value.'
,
+ 'description' =>
ts('Option group name. Used as selection key by class properties which lookup options in civicrm_option_value.')
,
'required' => TRUE,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'required' => TRUE,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
@@
-128,7
+128,7
@@
class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
'name' => 'title',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Option Group title'),
'name' => 'title',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Option Group title'),
- 'description' =>
'Option Group title.'
,
+ 'description' =>
ts('Option Group title.')
,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_option_group',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_option_group',
@@
-140,7
+140,7
@@
class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
'name' => 'description',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Option Group Description'),
'name' => 'description',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Option Group Description'),
- 'description' =>
'Option group description.'
,
+ 'description' =>
ts('Option group description.')
,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_option_group',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_option_group',
@@
-152,7
+152,7
@@
class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
'name' => 'data_type',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Data Type for this option group'),
'name' => 'data_type',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Data Type for this option group'),
- 'description' =>
'Option group description.'
,
+ 'description' =>
ts('Option group description.')
,
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_option_group',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_option_group',
@@
-167,7
+167,8
@@
class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Group Is Reserved?'),
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Group Is Reserved?'),
- 'description' => 'Is this a predefined system option group (i.e. it can not be deleted)?',
+ 'description' => ts('Is this a predefined system option group (i.e. it can not be deleted)?'),
+ 'required' => TRUE,
'default' => '1',
'table_name' => 'civicrm_option_group',
'entity' => 'OptionGroup',
'default' => '1',
'table_name' => 'civicrm_option_group',
'entity' => 'OptionGroup',
@@
-178,7
+179,9
@@
class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Group Is Active?'),
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Group Is Active?'),
- 'description' => 'Is this option group active?',
+ 'description' => ts('Is this option group active?'),
+ 'required' => TRUE,
+ 'default' => '1',
'table_name' => 'civicrm_option_group',
'entity' => 'OptionGroup',
'bao' => 'CRM_Core_BAO_OptionGroup',
'table_name' => 'civicrm_option_group',
'entity' => 'OptionGroup',
'bao' => 'CRM_Core_BAO_OptionGroup',
@@
-188,7
+191,9
@@
class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
'name' => 'is_locked',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Group Is Locked'),
'name' => 'is_locked',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Group Is Locked'),
- 'description' => 'A lock to remove the ability to add new options via the UI.',
+ 'description' => ts('A lock to remove the ability to add new options via the UI.'),
+ 'required' => TRUE,
+ 'default' => '0',
'table_name' => 'civicrm_option_group',
'entity' => 'OptionGroup',
'bao' => 'CRM_Core_BAO_OptionGroup',
'table_name' => 'civicrm_option_group',
'entity' => 'OptionGroup',
'bao' => 'CRM_Core_BAO_OptionGroup',