*
* Generated from xml/schema/CRM/Pledge/Pledge.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:186d3064229a2bd8a2de2483b4bb90c6)
+ * (GenCodeChecksum:237bb1983467d1d8ce0f3c77eacc8f93)
*/
/**
'entity' => 'Pledge',
'bao' => 'CRM_Pledge_BAO_Pledge',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Number',
+ ],
'add' => '2.1',
],
'pledge_contact_id' => [
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => [
'type' => 'EntityRef',
+ 'label' => ts("Contact"),
],
'add' => '2.1',
],
'pledge_financial_type_id' => [
'name' => 'financial_type_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Type'),
+ 'title' => ts('Financial Type ID'),
'description' => ts('FK to Financial Type'),
'where' => 'civicrm_pledge.financial_type_id',
'table_name' => 'civicrm_pledge',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'html' => [
'type' => 'Select',
+ 'label' => ts("Financial Type"),
],
'pseudoconstant' => [
'table' => 'civicrm_financial_type',
'pledge_contribution_page_id' => [
'name' => 'contribution_page_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Pledge Contribution Page'),
+ 'title' => ts('Contribution Page ID'),
'description' => ts('The Contribution Page which triggered this contribution'),
'where' => 'civicrm_pledge.contribution_page_id',
'table_name' => 'civicrm_pledge',
'bao' => 'CRM_Pledge_BAO_Pledge',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
+ 'html' => [
+ 'label' => ts("Contribution Page"),
+ ],
'add' => '2.1',
],
'pledge_amount' => [
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Pledge Frequency Unit'),
'description' => ts('Time units for recurrence of pledge payments.'),
+ 'required' => TRUE,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'where' => 'civicrm_pledge.frequency_unit',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Pledge Number of Installments'),
'description' => ts('Total number of payments to be made.'),
+ 'required' => TRUE,
'where' => 'civicrm_pledge.installments',
'export' => TRUE,
'default' => '1',
'pledge_status_id' => [
'name' => 'status_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Pledge Status Id'),
+ 'title' => ts('Pledge Status ID'),
'description' => ts('Implicit foreign key to civicrm_option_values in the pledge_status option group.'),
+ 'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_pledge.status_id',
'export' => FALSE,
'name' => 'is_test',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Test'),
+ 'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_pledge.is_test',
'export' => TRUE,
'pledge_campaign_id' => [
'name' => 'campaign_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Campaign'),
+ 'title' => ts('Campaign ID'),
'description' => ts('The campaign for which this pledge has been initiated.'),
'import' => TRUE,
'where' => 'civicrm_pledge.campaign_id',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => [
'type' => 'Select',
- ],
- 'pseudoconstant' => [
- 'table' => 'civicrm_campaign',
- 'keyColumn' => 'id',
- 'labelColumn' => 'title',
+ 'label' => ts("Campaign"),
],
'add' => '3.4',
],