EmailTemplater
extends AbstractTemplater
in package
Table of Contents
- $tags : mixed
- $booking : Booking
- $customer : mixed
- $payment : Payment
- $tagGroups : mixed
- $user : mixed
- __construct() : mixed
- addTag() : mixed
- create() : mixed
- getDeprecatedTags() : array<string|int, mixed>
- Retrieve names array of deprecated tags.
- getTagsDescription() : string
- hasTag() : bool
- replaceTag() : string
- replaceTags() : string
- setTagGroups() : mixed
- setupBooking() : mixed
- setupCustomer() : mixed
- setupPayment() : mixed
- setupTags() : mixed
- _generateTagsFindString() : string
- _fillBookingDetailsTags() : mixed
- _fillBookingTags() : mixed
- _fillGlobalTags() : mixed
- _fillPaymentTags() : mixed
- _fillRegistrationTags() : mixed
- _fillUserCancellationTags() : mixed
- _fillUserConfirmationTags() : mixed
Properties
$tags
protected
mixed
$tags
= array()
$booking
private
Booking
$booking
$customer
private
mixed
$customer
$payment
private
Payment
$payment
$tagGroups
private
mixed
$tagGroups
= array()
$user
private
mixed
$user
Methods
__construct()
public
__construct() : mixed
Return values
mixed —addTag()
public
addTag(string $name, string $description[, array<string|int, mixed> $atts = array() ]) : mixed
Parameters
- $name : string
- $description : string
- $atts : array<string|int, mixed> = array()
Return values
mixed —create()
public
static create([array<string|int, mixed> $tagGroups = array() ]) : mixed
Parameters
- $tagGroups : array<string|int, mixed> = array()
Return values
mixed —getDeprecatedTags()
Retrieve names array of deprecated tags.
public
getDeprecatedTags() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getTagsDescription()
public
getTagsDescription() : string
Return values
string —hasTag()
public
hasTag(string $tag) : bool
Parameters
- $tag : string
Tags
Return values
bool —replaceTag()
public
replaceTag(array<string|int, mixed> $match) : string
Parameters
- $match : array<string|int, mixed>
Tags
Return values
string —replaceTags()
public
replaceTags(string $content) : string
Parameters
- $content : string
Return values
string —setTagGroups()
public
setTagGroups(mixed $tagGroups) : mixed
Parameters
- $tagGroups : mixed
Return values
mixed —setupBooking()
public
setupBooking(Booking $booking) : mixed
Parameters
- $booking : Booking
Return values
mixed —setupCustomer()
public
setupCustomer(mixed $customer, mixed $user) : mixed
Parameters
- $customer : mixed
- $user : mixed
Return values
mixed —setupPayment()
public
setupPayment(Payment $payment) : mixed
Parameters
- $payment : Payment
Return values
mixed —setupTags()
public
setupTags() : mixed
Return values
mixed —_generateTagsFindString()
protected
_generateTagsFindString(array<string|int, mixed> $tags) : string
Parameters
- $tags : array<string|int, mixed>
Return values
string —_fillBookingDetailsTags()
private
_fillBookingDetailsTags(mixed &$tags) : mixed
Parameters
- $tags : mixed
Tags
Return values
mixed —_fillBookingTags()
private
_fillBookingTags(mixed &$tags) : mixed
Parameters
- $tags : mixed
Return values
mixed —_fillGlobalTags()
private
_fillGlobalTags(mixed &$tags) : mixed
Parameters
- $tags : mixed
Return values
mixed —_fillPaymentTags()
private
_fillPaymentTags(mixed &$tags) : mixed
Parameters
- $tags : mixed
Return values
mixed —_fillRegistrationTags()
private
_fillRegistrationTags(mixed &$tags) : mixed
Parameters
- $tags : mixed
Return values
mixed —_fillUserCancellationTags()
private
_fillUserCancellationTags(mixed &$tags) : mixed
Parameters
- $tags : mixed
Return values
mixed —_fillUserConfirmationTags()
private
_fillUserConfirmationTags(mixed &$tags) : mixed
Parameters
- $tags : mixed