*
* Generated from xml/schema/CRM/Member/MembershipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c86019d4817d79e1dd59d69eaa2a3eb6)
+ * (GenCodeChecksum:b36330fa029a5c1467441e89b7c45c63)
*/
/**
'entity' => 'MembershipType',
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 1,
+ 'html' => [
+ 'type' => 'Text',
+ 'label' => ts("Name"),
+ ],
],
'description' => [
'name' => 'description',
'localizable' => 1,
'html' => [
'type' => 'TextArea',
+ 'label' => ts("Description"),
],
],
'member_of_contact_id' => [
'minimum_fee' => [
'name' => 'minimum_fee',
'type' => CRM_Utils_Type::T_MONEY,
- 'title' => ts('membership Type Minimum Fee'),
+ 'title' => ts('Membership Type Minimum Fee'),
'description' => 'Minimum fee for this membership (0 for free/complimentary memberships).',
'precision' => [
18,
9
],
+ 'default' => '0',
'table_name' => 'civicrm_membership_type',
'entity' => 'MembershipType',
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ 'label' => ts("Minimum Fee"),
+ ],
],
'duration_unit' => [
'name' => 'duration_unit',
'entity' => 'MembershipType',
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ ],
],
'period_type' => [
'name' => 'period_type',
'entity' => 'MembershipType',
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Select',
+ ],
'pseudoconstant' => [
'callback' => 'CRM_Core_SelectValues::periodType',
]
'entity' => 'MembershipType',
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ 'label' => ts("Max Related"),
+ ],
],
'visibility' => [
'name' => 'visibility',
'entity' => 'MembershipType',
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ ],
],
'receipt_text_signup' => [
'name' => 'receipt_text_signup',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Auto Renew'),
'description' => '0 = No auto-renew option; 1 = Give option, but not required; 2 = Auto-renew required;',
+ 'default' => '0',
'table_name' => 'civicrm_membership_type',
'entity' => 'MembershipType',
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Radio',
+ ],
'pseudoconstant' => [
'callback' => 'CRM_Core_SelectValues::memberAutoRenew',
]
'entity' => 'MembershipType',
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'CheckBox',
+ 'label' => ts("Enabled?"),
+ ],
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);