Documentation

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

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>

getDefaultPaymentInstrumentId()

Get the default payment instrument id.

protected static getDefaultPaymentInstrumentId() : int
Tags
todo

resolve relationship between this form & abstractEdit -which should be it's parent.

Return values
int

        
On this page

Search results