class CRM_Event_Form_EventFees

This class generates form components for processing a participation fee block

Methods

static 
preProcess(CRM_Core_Form $form)

Set variables up before form is built.

static array
setDefaultValues(CRM_Core_Form $form)

This function sets the default values for the form in edit/view mode.

static array
setDefaultPriceSet(int $participantID, int $eventID = NULL, bool $includeQtyZero = TRUE)

This function sets the default values for price set.

static 
buildQuickForm(CRM_Core_Form $form)

Build the form object.

static int
getDefaultPaymentInstrumentId()

Get the default payment instrument id.

Details

at line 47
static preProcess(CRM_Core_Form $form)

Set variables up before form is built.

Parameters

CRM_Core_Form $form

at line 73
static array setDefaultValues(CRM_Core_Form $form)

This function sets the default values for the form in edit/view mode.

Parameters

CRM_Core_Form $form

Return Value

array

at line 259
static array setDefaultPriceSet(int $participantID, int $eventID = NULL, bool $includeQtyZero = TRUE)

This function sets the default values for price set.

Parameters

int $participantID
int $eventID
bool $includeQtyZero

Return Value

array

at line 341
static buildQuickForm(CRM_Core_Form $form)

Build the form object.

Parameters

CRM_Core_Form $form

at line 521
static protected int getDefaultPaymentInstrumentId()

Get the default payment instrument id.

Return Value

int