Class MatukioHelperTemplates
TODO refactor, split and optimize! Think on the kittens!
since | 2.2.0 |
---|---|
package | MatukioEvents |
getCSVData(object $template, array $bookings, object $event, object $fields) : string
object
array
object
object
string
getCSVHeader(object $template, object $event, object $fields) : mixed
object
object
object
mixed
getCustomFieldHeader(string $field) : string
string
The field data
string
getEmailBody(string $tmpl_name, object $event, object $booking= null
, object $cuser= null
) : mixed
string
The name of the Template
object
The event row
object
The booking row
object
The custom user
\Exception |
---|
mixed
getEmailEventInfoHTML(object $event) : string
object
string
getEmailEventInfoTEXT(object $event) : string
object
string
getEmailTemplateName(integer $art) : string
integer
string
getExportCSVBookingDetails($nrBooked, $bookingValues, object $event, string $separator= ";"
, object $fields, $delimiter= "'"
) : string
object
string
object
string
getExportCSVBookingDetailsHeader(string $separator= ";"
, array $fields, $delimiter= "'"
) : string
string
array
string
getExportSignatureHeader(string $signature_line, object $event, object $fields) : mixed
string
object
object
mixed
getOtherPersonBookingDetails(object $booking, array $fieldLabelValuePerPlace) : string
since | 7.0.0 |
---|
object
Booking
array
Label to Field Value per Place
string
getParsedExportTemplateHeadding(object $tmpl, object $event) : mixed
object
The not parsed template
object
The event
mixed
getPaymentMethodTitle(string $pm) : string
string
string
getReplaces(object $event, object $booking= null
, integer $nr= null
, object $cuser= null
, object $fields= null
) : mixed
object
object
integer
object
object
mixed
getReplacesHeader(object $event, boolean $alias = true
, object $fields) : mixed
object
boolean
object
mixed
getTemplate(string $tmpl_name) : object
string
The name of the template
object
templategetXMLPerPlaceReplacement(object $booking, array $fields, array $fieldLabelValuePerPlace) : string
since | 7.0.0 |
---|
object
Booking
array
Fields
array
Label to Field Value per place
string
replaceConstants(object $template, object $event, object $booking= null
, object $cuser= null
) : mixed
object
object
object
object
mixed
replaceLanguage(object $template) : mixed
object
mixed
replaceLanguageStrings(string $s) : string
string
string
getEmailBookingInfoHtmlPlaceholder(object $event, object $booking, array $fieldLabelValue, array $fieldLabelValuePerPlace) : string
since | 7.0.0 |
---|
object
Event
object
Booking
array
Field Labels <> Values
array
Field Labels <> Per Place Values
string
getEmailBookingInfoTextPlaceholder(object $event, object $booking, array $fieldLabelValue, array $fieldLabelValuePerPlace) : string
since | 7.0.0 |
---|
object
Event
object
Booking
array
Field Labels <> Values
array
Field Labels <> Per Place Values
string
$bookedarray
null
$bookingFields
null
$bookingFieldsEvent
0
$eventCustomFields
null
$globaldifferentfees
null
$locationobj
null
$templateobj
null