CRM-19925 Updated DAO files
[civicrm-core.git] / CRM / Friend / DAO / Friend.php
index 94b1f249f9a3af5a6b3fb917e66eec1a17eac619..2f78371225d1fd67a2934659bed55d646da5f8ec 100644 (file)
@@ -3,7 +3,7 @@
 +--------------------------------------------------------------------+
 | CiviCRM version 4.7                                                |
 +--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2016                                |
+| Copyright CiviCRM LLC (c) 2004-2017                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
 */
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
  *
  * Generated from xml/schema/CRM/Friend/Friend.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62111759b7ebef1f78bd30c04c2086ba)
+ * (GenCodeChecksum:62f899b48f9f20def0ab8def52ff5be7)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Friend_DAO_Friend constructor.
+ */
 class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
   /**
-   * static instance to hold the table name
+   * Static instance to hold the table name.
    *
    * @var string
    */
   static $_tableName = 'civicrm_tell_friend';
   /**
-   * 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
    */
@@ -107,16 +109,14 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
    */
   public $is_active;
   /**
-   * class constructor
-   *
-   * @return civicrm_tell_friend
+   * Class constructor.
    */
   function __construct() {
     $this->__table = 'civicrm_tell_friend';
     parent::__construct();
   }
   /**
-   * Returns foreign keys and entity references
+   * Returns foreign keys and entity references.
    *
    * @return array
    *   [CRM_Core_Reference_Interface]
@@ -143,6 +143,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'title' => ts('Friend ID') ,
           'description' => 'Friend ID',
           'required' => true,
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
         ) ,
         'entity_table' => array(
           'name' => 'entity_table',
@@ -152,6 +155,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'required' => true,
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
         ) ,
         'entity_id' => array(
           'name' => 'entity_id',
@@ -159,6 +165,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'title' => ts('Entity ID') ,
           'description' => 'Foreign key to the referenced item.',
           'required' => true,
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
         ) ,
         'title' => array(
           'name' => 'title',
@@ -166,6 +175,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'title' => ts('Title') ,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -175,6 +187,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Intro') ,
           'description' => 'Introductory message to contributor or participant displayed on the Tell a Friend form.',
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -184,6 +199,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Suggested Message') ,
           'description' => 'Suggested message to friends, provided as default on the Tell A Friend form.',
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -200,6 +218,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -211,6 +232,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'description' => 'Text for Tell a Friend thank you page header and HTML title.',
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -220,6 +244,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Thank You Text') ,
           'description' => 'Thank you message displayed on success page.',
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -228,6 +255,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Enabled?') ,
+          'table_name' => 'civicrm_tell_friend',
+          'entity' => 'Friend',
+          'bao' => 'CRM_Friend_BAO_Friend',
           'html' => array(
             'type' => 'CheckBox',
           ) ,