Metadata - Add missing html types/labels to the schema
authorcolemanw <coleman@civicrm.org>
Fri, 2 Jun 2023 19:56:36 +0000 (15:56 -0400)
committercolemanw <coleman@civicrm.org>
Fri, 2 Jun 2023 19:56:36 +0000 (15:56 -0400)
26 files changed:
CRM/Contribute/DAO/ContributionProduct.php
CRM/Contribute/DAO/ContributionSoft.php
CRM/Core/DAO/Country.php
CRM/Core/DAO/Discount.php
CRM/Core/DAO/Job.php
CRM/Core/DAO/MappingField.php
CRM/Core/DAO/Menu.php
CRM/Core/DAO/MessageTemplate.php
CRM/Core/DAO/OpenID.php
CRM/Event/DAO/ParticipantPayment.php
CRM/Member/DAO/MembershipPayment.php
CRM/Pledge/DAO/PledgePayment.php
CRM/Price/DAO/LineItem.php
xml/schema/Contribute/ContributionProduct.xml
xml/schema/Contribute/ContributionSoft.xml
xml/schema/Core/Country.xml
xml/schema/Core/Discount.xml
xml/schema/Core/Job.xml
xml/schema/Core/MappingField.xml
xml/schema/Core/Menu.xml
xml/schema/Core/MessageTemplate.xml
xml/schema/Core/OpenID.xml
xml/schema/Event/ParticipantPayment.xml
xml/schema/Member/MembershipPayment.xml
xml/schema/Pledge/PledgePayment.xml
xml/schema/Price/LineItem.xml

