*
* Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7fbb150189946e587cb80c075945e5ba)
+ * (GenCodeChecksum:caa58722ef865c7342fdff08f24d86ee)
*/
/**
* Database access object for the ContributionSoft entity.
*/
class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
+ const EXT = 'civicrm';
+ const TABLE_ADDED = '2.2';
/**
* Static instance to hold the table name.
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Contribution Softs');
+ }
+
/**
* Returns foreign keys and entity references.
*
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
+ 'add' => '2.2',
],
'contribution_id' => [
'name' => 'contribution_id',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+ 'add' => '2.2',
],
'contribution_soft_contact_id' => [
'name' => 'contact_id',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'add' => '2.2',
],
'amount' => [
'name' => 'amount',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
+ 'add' => '2.2',
],
'currency' => [
'name' => 'currency',
'nameColumn' => 'name',
'abbrColumn' => 'symbol',
],
+ 'add' => '3.2',
],
'pcp_id' => [
'name' => 'pcp_id',
'keyColumn' => 'id',
'labelColumn' => 'title',
],
+ 'add' => '2.2',
],
'pcp_display_in_roll' => [
'name' => 'pcp_display_in_roll',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
+ 'add' => '2.2',
],
'pcp_roll_nickname' => [
'name' => 'pcp_roll_nickname',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
+ 'add' => '2.2',
],
'pcp_personal_note' => [
'name' => 'pcp_personal_note',
'html' => [
'type' => 'TextArea',
],
+ 'add' => '2.2',
],
'soft_credit_type_id' => [
'name' => 'soft_credit_type_id',
'optionGroupName' => 'soft_credit_type',
'optionEditPath' => 'civicrm/admin/options/soft_credit_type',
],
+ 'add' => '2.2',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);