X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FEmail.php;h=082c77f910250deae123510aa5eab81c3b04ba3d;hb=655da1f919af8318da84d80422841599c332024d;hp=81f8f4259ac5c6877f2feca5c289870f92c63e96;hpb=5255c3f184321fc824fe4629c0a7ece20e078b43;p=civicrm-core.git diff --git a/CRM/Core/DAO/Email.php b/CRM/Core/DAO/Email.php index 81f8f4259a..082c77f910 100644 --- a/CRM/Core/DAO/Email.php +++ b/CRM/Core/DAO/Email.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Email.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:7e30aa415b50a25add79b9553b5d7657) + * (GenCodeChecksum:58fe115e0962f83c3906bce5f663f0fc) */ /** @@ -47,84 +47,108 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { /** * Unique Email ID * - * @var int + * @var int|string|null + * (SQL type: int unsigned) + * Note that values will be retrieved from the database as a string. */ public $id; /** * FK to Contact ID * - * @var int + * @var int|string|null + * (SQL type: int unsigned) + * Note that values will be retrieved from the database as a string. */ public $contact_id; /** * Which Location does this email belong to. * - * @var int + * @var int|string|null + * (SQL type: int unsigned) + * Note that values will be retrieved from the database as a string. */ public $location_type_id; /** * Email address * - * @var string + * @var string|null + * (SQL type: varchar(254)) + * Note that values will be retrieved from the database as a string. */ public $email; /** * Is this the primary email address * - * @var bool + * @var bool|string + * (SQL type: tinyint) + * Note that values will be retrieved from the database as a string. */ public $is_primary; /** * Is this the billing? * - * @var bool + * @var bool|string + * (SQL type: tinyint) + * Note that values will be retrieved from the database as a string. */ public $is_billing; /** * Implicit FK to civicrm_option_value where option_group = email_on_hold. * - * @var int + * @var int|string + * (SQL type: int unsigned) + * Note that values will be retrieved from the database as a string. */ public $on_hold; /** * Is this address for bulk mail ? * - * @var bool + * @var bool|string + * (SQL type: tinyint) + * Note that values will be retrieved from the database as a string. */ public $is_bulkmail; /** * When the address went on bounce hold * - * @var datetime + * @var string|null + * (SQL type: datetime) + * Note that values will be retrieved from the database as a string. */ public $hold_date; /** * When the address bounce status was last reset * - * @var datetime + * @var string|null + * (SQL type: datetime) + * Note that values will be retrieved from the database as a string. */ public $reset_date; /** * Text formatted signature for the email. * - * @var text + * @var string|null + * (SQL type: text) + * Note that values will be retrieved from the database as a string. */ public $signature_text; /** * HTML formatted signature for the email. * - * @var text + * @var string|null + * (SQL type: text) + * Note that values will be retrieved from the database as a string. */ public $signature_html; @@ -249,6 +273,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Primary email'), 'description' => ts('Is this the primary email address'), + 'required' => TRUE, 'where' => 'civicrm_email.is_primary', 'default' => '0', 'table_name' => 'civicrm_email', @@ -265,6 +290,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Billing Email?'), 'description' => ts('Is this the billing?'), + 'required' => TRUE, 'where' => 'civicrm_email.is_billing', 'default' => '0', 'table_name' => 'civicrm_email',