X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FLocationType.php;h=fbab7fe2dabeaa0dfce1484407dfda40766e66b1;hb=1d4d3e28e765d01748eff5371a08ded037282b11;hp=f0aa09a4b108e4b714c3ad391c6a111d6cd85019;hpb=68329e02970d1191dc0df10447cb128a5b0ea305;p=civicrm-core.git diff --git a/CRM/Core/DAO/LocationType.php b/CRM/Core/DAO/LocationType.php index f0aa09a4b1..fbab7fe2da 100644 --- a/CRM/Core/DAO/LocationType.php +++ b/CRM/Core/DAO/LocationType.php @@ -2,11 +2,11 @@ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 * * Generated from xml/schema/CRM/Core/LocationType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:630f891b9d0d1621cdbf3254e8536d4f) + * (GenCodeChecksum:a97cc190a4fbeafa8846f48f47dcd63e) */ /** @@ -19,14 +19,14 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_location_type'; + public static $_tableName = 'civicrm_location_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Location Type ID @@ -106,6 +106,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'title' => ts('Location Type ID'), 'description' => ts('Location Type ID'), 'required' => TRUE, + 'where' => 'civicrm_location_type.id', 'table_name' => 'civicrm_location_type', 'entity' => 'LocationType', 'bao' => 'CRM_Core_BAO_LocationType', @@ -118,6 +119,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'description' => ts('Location Type Name.'), 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'where' => 'civicrm_location_type.name', 'table_name' => 'civicrm_location_type', 'entity' => 'LocationType', 'bao' => 'CRM_Core_BAO_LocationType', @@ -130,6 +132,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'description' => ts('Location Type Display Name.'), 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'where' => 'civicrm_location_type.display_name', 'table_name' => 'civicrm_location_type', 'entity' => 'LocationType', 'bao' => 'CRM_Core_BAO_LocationType', @@ -142,6 +145,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'description' => ts('vCard Location Type Name.'), 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'where' => 'civicrm_location_type.vcard_name', 'table_name' => 'civicrm_location_type', 'entity' => 'LocationType', 'bao' => 'CRM_Core_BAO_LocationType', @@ -154,6 +158,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'description' => ts('Location Type Description.'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'where' => 'civicrm_location_type.description', 'table_name' => 'civicrm_location_type', 'entity' => 'LocationType', 'bao' => 'CRM_Core_BAO_LocationType', @@ -164,6 +169,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Location Type is Reserved?'), 'description' => ts('Is this location type a predefined system location?'), + 'where' => 'civicrm_location_type.is_reserved', 'table_name' => 'civicrm_location_type', 'entity' => 'LocationType', 'bao' => 'CRM_Core_BAO_LocationType', @@ -174,6 +180,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Location Type is Active?'), 'description' => ts('Is this property active?'), + 'where' => 'civicrm_location_type.is_active', 'table_name' => 'civicrm_location_type', 'entity' => 'LocationType', 'bao' => 'CRM_Core_BAO_LocationType', @@ -184,6 +191,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Default Location Type?'), 'description' => ts('Is this location type the default?'), + 'where' => 'civicrm_location_type.is_default', 'table_name' => 'civicrm_location_type', 'entity' => 'LocationType', 'bao' => 'CRM_Core_BAO_LocationType',