X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FCounty.php;h=3daea9d1a2b7b4670e20a3b102a5c287842f0905;hb=522a26c97d574d2ce6f88c729fa01998ed203794;hp=780ca69d4f156c36db93fff86c4ab7449a647781;hpb=2a75cfd628a8c371215c4f6066271a67105bad8e;p=civicrm-core.git diff --git a/CRM/Core/DAO/County.php b/CRM/Core/DAO/County.php index 780ca69d4f..3daea9d1a2 100644 --- a/CRM/Core/DAO/County.php +++ b/CRM/Core/DAO/County.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ -| Copyright CiviCRM LLC (c) 2004-2016 | +| Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -26,24 +26,26 @@ */ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2016 + * @copyright CiviCRM LLC (c) 2004-2017 * * Generated from xml/schema/CRM/Core/County.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5123c059a50972248c5ced75a03c4eb5) + * (GenCodeChecksum:824c915d12ea56f2abb94267ca139391) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; +/** + * CRM_Core_DAO_County constructor. + */ class CRM_Core_DAO_County extends CRM_Core_DAO { /** - * static instance to hold the table name + * Static instance to hold the table name. * * @var string */ static $_tableName = 'civicrm_county'; /** - * static value to see if we should log any modifications to - * this table in the civicrm_log table + * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var boolean */ @@ -73,16 +75,14 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { */ public $state_province_id; /** - * class constructor - * - * @return civicrm_county + * Class constructor. */ function __construct() { $this->__table = 'civicrm_county'; parent::__construct(); } /** - * Returns foreign keys and entity references + * Returns foreign keys and entity references. * * @return array * [CRM_Core_Reference_Interface] @@ -109,6 +109,9 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'title' => ts('County ID') , 'description' => 'County ID', 'required' => true, + 'table_name' => 'civicrm_county', + 'entity' => 'County', + 'bao' => 'CRM_Core_DAO_County', ) , 'name' => array( 'name' => 'name', @@ -122,6 +125,9 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'headerPattern' => '/county/i', 'dataPattern' => '/[A-Z]{2}/', 'export' => true, + 'table_name' => 'civicrm_county', + 'entity' => 'County', + 'bao' => 'CRM_Core_DAO_County', ) , 'abbreviation' => array( 'name' => 'abbreviation', @@ -130,6 +136,9 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'description' => '2-4 Character Abbreviation of County', 'maxlength' => 4, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_county', + 'entity' => 'County', + 'bao' => 'CRM_Core_DAO_County', ) , 'state_province_id' => array( 'name' => 'state_province_id', @@ -137,6 +146,9 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'title' => ts('State') , 'description' => 'ID of State/Province that County belongs', 'required' => true, + 'table_name' => 'civicrm_county', + 'entity' => 'County', + 'bao' => 'CRM_Core_DAO_County', 'FKClassName' => 'CRM_Core_DAO_StateProvince', ) , );