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
objectarrayobjectobjectstringgetCSVHeader(object $template, object $event, object $fields) : mixed
objectobjectobjectmixedgetCustomFieldHeader(string $field) : string
stringThe field data
stringgetEmailBody(string $tmpl_name, object $event, object $booking= null, object $cuser= null) : mixed
stringThe name of the Template
objectThe event row
objectThe booking row
objectThe custom user
\Exception |
|---|
mixedgetEmailEventInfoHTML(object $event) : string
objectstringgetEmailEventInfoTEXT(object $event) : string
objectstringgetEmailTemplateName(integer $art) : string
integerstringgetExportCSVBookingDetails($nrBooked, $bookingValues, object $event, string $separator= ";", object $fields, $delimiter= "'") : string
objectstringobjectstringgetExportCSVBookingDetailsHeader(string $separator= ";", array $fields, $delimiter= "'") : string
stringarraystringgetExportSignatureHeader(string $signature_line, object $event, object $fields) : mixed
stringobjectobjectmixedgetOtherPersonBookingDetails(object $booking, array $fieldLabelValuePerPlace) : string
| since | 7.0.0 |
|---|
objectBooking
arrayLabel to Field Value per Place
stringgetParsedExportTemplateHeadding(object $tmpl, object $event) : mixed
objectThe not parsed template
objectThe event
mixedgetPaymentMethodTitle(string $pm) : string
stringstringgetReplaces(object $event, object $booking= null, integer $nr= null, object $cuser= null, object $fields= null) : mixed
objectobjectintegerobjectobjectmixedgetReplacesHeader(object $event, boolean $alias = true, object $fields) : mixed
objectbooleanobjectmixedgetTemplate(string $tmpl_name) : object
stringThe name of the template
objecttemplategetXMLPerPlaceReplacement(object $booking, array $fields, array $fieldLabelValuePerPlace) : string
| since | 7.0.0 |
|---|
objectBooking
arrayFields
arrayLabel to Field Value per place
stringreplaceConstants(object $template, object $event, object $booking= null, object $cuser= null) : mixed
objectobjectobjectobjectmixedreplaceLanguage(object $template) : mixed
objectmixedreplaceLanguageStrings(string $s) : string
stringstringgetEmailBookingInfoHtmlPlaceholder(object $event, object $booking, array $fieldLabelValue, array $fieldLabelValuePerPlace) : string
| since | 7.0.0 |
|---|
objectEvent
objectBooking
arrayField Labels <> Values
arrayField Labels <> Per Place Values
stringgetEmailBookingInfoTextPlaceholder(object $event, object $booking, array $fieldLabelValue, array $fieldLabelValuePerPlace) : string
| since | 7.0.0 |
|---|
objectEvent
objectBooking
arrayField Labels <> Values
arrayField Labels <> Per Place Values
string$bookedarray
null$bookingFields
null$bookingFieldsEvent
0$eventCustomFields
null$globaldifferentfees
null$locationobj
null$templateobj
null