Merge pull request #19525 from eileenmcnaughton/member_soft
[civicrm-core.git] / CRM / Core / DAO / Website.php
index aed21d3676e19c2e9101703d554c004fc9408131..3b43aa025b7bc10f3b97e065833a254212087e7d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Website.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1d9c6cf4e3d809a3b3f5963ccb189e83)
+ * (GenCodeChecksum:5fe7525ef0c24242d206c57a36d4899a)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-desktop';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'url';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
@@ -117,12 +124,15 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
           'entity' => 'Website',
           'bao' => 'CRM_Core_BAO_Website',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Number',
+          ],
           'add' => '3.2',
         ],
         'contact_id' => [
           'name' => 'contact_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Contact'),
+          'title' => ts('Contact ID'),
           'description' => ts('FK to Contact ID'),
           'where' => 'civicrm_website.contact_id',
           'table_name' => 'civicrm_website',
@@ -130,6 +140,9 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Website',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'html' => [
+            'label' => ts("Contact"),
+          ],
           'add' => '3.2',
         ],
         'url' => [