index 50a6d61861fd269222976d4063ea6e7c7b4cafd1..b3789b57ae11817daf2782bc0caeb8838d94275f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:20ccf80c5280f4b58e393bf82835115a)
+ * (GenCodeChecksum:ffe5040ca99302edbb97acf3b183f9c7)
  */
 
 /**
@@ -213,6 +213,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
           'html' => [
+            'type' => 'EntityRef',
             'label' => ts("Contribution"),
           ],
           'add' => '1.4',
index 2c08459852515bce19e62bac75451079835a9ede..7189e1119b6d75982c2bcbf63889c8bc8e2dc51c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e51d55bf4217e9a9a49be631ff630366)
+ * (GenCodeChecksum:d205401be46596f6de807e4b45ab18fd)
  */
 
 /**
@@ -202,6 +202,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
           'html' => [
+            'type' => 'EntityRef',
             'label' => ts("Contribution"),
           ],
           'add' => '2.2',
index c5c1788471785df58ec53c7135791345c33da66e..5e3245dd2acaafaa872f65baf9d8ee97db07ba29 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Country.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:87bbe6fcf59d26d4fc8250c8dcb647ca)
+ * (GenCodeChecksum:b3efea686c5569dab5aa3924dc04275a)
  */
 
 /**
@@ -354,6 +354,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'localize_context' => 'country',
           'FKClassName' => 'CRM_Core_DAO_Worldregion',
           'html' => [
+            'type' => 'Select',
             'label' => ts("World Region"),
           ],
           'pseudoconstant' => [
index d56564cfd124e560c0e304247ea75cfd71e15cf8..1d9810753e9a6de99cfa4141037f35370f38462f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b5b246e07e19dc11978ab693b60e27d6)
+ * (GenCodeChecksum:63b35b634e2bbd8e56e55e87c7d06f91)
  */
 
 /**
@@ -208,6 +208,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Price_DAO_PriceSet',
           'html' => [
+            'type' => 'Select',
             'label' => ts("Price Set"),
           ],
           'pseudoconstant' => [
index 4cc47171ef5ca30b1efbfab4ccf6eaab9692cd5b..24cd599a39d93889606adf59e5d5310dfa1aa83e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Job.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ef4ea1e4947c94ccf363364f32416912)
+ * (GenCodeChecksum:aa30e47b3e824d879677194f87538a4f)
  */
 
 /**
@@ -223,6 +223,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Domain',
           'html' => [
+            'type' => 'Select',
             'label' => ts("Domain"),
           ],
           'pseudoconstant' => [
index d004323ec0a1f11f5e53c7372948aa2af58e2210..88756dc105e54d8aa096a33f6fd065b72c7606fa 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MappingField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3df2e91108cdb428e82485a6640e1721)
+ * (GenCodeChecksum:8f7b866fac291f09aa847fd68700c9c2)
  */
 
 /**
@@ -324,6 +324,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_LocationType',
           'html' => [
+            'type' => 'Select',
             'label' => ts("Location type"),
           ],
           'pseudoconstant' => [
index 1d8531821ce42ffc110d6faee61b5babf89e74d4..b7b6beba3b4370381d177618f9113bc27c4f4000 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Menu.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:002201c07590192edf274b05b8b42886)
+ * (GenCodeChecksum:cb35af506e5fb70dbdd88627f8b1dee4)
  */
 
 /**
@@ -314,6 +314,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Domain',
           'html' => [
+            'type' => 'Select',
             'label' => ts("Domain"),
           ],
           'pseudoconstant' => [
index 5b10cda292a36b7d42992878988ca0adf5ac2e2d..b39d92c08373c4c92494e93e4e625747183cb03a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5787b720061fdeb38bca35e2e6c35730)
+ * (GenCodeChecksum:65e3ae090a60b085f252019d3d113ceb)
  */
 
 /**
@@ -421,6 +421,9 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Select',
+          ],
           'pseudoconstant' => [
             'optionGroupName' => 'pdf_format',
             'keyColumn' => 'id',
index be0e6f009aba7251397799dcab3d359a392055fe..70b66c6d42b79a6b990d9bc5ac8f872a48dfa723 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:046f25d8355b0276f8e43f34915bf5e4)
+ * (GenCodeChecksum:53b8b7ca863512c191623ab26381dd0d)
  */
 
 /**
@@ -186,6 +186,10 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'entity' => 'OpenID',
           'bao' => 'CRM_Core_BAO_OpenID',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Select',
+            'label' => ts("Location Type"),
+          ],
           'pseudoconstant' => [
             'table' => 'civicrm_location_type',
             'keyColumn' => 'id',
index 7f8e48b4b386f00b9cd61609d90a4e9c1269db21..6f919672ef76581c304b8d503bb6d5036228fd28 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9d5ff543a681f5ab73283c304b62316f)
+ * (GenCodeChecksum:ef2987af3276c7d47393ce4d0b295605)
  */
 
 /**
@@ -165,6 +165,7 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
           'html' => [
+            'type' => 'EntityRef',
             'label' => ts("Contribution"),
           ],
           'add' => '2.0',
index 5281ba51ba11ac72c24b9e7d45a247bdc3e72e31..34a7eda0e0a54bdf12213a2dc2f315d44fff04f5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:022f6af50f08516e1e086faddcdf7fff)
+ * (GenCodeChecksum:da3ef13818ef6db9566c0ae8d68c4294)
  */
 
 /**
@@ -161,6 +161,7 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
           'html' => [
+            'type' => 'EntityRef',
             'label' => ts("Contribution"),
           ],
           'add' => '2.0',
index 406be7328a5ead5cf02efdd56ce6a7718a2989e0..eb95f00794d102b4554c5b96d10b2c5a838bad00 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6c0d4b7b1f908753ce551410a1357243)
+ * (GenCodeChecksum:a547e9089cb9b1d11fd408c1ffa88c10)
  */
 
 /**
@@ -224,6 +224,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
           'html' => [
+            'type' => 'EntityRef',
             'label' => ts("Contribution"),
           ],
           'add' => '2.1',
index 891dbc2bf2fd52317e54e028d7f601488adea58a..5d2c38134fee882399d72c71b70b0d9eded231c7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/LineItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:90371022fa535bab6d13f1b6e3fc9b7c)
+ * (GenCodeChecksum:c3718ec4bc3ea2ef523c5c0be917d207)
  */
 
 /**
@@ -302,6 +302,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
           'html' => [
+            'type' => 'EntityRef',
             'label' => ts("Contribution"),
           ],
           'add' => '4.5',
@@ -324,6 +325,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Price_DAO_PriceField',
           'html' => [
+            'type' => 'Select',
             'label' => ts("Price Field"),
           ],
           'pseudoconstant' => [
index 202324429d255dd5159f2a4dae8dee28ce849fa2..7b86c9e2eb9f8df7befb5249c317f1bd99ff7a1f 100644 (file)
@@ -42,6 +42,7 @@
     <required>true</required>
     <html>
       <label>Contribution</label>
+      <type>EntityRef</type>
     </html>
     <add>1.4</add>
   </field>
index 6d081ca1ebb6b60e3c4f233ca7352d05c6d61ef5..57c75d21b382dfd5bc2a9fc2f5bb7832ad787365 100644 (file)
@@ -36,6 +36,7 @@
     <comment>FK to contribution table.</comment>
     <html>
       <label>Contribution</label>
+      <type>EntityRef</type>
     </html>
     <add>2.2</add>
   </field>
index 73d19515872256898827e4f10816e7bcefeb4ad9..3d7cf123eb9a21d90f1a16e88324d3cc92514dfe 100644 (file)
@@ -90,6 +90,7 @@
     <comment>Foreign key to civicrm_worldregion.id.</comment>
     <html>
       <label>World Region</label>
+      <type>Select</type>
     </html>
     <add>1.8</add>
     <localize_context>country</localize_context>
index 34e8505335d704471eb261cabc242be86cde9c02..c1113add761a36df4b3451ffbeb207120574b036 100644 (file)
@@ -64,6 +64,7 @@
     <comment>FK to civicrm_price_set</comment>
     <html>
       <label>Price Set</label>
+      <type>Select</type>
     </html>
     <add>4.3</add>
   </field>
index 32c0ac333154140baec2dcc063f0940d7f015d32..03214aa401c678893f3307eb0d753ba7f1b60935 100644 (file)
@@ -40,6 +40,7 @@
     <comment>Which Domain is this scheduled job for</comment>
     <html>
       <label>Domain</label>
+      <type>Select</type>
     </html>
     <add>4.1</add>
   </field>
index 10cf1c4d542dfd03a7b0924f85ec8c763ba33c17..bed5a58e2ac7f9f05efde4451b0a790a7075b3b6 100644 (file)
@@ -74,6 +74,7 @@
     <comment>Location type of this mapping, if required</comment>
     <html>
       <label>Location type</label>
+      <type>Select</type>
     </html>
     <add>1.2</add>
     <pseudoconstant>
index 4ead8036c8124fa2248e3a98a036e4f02dc5970a..30a22d2e6eaa87e5cffce30aaf9023d7996025bf 100644 (file)
@@ -33,6 +33,7 @@
     <comment>Which Domain is this menu item for</comment>
     <html>
       <label>Domain</label>
+      <type>Select</type>
     </html>
     <add>3.0</add>
   </field>
index ffeddfe3022da35b07066cfa559e1b8628a3bb97..a67839a281b50f9bcdf23e5906c9133d84eee76a 100644 (file)
       <optionGroupName>pdf_format</optionGroupName>
       <keyColumn>id</keyColumn>
     </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
     <add>3.4</add>
   </field>
 </table>
index f5b9c1c54cd28473626a48843a81e8ea7c337dcc..d7687868cc96c5e787a595a95bd2a7e9a8606301 100644 (file)
       <labelColumn>display_name</labelColumn>
     </pseudoconstant>
     <comment>Which Location does this email belong to.</comment>
+    <html>
+      <label>Location Type</label>
+      <type>Select</type>
+    </html>
     <add>2.0</add>
   </field>
   <index>
index fa8437a7249d75ed299bad48d6b68a1913ff2b2c..ec837b0589775b64a3b104c3455e88ba539ee45a 100644 (file)
@@ -47,6 +47,7 @@
     <comment>FK to contribution table.</comment>
     <html>
       <label>Contribution</label>
+      <type>EntityRef</type>
     </html>
     <add>2.0</add>
   </field>
index f0859fd34843e99e7ff1a61b1a198394981f0352..f9c6e7778bc441b0c8d1411d48930b4073784695 100644 (file)
@@ -47,6 +47,7 @@
     <comment>FK to contribution table.</comment>
     <html>
       <label>Contribution</label>
+      <type>EntityRef</type>
     </html>
     <add>2.0</add>
   </field>
index 314b4da9d0b0ca4e5294b1cb9b9f80d24f4a1e39..337e0dfdc8444ce61c1604b1a4a8a92b6d08b973 100644 (file)
@@ -49,6 +49,7 @@
     <comment>FK to contribution table.</comment>
     <html>
       <label>Contribution</label>
+      <type>EntityRef</type>
     </html>
     <add>2.1</add>
   </field>
index f53364ebcbc8efdfeba3bd553c787eb25cb6a29a..d34c93dfbdeaa531f8b14313f2797aa2234c59e4 100644 (file)
@@ -54,6 +54,7 @@
     <comment>FK to civicrm_contribution</comment>
     <html>
       <label>Contribution</label>
+      <type>EntityRef</type>
     </html>
     <add>4.5</add>
   </field>
@@ -77,6 +78,7 @@
     <!-- changed to not required in 4.3 in order to change ON DELETE CASCADE FK constraint to SET NULL -->
     <html>
       <label>Price Field</label>
+      <type>Select</type>
     </html>
     <add>1.7</add>
   </field>