X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FPhone.php;h=3a4d7a5fa8082cc1dc4d9c67013b45804518e27b;hb=6b86d84f35a46b20e8414811f546edb38f3985e2;hp=2ce49e2d6519725a98736b3e906b5dfd7ce3e636;hpb=999b8fd47075b59c18fd7888cede262865046b4b;p=civicrm-core.git diff --git a/CRM/Core/DAO/Phone.php b/CRM/Core/DAO/Phone.php index 2ce49e2d65..3a4d7a5fa8 100644 --- a/CRM/Core/DAO/Phone.php +++ b/CRM/Core/DAO/Phone.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Phone.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:97437ba9054b6175f63fe45e1756081f) + * (GenCodeChecksum:aed6082497eb601fdc249c7a361204a8) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -145,12 +145,20 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'title' => ts('Phone ID') , 'description' => 'Unique Phone ID', 'required' => true, + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone Contact') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'location_type_id' => array( @@ -158,6 +166,10 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone Location Type') , 'description' => 'Which Location does this phone belong to.', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, 'html' => array( 'type' => 'Select', ) , @@ -172,18 +184,30 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Phone Primary?') , 'description' => 'Is this the primary phone for this contact and location.', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, ) , 'is_billing' => array( 'name' => 'is_billing', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Billing Phone') , 'description' => 'Is this the billing?', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, ) , 'mobile_provider_id' => array( 'name' => 'mobile_provider_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mobile Provider') , 'description' => 'Which Mobile Provider does this phone belong to.', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, ) , 'phone' => array( 'name' => 'phone', @@ -197,6 +221,10 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'headerPattern' => '/phone/i', 'dataPattern' => '/^[\d\(\)\-\.\s]+$/', 'export' => true, + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, 'html' => array( 'type' => 'Text', ) , @@ -213,6 +241,10 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'headerPattern' => '/extension/i', 'dataPattern' => '/^\d+$/', 'export' => true, + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, 'html' => array( 'type' => 'Text', ) , @@ -224,12 +256,20 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'description' => 'Phone number stripped of all whitespace, letters, and punctuation.', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, ) , 'phone_type_id' => array( 'name' => 'phone_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone Type') , 'description' => 'Which type of phone does this number belongs.', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', + 'localizable' => 0, 'html' => array( 'type' => 'Select', ) ,