+--------------------------------------------------------------------+
| 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/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';
+/**
+ * CRM_Financial_DAO_EntityFinancialAccount constructor.
+ */
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';
/**
- * 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 $financial_account_id;
/**
- * class constructor
- *
- * @return civicrm_entity_financial_account
+ * Class constructor.
*/
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]
'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',
'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',
'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',
'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',
) ,
'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',
$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;
+ }
}