CRM-20312 regenerated DAOS with indexes
[civicrm-core.git] / CRM / Friend / DAO / Friend.php
index ff05a50ed9ef5b8095cd9018df377c538149caaf..186a78673fec47170a72b3a9424b5168a4aebfb4 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generated from xml/schema/CRM/Friend/Friend.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62111759b7ebef1f78bd30c04c2086ba)
+ * (GenCodeChecksum:0f2c6f4aab46e551d1e3ec7fdd55f0f5)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
@@ -143,6 +143,10 @@ 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',
+          'localizable' => 0,
         ) ,
         'entity_table' => array(
           'name' => 'entity_table',
@@ -152,6 +156,10 @@ 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',
+          'localizable' => 0,
         ) ,
         'entity_id' => array(
           'name' => 'entity_id',
@@ -159,6 +167,10 @@ 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',
+          'localizable' => 0,
         ) ,
         'title' => array(
           'name' => 'title',
@@ -166,6 +178,10 @@ 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',
+          'localizable' => 1,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -175,6 +191,10 @@ 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',
+          'localizable' => 1,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -184,6 +204,10 @@ 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',
+          'localizable' => 1,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -200,6 +224,10 @@ 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',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -211,6 +239,10 @@ 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',
+          'localizable' => 1,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -220,6 +252,10 @@ 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',
+          'localizable' => 1,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -228,6 +264,10 @@ 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',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -287,4 +327,11 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'tell_friend', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array();
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }