*
* Generated from xml/schema/CRM/Core/Email.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:198627a1fa129294e4c7be52939883e1)
+ * (GenCodeChecksum:6da9864657d2b5e46956386ab414d8d6)
*/
/**
/**
* Unique Email ID
*
- * @var int unsigned
+ * @var int
*/
public $id;
/**
* FK to Contact ID
*
- * @var int unsigned
+ * @var int
*/
public $contact_id;
/**
* Which Location does this email belong to.
*
- * @var int unsigned
+ * @var int
*/
public $location_type_id;
/**
* Is this the primary?
*
- * @var boolean
+ * @var bool
*/
public $is_primary;
/**
* Is this the billing?
*
- * @var boolean
+ * @var bool
*/
public $is_billing;
/**
* Implicit FK to civicrm_option_value where option_group = email_on_hold.
*
- * @var int unsigned
+ * @var int
*/
public $on_hold;
/**
* Is this address for bulk mail ?
*
- * @var boolean
+ * @var bool
*/
public $is_bulkmail;
'title' => ts('Email ID'),
'description' => ts('Unique Email ID'),
'required' => TRUE,
+ 'where' => 'civicrm_email.id',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Email Contact'),
'description' => ts('FK to Contact ID'),
+ 'where' => 'civicrm_email.contact_id',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Email Location Type'),
'description' => ts('Which Location does this email belong to.'),
+ 'where' => 'civicrm_email.location_type_id',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
'table' => 'civicrm_location_type',
'keyColumn' => 'id',
'labelColumn' => 'display_name',
- ]
+ ],
],
'email' => [
'name' => 'email',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Primary email'),
'description' => ts('Is this the primary?'),
+ 'where' => 'civicrm_email.is_primary',
'default' => '0',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Billing Email?'),
'description' => ts('Is this the billing?'),
+ 'where' => 'civicrm_email.is_billing',
'default' => '0',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'title' => ts('On Hold'),
'description' => ts('Implicit FK to civicrm_option_value where option_group = email_on_hold.'),
'required' => TRUE,
- 'export' => TRUE,
'where' => 'civicrm_email.on_hold',
- 'headerPattern' => '',
- 'dataPattern' => '',
+ 'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_email',
'entity' => 'Email',
],
'pseudoconstant' => [
'callback' => 'CRM_Core_PseudoConstant::emailOnHoldOptions',
- ]
+ ],
],
'is_bulkmail' => [
'name' => 'is_bulkmail',
'title' => ts('Use for Bulk Mail'),
'description' => ts('Is this address for bulk mail ?'),
'required' => TRUE,
- 'export' => TRUE,
'where' => 'civicrm_email.is_bulkmail',
- 'headerPattern' => '',
- 'dataPattern' => '',
+ 'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Hold Date'),
'description' => ts('When the address went on bounce hold'),
+ 'where' => 'civicrm_email.hold_date',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Reset Date'),
'description' => ts('When the address bounce status was last reset'),
+ 'where' => 'civicrm_email.reset_date',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
'description' => ts('Text formatted signature for the email.'),
'import' => TRUE,
'where' => 'civicrm_email.signature_text',
- 'headerPattern' => '',
- 'dataPattern' => '',
'export' => TRUE,
'default' => 'NULL',
'table_name' => 'civicrm_email',
'description' => ts('HTML formatted signature for the email.'),
'import' => TRUE,
'where' => 'civicrm_email.signature_html',
- 'headerPattern' => '',
- 'dataPattern' => '',
'export' => TRUE,
'default' => 'NULL',
'table_name' => 'civicrm_email',