*
* Generated from xml/schema/CRM/Core/Address.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aed8175462599ecc4c8d43887d76350a)
+ * (GenCodeChecksum:8dc9868de21595676938b96deb836379)
*/
/**
*/
public static $_tableName = 'civicrm_address';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-map-marker';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Addresses');
+ }
+
/**
* Returns foreign keys and entity references.
*
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
+ 'add' => '1.1',
],
'contact_id' => [
'name' => 'contact_id',
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'add' => '2.0',
],
'location_type_id' => [
'name' => 'location_type_id',
'keyColumn' => 'id',
'labelColumn' => 'display_name',
],
+ 'add' => '2.0',
],
'is_primary' => [
'name' => 'is_primary',
'html' => [
'type' => 'Radio',
],
+ 'add' => '2.0',
],
'is_billing' => [
'name' => 'is_billing',
'html' => [
'type' => 'CheckBox',
],
+ 'add' => '2.0',
],
'street_address' => [
'name' => 'street_address',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'street_number' => [
'name' => 'street_number',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'street_number_suffix' => [
'name' => 'street_number_suffix',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'street_number_predirectional' => [
'name' => 'street_number_predirectional',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'street_name' => [
'name' => 'street_name',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'street_type' => [
'name' => 'street_type',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'street_number_postdirectional' => [
'name' => 'street_number_postdirectional',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'street_unit' => [
'name' => 'street_unit',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'supplemental_address_1' => [
'name' => 'supplemental_address_1',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'supplemental_address_2' => [
'name' => 'supplemental_address_2',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'supplemental_address_3' => [
'name' => 'supplemental_address_3',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'city' => [
'name' => 'city',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'county_id' => [
'name' => 'county_id',
'keyColumn' => 'id',
'labelColumn' => 'name',
],
+ 'add' => '1.1',
],
'state_province_id' => [
'name' => 'state_province_id',
'keyColumn' => 'id',
'labelColumn' => 'name',
],
+ 'add' => '1.1',
],
'postal_code_suffix' => [
'name' => 'postal_code_suffix',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'postal_code' => [
'name' => 'postal_code',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'usps_adc' => [
'name' => 'usps_adc',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
+ 'add' => '1.1',
],
'country_id' => [
'name' => 'country_id',
'nameColumn' => 'iso_code',
'abbrColumn' => 'iso_code',
],
+ 'add' => '1.1',
],
'geo_code_1' => [
'name' => 'geo_code_1',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'geo_code_2' => [
'name' => 'geo_code_2',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'manual_geo_code' => [
'name' => 'manual_geo_code',
'html' => [
'type' => 'CheckBox',
],
+ 'add' => '4.3',
],
'timezone' => [
'name' => 'timezone',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'address_name' => [
'name' => 'name',
'html' => [
'type' => 'Text',
],
+ 'add' => '2.1',
],
'master_id' => [
'name' => 'master_id',
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Address',
+ 'add' => '3.3',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);