*
* Generated from xml/schema/CRM/Core/Phone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dcfc4989d248f3990a5ac2a422597061)
+ * (GenCodeChecksum:efdb60e03b54f246e73588b6eb99611d)
*/
/**
* Database access object for the Phone entity.
*/
class CRM_Core_DAO_Phone extends CRM_Core_DAO {
+ const EXT = 'civicrm';
+ const TABLE_ADDED = '1.1';
/**
* Static instance to hold the table name.
'entity' => 'Phone',
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
+ 'add' => '1.1',
],
'contact_id' => [
'name' => 'contact_id',
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'add' => '2.0',
],
'location_type_id' => [
'name' => 'location_type_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Phone Location Type'),
+ 'title' => ts('Phone Location Type ID'),
'description' => ts('Which Location does this phone belong to.'),
'where' => 'civicrm_phone.location_type_id',
'table_name' => 'civicrm_phone',
'localizable' => 0,
'html' => [
'type' => 'Select',
+ 'label' => ts("Phone Location Type"),
],
'pseudoconstant' => [
'table' => 'civicrm_location_type',
'keyColumn' => 'id',
'labelColumn' => 'display_name',
],
+ 'add' => '2.0',
],
'is_primary' => [
'name' => 'is_primary',
'html' => [
'type' => 'Radio',
],
+ 'add' => '1.1',
],
'is_billing' => [
'name' => 'is_billing',
'entity' => 'Phone',
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
+ 'add' => '2.0',
],
'mobile_provider_id' => [
'name' => 'mobile_provider_id',
'entity' => 'Phone',
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
+ 'add' => '1.1',
],
'phone' => [
'name' => 'phone',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.1',
],
'phone_ext' => [
'name' => 'phone_ext',
'html' => [
'type' => 'Text',
],
+ 'add' => '3.3',
],
'phone_numeric' => [
'name' => 'phone_numeric',
'entity' => 'Phone',
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
+ 'add' => '4.3',
],
'phone_type_id' => [
'name' => 'phone_type_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Phone Type'),
+ 'title' => ts('Phone Type ID'),
'description' => ts('Which type of phone does this number belongs.'),
'where' => 'civicrm_phone.phone_type_id',
'export' => TRUE,
'localizable' => 0,
'html' => [
'type' => 'Select',
+ 'label' => ts("Phone Type"),
],
'pseudoconstant' => [
'optionGroupName' => 'phone_type',
'optionEditPath' => 'civicrm/admin/options/phone_type',
],
+ 'add' => '2.2',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);