Renamed Mailing Component entity
[civicrm-core.git] / CRM / Mailing / DAO / MailingComponent.php
similarity index 86%
rename from CRM/Mailing/DAO/Component.php
rename to CRM/Mailing/DAO/MailingComponent.php
index 38aef9f12aea3ffd2120344fe59b57e9307d8738..b6ad32fe5638d4c95b9482ca433bb574dcf711d0 100644 (file)
@@ -4,15 +4,15 @@
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2018
  *
- * Generated from xml/schema/CRM/Mailing/Component.xml
+ * Generated from xml/schema/CRM/Mailing/MailingComponent.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:33742feaa53eaba2c4a543c4e5c673ab)
+ * (GenCodeChecksum:08753305769bb8ac8d2824081322af92)
  */
 
 /**
- * Database access object for the Component entity.
+ * Database access object for the MailingComponent entity.
  */
-class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
+class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
 
   /**
    * Static instance to hold the table name.
@@ -102,8 +102,8 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
           'title' => ts('Mailing Component ID'),
           'required' => TRUE,
           'table_name' => 'civicrm_mailing_component',
-          'entity' => 'Component',
-          'bao' => 'CRM_Mailing_BAO_Component',
+          'entity' => 'MailingComponent',
+          'bao' => 'CRM_Mailing_DAO_MailingComponent',
           'localizable' => 0,
         ],
         'name' => [
@@ -114,8 +114,8 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
           'table_name' => 'civicrm_mailing_component',
-          'entity' => 'Component',
-          'bao' => 'CRM_Mailing_BAO_Component',
+          'entity' => 'MailingComponent',
+          'bao' => 'CRM_Mailing_DAO_MailingComponent',
           'localizable' => 0,
         ],
         'component_type' => [
@@ -126,8 +126,8 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
           'maxlength' => 12,
           'size' => CRM_Utils_Type::TWELVE,
           'table_name' => 'civicrm_mailing_component',
-          'entity' => 'Component',
-          'bao' => 'CRM_Mailing_BAO_Component',
+          'entity' => 'MailingComponent',
+          'bao' => 'CRM_Mailing_DAO_MailingComponent',
           'localizable' => 0,
           'html' => [
             'type' => 'Select',
@@ -143,8 +143,8 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'table_name' => 'civicrm_mailing_component',
-          'entity' => 'Component',
-          'bao' => 'CRM_Mailing_BAO_Component',
+          'entity' => 'MailingComponent',
+          'bao' => 'CRM_Mailing_DAO_MailingComponent',
           'localizable' => 0,
         ],
         'body_html' => [
@@ -155,8 +155,8 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
           'rows' => 8,
           'cols' => 80,
           'table_name' => 'civicrm_mailing_component',
-          'entity' => 'Component',
-          'bao' => 'CRM_Mailing_BAO_Component',
+          'entity' => 'MailingComponent',
+          'bao' => 'CRM_Mailing_DAO_MailingComponent',
           'localizable' => 0,
           'html' => [
             'type' => 'TextArea',
@@ -170,8 +170,8 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
           'rows' => 8,
           'cols' => 80,
           'table_name' => 'civicrm_mailing_component',
-          'entity' => 'Component',
-          'bao' => 'CRM_Mailing_BAO_Component',
+          'entity' => 'MailingComponent',
+          'bao' => 'CRM_Mailing_DAO_MailingComponent',
           'localizable' => 0,
           'html' => [
             'type' => 'TextArea',
@@ -184,8 +184,8 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
           'description' => 'Is this the default component for this component_type?',
           'default' => '0',
           'table_name' => 'civicrm_mailing_component',
-          'entity' => 'Component',
-          'bao' => 'CRM_Mailing_BAO_Component',
+          'entity' => 'MailingComponent',
+          'bao' => 'CRM_Mailing_DAO_MailingComponent',
           'localizable' => 0,
         ],
         'is_active' => [
@@ -194,8 +194,8 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO {
           'title' => ts('Mailing Component Is Active?'),
           'description' => 'Is this property active?',
           'table_name' => 'civicrm_mailing_component',
-          'entity' => 'Component',
-          'bao' => 'CRM_Mailing_BAO_Component',
+          'entity' => 'MailingComponent',
+          'bao' => 'CRM_Mailing_DAO_MailingComponent',
           'localizable' => 0,
         ],
       ];