*
* Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:42848b82aaf63e76e1848ea1a6dbd4b2)
+ * (GenCodeChecksum:ebf620763b584524906dc13f45a3fbdf)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Financial_DAO_EntityFinancialTrxn constructor.
+ */
class CRM_Financial_DAO_EntityFinancialTrxn 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_trxn';
/**
- * 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 $amount;
/**
- * class constructor
- *
- * @return civicrm_entity_financial_trxn
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_entity_financial_trxn';
parent::__construct();
}
/**
- * Returns foreign keys and entity references
+ * Returns foreign keys and entity references.
*
* @return array
* [CRM_Core_Reference_Interface]
'title' => ts('Entity Financial Transaction ID') ,
'description' => 'ID',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
) ,
'entity_table' => array(
'name' => 'entity_table',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
) ,
'entity_id' => array(
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID') ,
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
) ,
'financial_trxn_id' => array(
'name' => 'financial_trxn_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Transaction Id') ,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
'FKClassName' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'amount' => array(
'headerPattern' => '/amount/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);