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>

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
Tags
todo

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

Return values
int

        
On this page

Search results