X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FOptionGroup.php;h=d127044f620f1f968d9a4a337ad4c0e55136a23a;hb=aa31a7a02e13acfc02a1519de90017ebff06e42d;hp=aed6b23167534ad79eac467bc43f4df40c0ee90e;hpb=1c5bc02c1bbfc3cbbee279e61b488787a4c41daf;p=civicrm-core.git diff --git a/CRM/Core/DAO/OptionGroup.php b/CRM/Core/DAO/OptionGroup.php index aed6b23167..d127044f62 100644 --- a/CRM/Core/DAO/OptionGroup.php +++ b/CRM/Core/DAO/OptionGroup.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/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'), - 'description' => 'Option Group ID', + 'description' => ts('Option Group ID'), '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'), - '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, @@ -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'), - 'description' => 'Option Group title.', + 'description' => ts('Option Group title.'), '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'), - 'description' => 'Option group description.', + 'description' => ts('Option group description.'), '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'), - 'description' => 'Option group description.', + 'description' => ts('Option group description.'), '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?'), - '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', @@ -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?'), - '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', @@ -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'), - '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',