Regenerate ContactType DAO
authorColeman Watts <coleman@civicrm.org>
Tue, 29 Nov 2022 19:33:58 +0000 (14:33 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 29 Nov 2022 19:53:10 +0000 (14:53 -0500)
CRM/Contact/DAO/ContactType.php
CRM/Core/I18n/SchemaStructure.php
xml/schema/Contact/ContactType.xml

index a85c0bde7364d505f50c66345e48fb6d145869bb..5f178714b4b21532f8ace6e3336b754910c97ec3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ContactType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b66036d325985536154ec623ab362e39)
+ * (GenCodeChecksum:b306637543b9795d650fbe7af63ab00b)
  */
 
 /**
@@ -201,6 +201,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_ContactType',
           'localizable' => 0,
           'html' => [
+            'type' => 'Text',
             'label' => ts("Name"),
           ],
           'add' => '3.1',
@@ -217,6 +218,10 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'entity' => 'ContactType',
           'bao' => 'CRM_Contact_BAO_ContactType',
           'localizable' => 1,
+          'html' => [
+            'type' => 'Text',
+            'label' => ts("Label"),
+          ],
           'add' => '3.1',
         ],
         'description' => [
@@ -277,6 +282,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_ContactType',
           'html' => [
+            'type' => 'Select',
             'label' => ts("Parent"),
           ],
           'pseudoconstant' => [
@@ -290,7 +296,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
         'is_active' => [
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('Contact Type Is Active?'),
+          'title' => ts('Contact Type Enabled'),
           'description' => ts('Is this entry active?'),
           'required' => TRUE,
           'where' => 'civicrm_contact_type.is_active',
@@ -308,7 +314,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
         'is_reserved' => [
           'name' => 'is_reserved',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('Contact Type is Reserved?'),
+          'title' => ts('Contact Type is Reserved'),
           'description' => ts('Is this contact type a predefined system type'),
           'required' => TRUE,
           'where' => 'civicrm_contact_type.is_reserved',
index fc765945ede4899651f6cec4f66cc20df72dc698..cf193ca67b7c33180224aab84ca5dae7a9723425 100644 (file)
@@ -288,6 +288,7 @@ class CRM_Core_I18n_SchemaStructure {
         ],
         'civicrm_contact_type' => [
           'label' => [
+            'label' => "Label",
             'type' => "Text",
           ],
           'description' => [
index 7acb29f92670fc4386bb95fd68ca37ef570a44d3..c4b51714d0ceceeba8f7e5ef133e35e89a7ffcab 100644 (file)
   </foreignKey>
   <field>
     <name>is_active</name>
-    <title>Contact Type Is Active?</title>
+    <title>Contact Type Enabled</title>
     <type>boolean</type>
     <default>1</default>
     <required>true</required>
   </field>
   <field>
     <name>is_reserved</name>
-    <title>Contact Type is Reserved?</title>
+    <title>Contact Type is Reserved</title>
     <type>boolean</type>
     <default>0</default>
     <required>true</required>