/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Generated from xml/schema/CRM/Core/Address.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:472057d193d1e875a14e7719a2d6a2ee)
+ * (GenCodeChecksum:a81d4789f6650c68145ab9bf1e4481a8)
*/
/**
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Address ID'),
- 'description' => 'Unique Address ID',
+ 'description' => ts('Unique Address ID'),
'required' => TRUE,
'table_name' => 'civicrm_address',
'entity' => 'Address',
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contact ID'),
- 'description' => 'FK to Contact ID',
+ 'description' => ts('FK to Contact ID'),
'table_name' => 'civicrm_address',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
'name' => 'location_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Address Location Type'),
- 'description' => 'Which Location does this address belong to.',
+ 'description' => ts('Which Location does this address belong to.'),
'table_name' => 'civicrm_address',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
'name' => 'is_primary',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Address Primary?'),
- 'description' => 'Is this the primary address.',
+ 'description' => ts('Is this the primary address.'),
'default' => '0',
'table_name' => 'civicrm_address',
'entity' => 'Address',
'name' => 'is_billing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Billing Address'),
- 'description' => 'Is this the billing address.',
+ 'description' => ts('Is this the billing address.'),
'default' => '0',
'table_name' => 'civicrm_address',
'entity' => 'Address',
'name' => 'street_address',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Street Address'),
- 'description' => 'Concatenation of all routable street address components (prefix, street number, street name, suffix, unit
+ 'description' => ts('Concatenation of all routable street address components (prefix, street number, street name, suffix, unit
number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail
delivery, etc.).
- ',
+ '),
'maxlength' => 96,
'size' => CRM_Utils_Type::HUGE,
'import' => TRUE,
'name' => 'street_number',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Street Number'),
- 'description' => 'Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.',
+ 'description' => ts('Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.'),
'export' => TRUE,
'where' => 'civicrm_address.street_number',
'headerPattern' => '',
'name' => 'street_number_suffix',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Street Number Suffix'),
- 'description' => 'Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A
- ',
+ 'description' => ts('Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A
+ '),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'export' => TRUE,
'name' => 'street_number_predirectional',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Street Direction Prefix'),
- 'description' => 'Directional prefix, e.g. SE Main St, SE is the prefix.',
+ 'description' => ts('Directional prefix, e.g. SE Main St, SE is the prefix.'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'table_name' => 'civicrm_address',
'name' => 'street_name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Street Name'),
- 'description' => 'Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.',
+ 'description' => ts('Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'export' => TRUE,
'name' => 'street_type',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Street Type'),
- 'description' => 'St, Rd, Dr, etc.',
+ 'description' => ts('St, Rd, Dr, etc.'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'table_name' => 'civicrm_address',
'name' => 'street_number_postdirectional',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Street Direction Suffix'),
- 'description' => 'Directional prefix, e.g. Main St S, S is the suffix.',
+ 'description' => ts('Directional prefix, e.g. Main St S, S is the suffix.'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'table_name' => 'civicrm_address',
'name' => 'street_unit',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Street Unit'),
- 'description' => 'Secondary unit designator, e.g. Apt 3 or Unit # 14, or Bldg 1200',
+ 'description' => ts('Secondary unit designator, e.g. Apt 3 or Unit # 14, or Bldg 1200'),
'maxlength' => 16,
'size' => CRM_Utils_Type::TWELVE,
'export' => TRUE,
'name' => 'supplemental_address_1',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Supplemental Address 1'),
- 'description' => 'Supplemental Address Information, Line 1',
+ 'description' => ts('Supplemental Address Information, Line 1'),
'maxlength' => 96,
'size' => CRM_Utils_Type::HUGE,
'import' => TRUE,
'name' => 'supplemental_address_2',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Supplemental Address 2'),
- 'description' => 'Supplemental Address Information, Line 2',
+ 'description' => ts('Supplemental Address Information, Line 2'),
'maxlength' => 96,
'size' => CRM_Utils_Type::HUGE,
'import' => TRUE,
'name' => 'supplemental_address_3',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Supplemental Address 3'),
- 'description' => 'Supplemental Address Information, Line 3',
+ 'description' => ts('Supplemental Address Information, Line 3'),
'maxlength' => 96,
'size' => CRM_Utils_Type::HUGE,
'import' => TRUE,
'name' => 'city',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('City'),
- 'description' => 'City, Town or Village Name.',
+ 'description' => ts('City, Town or Village Name.'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'import' => TRUE,
'name' => 'county_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('County'),
- 'description' => 'Which County does this address belong to.',
+ 'description' => ts('Which County does this address belong to.'),
'table_name' => 'civicrm_address',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
'name' => 'state_province_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('State/Province'),
- 'description' => 'Which State_Province does this address belong to.',
+ 'description' => ts('Which State_Province does this address belong to.'),
'table_name' => 'civicrm_address',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
+ 'localize_context' => 'province',
'FKClassName' => 'CRM_Core_DAO_StateProvince',
'html' => [
'type' => 'ChainSelect',
'name' => 'postal_code_suffix',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Postal Code Suffix'),
- 'description' => 'Store the suffix, like the +4 part in the USPS system.',
+ 'description' => ts('Store the suffix, like the +4 part in the USPS system.'),
'maxlength' => 12,
'size' => 3,
'import' => TRUE,
'name' => 'postal_code',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Postal Code'),
- 'description' => 'Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.',
+ 'description' => ts('Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.'),
'maxlength' => 64,
'size' => 6,
'import' => TRUE,
'name' => 'usps_adc',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('USPS Code'),
- 'description' => 'USPS Bulk mailing code.',
+ 'description' => ts('USPS Bulk mailing code.'),
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
'table_name' => 'civicrm_address',
'name' => 'country_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Country'),
- 'description' => 'Which Country does this address belong to.',
+ 'description' => ts('Which Country does this address belong to.'),
'table_name' => 'civicrm_address',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
+ 'localize_context' => 'country',
'FKClassName' => 'CRM_Core_DAO_Country',
'html' => [
'type' => 'Select',
'name' => 'geo_code_1',
'type' => CRM_Utils_Type::T_FLOAT,
'title' => ts('Latitude'),
- 'description' => 'Latitude',
+ 'description' => ts('Latitude'),
'import' => TRUE,
'where' => 'civicrm_address.geo_code_1',
'headerPattern' => '/geo/i',
'name' => 'geo_code_2',
'type' => CRM_Utils_Type::T_FLOAT,
'title' => ts('Longitude'),
- 'description' => 'Longitude',
+ 'description' => ts('Longitude'),
'import' => TRUE,
'where' => 'civicrm_address.geo_code_2',
'headerPattern' => '/geo/i',
'name' => 'manual_geo_code',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is manually geocoded'),
- 'description' => 'Is this a manually entered geo code',
+ 'description' => ts('Is this a manually entered geo code'),
'default' => '0',
'table_name' => 'civicrm_address',
'entity' => 'Address',
'name' => 'timezone',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Timezone'),
- 'description' => 'Timezone expressed as a UTC offset - e.g. United States CST would be written as "UTC-6".',
+ 'description' => ts('Timezone expressed as a UTC offset - e.g. United States CST would be written as "UTC-6".'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'table_name' => 'civicrm_address',
'name' => 'master_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Master Address Belongs To'),
- 'description' => 'FK to Address ID',
+ 'description' => ts('FK to Address ID'),
'import' => TRUE,
'where' => 'civicrm_address.master_id',
'headerPattern' => '',