*
* 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';
'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',
'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',
'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',
'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',
) ,
'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',
) ,
'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',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
+ 'localizable' => 0,
'html' => array(
'type' => 'Text',
) ,
'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',
) ,
'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',
) ,
'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',
) ,
$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;
+ }
}