projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-19925 Updated DAO files
[civicrm-core.git]
/
CRM
/
Core
/
DAO
/
County.php
diff --git
a/CRM/Core/DAO/County.php
b/CRM/Core/DAO/County.php
index a1b3dccdef3a3c19e825071dcc804d4918a66409..3daea9d1a2b7b4670e20a3b102a5c287842f0905 100644
(file)
--- a/
CRM/Core/DAO/County.php
+++ b/
CRM/Core/DAO/County.php
@@
-30,20
+30,22
@@
*
* Generated from xml/schema/CRM/Core/County.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
*
* 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';
*/
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 {
/**
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';
/**
*
* @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
*/
*
* @var boolean
*/
@@
-73,16
+75,14
@@
class CRM_Core_DAO_County extends CRM_Core_DAO {
*/
public $state_province_id;
/**
*/
public $state_province_id;
/**
- * class constructor
- *
- * @return civicrm_county
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_county';
parent::__construct();
}
/**
*/
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]
*
* @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,
'title' => ts('County ID') ,
'description' => 'County ID',
'required' => true,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
) ,
'name' => array(
'name' => 'name',
) ,
'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,
'headerPattern' => '/county/i',
'dataPattern' => '/[A-Z]{2}/',
'export' => true,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
) ,
'abbreviation' => array(
'name' => 'abbreviation',
) ,
'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,
'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',
) ,
'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,
'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',
) ,
);
'FKClassName' => 'CRM_Core_DAO_StateProvince',
) ,
);