projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-20312 regenerated DAOS with indexes
[civicrm-core.git]
/
CRM
/
Financial
/
DAO
/
EntityFinancialAccount.php
diff --git
a/CRM/Financial/DAO/EntityFinancialAccount.php
b/CRM/Financial/DAO/EntityFinancialAccount.php
index 886c229eaaf90ac4a468e81617eaae16283255c4..db09e2fce5f7c24d6734cfb83bd93601bf6a8e38 100644
(file)
--- a/
CRM/Financial/DAO/EntityFinancialAccount.php
+++ b/
CRM/Financial/DAO/EntityFinancialAccount.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-201
6
|
+| Copyright CiviCRM LLC (c) 2004-201
7
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-26,24
+26,26
@@
*/
/**
* @package CRM
*/
/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
6
+ * @copyright CiviCRM LLC (c) 2004-201
7
*
* Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
*
* Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:
13b6c60f03bc97b4cd018e009e43fbf9
)
+ * (GenCodeChecksum:
227febd12437c66f2e3ef5b3689f9901
)
*/
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_Financial_DAO_EntityFinancialAccount constructor.
+ */
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
/**
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
/**
- *
static instance to hold the table name
+ *
Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_entity_financial_account';
/**
*
* @var string
*/
static $_tableName = 'civicrm_entity_financial_account';
/**
- * 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
*/
@@
-79,16
+81,14
@@
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
*/
public $financial_account_id;
/**
*/
public $financial_account_id;
/**
- * class constructor
- *
- * @return civicrm_entity_financial_account
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_entity_financial_account';
parent::__construct();
}
/**
*/
function __construct() {
$this->__table = 'civicrm_entity_financial_account';
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]
@@
-116,6
+116,10
@@
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
'title' => ts('Entity Financial Account ID') ,
'description' => 'ID',
'required' => true,
'title' => ts('Entity Financial Account ID') ,
'description' => 'ID',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
+ 'localizable' => 0,
) ,
'entity_table' => array(
'name' => 'entity_table',
) ,
'entity_table' => array(
'name' => 'entity_table',
@@
-130,6
+134,10
@@
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
+ 'localizable' => 0,
) ,
'entity_id' => array(
'name' => 'entity_id',
) ,
'entity_id' => array(
'name' => 'entity_id',
@@
-137,6
+145,10
@@
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
'title' => ts('Entity ID') ,
'description' => 'Links to an id in the entity_table, such as vid in civicrm_financial_type',
'required' => true,
'title' => ts('Entity ID') ,
'description' => 'Links to an id in the entity_table, such as vid in civicrm_financial_type',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
+ 'localizable' => 0,
) ,
'account_relationship' => array(
'name' => 'account_relationship',
) ,
'account_relationship' => array(
'name' => 'account_relationship',
@@
-144,6
+156,10
@@
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
'title' => ts('Account Relationship') ,
'description' => 'FK to a new civicrm_option_value (account_relationship)',
'required' => true,
'title' => ts('Account Relationship') ,
'description' => 'FK to a new civicrm_option_value (account_relationship)',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'html' => array(
'type' => 'Select',
) ,
@@
-158,6
+174,10
@@
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
'title' => ts('Financial Account') ,
'description' => 'FK to the financial_account_id',
'required' => true,
'title' => ts('Financial Account') ,
'description' => 'FK to the financial_account_id',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
'html' => array(
'type' => 'Select',
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
'html' => array(
'type' => 'Select',
@@
-223,4
+243,11
@@
class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
$r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'entity_financial_account', $prefix, array());
return $r;
}
$r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'entity_financial_account', $prefix, array());
return $r;
}
+ /**
+ * Returns the list of indices
+ */
+ public static function indices($localize = TRUE) {
+ $indices = array();
+ return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+ }
}
}