CRM-19925 Updated DAO files
[civicrm-core.git] / CRM / Core / DAO / Website.php
index 9bf2a932949350ad2159d6a1aad0d2e32947b8b4..c04526369cfb33167344339ebd6e857c26ac040d 100644 (file)
  *
  * Generated from xml/schema/CRM/Core/Website.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:40a585fbb41385458f0332b03388c078)
+ * (GenCodeChecksum:42189dd53f14c27bba3cc5f498ad1324)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Core_DAO_Website constructor.
+ */
 class CRM_Core_DAO_Website extends CRM_Core_DAO {
   /**
-   * static instance to hold the table name
+   * Static instance to hold the table name.
    *
    * @var string
    */
   static $_tableName = 'civicrm_website';
   /**
-   * static value to see if we should log any modifications to
-   * this table in the civicrm_log table
+   * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var boolean
    */
@@ -73,16 +75,14 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
    */
   public $website_type_id;
   /**
-   * class constructor
-   *
-   * @return civicrm_website
+   * Class constructor.
    */
   function __construct() {
     $this->__table = 'civicrm_website';
     parent::__construct();
   }
   /**
-   * Returns foreign keys and entity references
+   * Returns foreign keys and entity references.
    *
    * @return array
    *   [CRM_Core_Reference_Interface]
@@ -109,12 +109,18 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
           'title' => ts('Website ID') ,
           'description' => 'Unique Website ID',
           'required' => true,
+          'table_name' => 'civicrm_website',
+          'entity' => 'Website',
+          'bao' => 'CRM_Core_BAO_Website',
         ) ,
         'contact_id' => array(
           'name' => 'contact_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Contact') ,
           'description' => 'FK to Contact ID',
+          'table_name' => 'civicrm_website',
+          'entity' => 'Website',
+          'bao' => 'CRM_Core_BAO_Website',
           'FKClassName' => 'CRM_Contact_DAO_Contact',
         ) ,
         'url' => array(
@@ -129,6 +135,9 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
           'headerPattern' => '/Website/i',
           'dataPattern' => '/^[A-Za-z][0-9A-Za-z]{20,}$/',
           'export' => true,
+          'table_name' => 'civicrm_website',
+          'entity' => 'Website',
+          'bao' => 'CRM_Core_BAO_Website',
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -138,6 +147,9 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Website Type') ,
           'description' => 'Which Website type does this website belong to.',
+          'table_name' => 'civicrm_website',
+          'entity' => 'Website',
+          'bao' => 'CRM_Core_BAO_Website',
           'html' => array(
             'type' => 'Select',
           ) ,