X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FPhone.php;h=9a6b668620a60c9d0e8d8bbbca940cc6a33e0016;hb=1da032ecc2a4ed2e726692d1b2b9254241e1478e;hp=39a7ebdf3e6d2c735dc83888ffba974c331ac4d9;hpb=ab1d98dd07ec04f49b67a93e20ec9a6f8f347d9a;p=civicrm-core.git diff --git a/CRM/Core/DAO/Phone.php b/CRM/Core/DAO/Phone.php index 39a7ebdf3e..9a6b668620 100644 --- a/CRM/Core/DAO/Phone.php +++ b/CRM/Core/DAO/Phone.php @@ -6,13 +6,15 @@ * * 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. @@ -154,6 +156,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'entity' => 'Phone', 'bao' => 'CRM_Core_BAO_Phone', 'localizable' => 0, + 'add' => '1.1', ], 'contact_id' => [ 'name' => 'contact_id', @@ -166,11 +169,12 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { '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', @@ -179,12 +183,14 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { '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', @@ -200,6 +206,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'html' => [ 'type' => 'Radio', ], + 'add' => '1.1', ], 'is_billing' => [ 'name' => 'is_billing', @@ -212,6 +219,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'entity' => 'Phone', 'bao' => 'CRM_Core_BAO_Phone', 'localizable' => 0, + 'add' => '2.0', ], 'mobile_provider_id' => [ 'name' => 'mobile_provider_id', @@ -223,6 +231,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'entity' => 'Phone', 'bao' => 'CRM_Core_BAO_Phone', 'localizable' => 0, + 'add' => '1.1', ], 'phone' => [ 'name' => 'phone', @@ -243,6 +252,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'html' => [ 'type' => 'Text', ], + 'add' => '1.1', ], 'phone_ext' => [ 'name' => 'phone_ext', @@ -263,6 +273,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'html' => [ 'type' => 'Text', ], + 'add' => '3.3', ], 'phone_numeric' => [ 'name' => 'phone_numeric', @@ -276,11 +287,12 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { '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, @@ -290,11 +302,13 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { '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']);