*
* Generated from xml/schema/CRM/Contribute/Premium.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62ca558719cfe842066d2fb208df2f76)
+ * (GenCodeChecksum:b35b6fb4895df990a55d9015bb82a852)
*/
/**
* Database access object for the Premium entity.
*/
class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
+ const EXT = 'civicrm';
+ const TABLE_ADDED = '1.4';
/**
* Static instance to hold the table name.
/**
* Returns localized title of this entity.
+ *
+ * @param bool $plural
+ * Whether to return the plural version of the title.
*/
- public static function getEntityTitle() {
- return ts('Premiums');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('Premiums') : ts('Premium');
}
/**
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'add' => '1.4',
],
'entity_table' => [
'name' => 'entity_table',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'add' => '1.4',
],
'entity_id' => [
'name' => 'entity_id',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'add' => '1.4',
],
'premiums_active' => [
'name' => 'premiums_active',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'add' => '1.4',
],
'premiums_intro_title' => [
'name' => 'premiums_intro_title',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 1,
+ 'add' => '1.4',
],
'premiums_intro_text' => [
'name' => 'premiums_intro_text',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 1,
+ 'add' => '1.4',
],
'premiums_contact_email' => [
'name' => 'premiums_contact_email',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'add' => '1.4',
],
'premiums_contact_phone' => [
'name' => 'premiums_contact_phone',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'add' => '1.4',
],
'premiums_display_min_contribution' => [
'name' => 'premiums_display_min_contribution',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'add' => '1.4',
],
'premiums_nothankyou_label' => [
'name' => 'premiums_nothankyou_label',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 1,
+ 'add' => '4.3',
],
'premiums_nothankyou_position' => [
'name' => 'premiums_nothankyou_position',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'add' => '4.3',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);