Worldregion - For API-entity-naming, prefer "WorldRegion"
authorTim Otten <totten@civicrm.org>
Thu, 2 Mar 2023 05:53:53 +0000 (21:53 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 2 Mar 2023 07:33:32 +0000 (23:33 -0800)
CRM/Core/DAO/AllCoreTables.data.php
CRM/Core/DAO/Worldregion.php
xml/schema/Core/Worldregion.xml

index 456041dd3f3b279dc0d385f1aee7fd4b6f40e6f5..e043d1c0cbdff5e836b7382bf91c8d7a0f9f6178 100644 (file)
@@ -53,7 +53,7 @@ return [
     'table' => 'civicrm_translation',
   ],
   'CRM_Core_DAO_Worldregion' => [
-    'name' => 'Worldregion',
+    'name' => 'WorldRegion',
     'class' => 'CRM_Core_DAO_Worldregion',
     'table' => 'civicrm_worldregion',
   ],
index 3131b0e9408f3fd29f63ba376ce2424dc36b65c1..375beb1d00f917f16279b65893fa5848926fdcce 100644 (file)
@@ -6,11 +6,11 @@
  *
  * Generated from xml/schema/CRM/Core/Worldregion.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9f82f7db4b9ea76b609244a81635d1f1)
+ * (GenCodeChecksum:2604f3d61e573a996ee6f5d7bf4d04dc)
  */
 
 /**
- * Database access object for the Worldregion entity.
+ * Database access object for the WorldRegion entity.
  */
 class CRM_Core_DAO_Worldregion extends CRM_Core_DAO {
   const EXT = 'civicrm';
@@ -82,7 +82,7 @@ class CRM_Core_DAO_Worldregion extends CRM_Core_DAO {
           'required' => TRUE,
           'where' => 'civicrm_worldregion.id',
           'table_name' => 'civicrm_worldregion',
-          'entity' => 'Worldregion',
+          'entity' => 'WorldRegion',
           'bao' => 'CRM_Core_DAO_Worldregion',
           'localizable' => 0,
           'html' => [
@@ -101,7 +101,7 @@ class CRM_Core_DAO_Worldregion extends CRM_Core_DAO {
           'where' => 'civicrm_worldregion.name',
           'export' => TRUE,
           'table_name' => 'civicrm_worldregion',
-          'entity' => 'Worldregion',
+          'entity' => 'WorldRegion',
           'bao' => 'CRM_Core_DAO_Worldregion',
           'localizable' => 0,
           'add' => '1.8',
index 9e2b2a9b29550837a38aa60a71ac471aa28b3fd1..f24a8cc02672f7af3fe2e210c9268a28fa0bc6ff 100644 (file)
@@ -4,6 +4,7 @@
   <base>CRM/Core</base>
   <class>Worldregion</class>
   <name>civicrm_worldregion</name>
+  <entity>WorldRegion</entity>
   <add>1.8</add>
   <field>
     <name>id</name>