CRM_Event_Form_EventFees
in package
This class generates form components for processing a participation fee block
Table of Contents
Methods
- preProcess() : mixed
- Set variables up before form is built.
- setDefaultPriceSet() : array<string|int, mixed>
- This function sets the default values for price set.
- setDefaultValues() : array<string|int, mixed>
- This function sets the default values for the form in edit/view mode.
- getDefaultPaymentInstrumentId() : int
- Get the default payment instrument id.
Methods
preProcess()
Set variables up before form is built.
public
static preProcess(CRM_Core_Form &$form) : mixed
since 5.69 will be removed around 5.74
Parameters
- $form : CRM_Core_Form
Tags
setDefaultPriceSet()
This function sets the default values for price set.
public
static setDefaultPriceSet(int $participantID[, int $eventID = NULL ][, bool $includeQtyZero = TRUE ]) : array<string|int, mixed>
Parameters
- $participantID : int
- $eventID : int = NULL
- $includeQtyZero : bool = TRUE
Return values
array<string|int, mixed>setDefaultValues()
This function sets the default values for the form in edit/view mode.
public
static setDefaultValues(CRM_Core_Form &$form) : array<string|int, mixed>
Parameters
- $form : CRM_Core_Form
Return values
array<string|int, mixed>getDefaultPaymentInstrumentId()
Get the default payment instrument id.
protected
static getDefaultPaymentInstrumentId() : int