Merge pull request #19525 from eileenmcnaughton/member_soft
[civicrm-core.git] / CRM / Core / DAO / Phone.php
index 5c0b7816a5c20027ce051e48fcb03df19373274e..513a6621a371210e1750171ccd1042edfa5e7ac3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Phone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f77d3ef5985c8945730c2fe22bb3fa45)
+ * (GenCodeChecksum:dd0dd5e4008e0325f5b52127610c1fc4)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-phone';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'phone';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
@@ -159,12 +166,15 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'entity' => 'Phone',
           'bao' => 'CRM_Core_BAO_Phone',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Number',
+          ],
           'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Phone Contact'),
+          'title' => ts('Contact ID'),
           'description' => ts('FK to Contact ID'),
           'where' => 'civicrm_phone.contact_id',
           'table_name' => 'civicrm_phone',
@@ -172,6 +182,9 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Phone',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'html' => [
+            'label' => ts("Contact"),
+          ],
           'add' => '2.0',
         ],
         'location_type_id' => [