*
* Generated from xml/schema/CRM/Event/ParticipantPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:46b1d29e4240673e67e23252fd2a1e1b)
+ * (GenCodeChecksum:e968c8fec853683ccda7863407aef635)
*/
/**
public static $_log = TRUE;
/**
- * Participant Payment Id
+ * Participant Payment ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $id;
/**
- * Participant Id (FK)
+ * Participant ID (FK)
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $participant_id;
/**
* FK to contribution table.
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $contribution_id;
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment ID'),
- 'description' => ts('Participant Payment Id'),
+ 'description' => ts('Participant Payment ID'),
'required' => TRUE,
'where' => 'civicrm_participant_payment.id',
'table_name' => 'civicrm_participant_payment',
'entity' => 'ParticipantPayment',
'bao' => 'CRM_Event_BAO_ParticipantPayment',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Number',
+ ],
+ 'readonly' => TRUE,
'add' => '1.7',
],
'participant_id' => [
'name' => 'participant_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Participant ID'),
- 'description' => ts('Participant Id (FK)'),
+ 'description' => ts('Participant ID (FK)'),
'required' => TRUE,
'where' => 'civicrm_participant_payment.participant_id',
'table_name' => 'civicrm_participant_payment',
'bao' => 'CRM_Event_BAO_ParticipantPayment',
'localizable' => 0,
'FKClassName' => 'CRM_Event_DAO_Participant',
+ 'html' => [
+ 'label' => ts("Participant"),
+ ],
'add' => '1.7',
],
'contribution_id' => [
'name' => 'contribution_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Contribution'),
+ 'title' => ts('Contribution ID'),
'description' => ts('FK to contribution table.'),
'required' => TRUE,
'where' => 'civicrm_participant_payment.contribution_id',
'bao' => 'CRM_Event_BAO_ParticipantPayment',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+ 'html' => [
+ 'label' => ts("Contribution"),
+ ],
'add' => '2.0',
],
];