+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2016 |
+| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*/
/**
* @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:85404ece3f86dd6b1af99b0756b55331)
*/
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
*/
*/
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]
'title' => ts('County ID') ,
'description' => 'County ID',
'required' => true,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
+ 'localizable' => 0,
) ,
'name' => array(
'name' => 'name',
'headerPattern' => '/county/i',
'dataPattern' => '/[A-Z]{2}/',
'export' => true,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
+ 'localizable' => 0,
) ,
'abbreviation' => array(
'name' => 'abbreviation',
'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',
+ 'localizable' => 0,
) ,
'state_province_id' => array(
'name' => 'state_province_id',
'title' => ts('State') ,
'description' => 'ID of State/Province that County belongs',
'required' => true,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_StateProvince',
) ,
);