\FAA\Template\SysMailNotificationFunctions

Summary

Methods
Properties
Constants
__construct()
Attachments()
FormatDate()
GetEmployee()
Location()
GetTask()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$template
N/A

Properties

$template

$template :

Type

Methods

__construct()

__construct(\FAA\Obj\Generic\Template  $template)

Parameters

\FAA\Obj\Generic\Template $template

Attachments()

Attachments(\FAA\Obj\Generic\Email  $mail,string  $body,string  $alt_body): array

Add attachments Add a list of attachments and modify the body and add the deep link

Parameters

\FAA\Obj\Generic\Email $mail

A system email object

string $body

The mail body

string $alt_body

The alternative mail body

Throws

\Exception

Returns

array —

A list of attachments to add

FormatDate()

FormatDate(  $date,  $request)

Parameters

$date
$request

GetEmployee()

GetEmployee(  $request): \FAA\Obj\Generic\Employee|null

Parameters

$request

Returns

\FAA\Obj\Generic\Employee|null

Location()

Location(  $request,boolean  $cords = false): \Eluceo\iCal\Property\Event\Geo|null|object

Parameters

$request
boolean $cords

Returns

\Eluceo\iCal\Property\Event\Geo|null|object

GetTask()

GetTask(  $request): null|\FAA\Obj\Generic\Task

Parameters

$request

Returns

null|\FAA\Obj\Generic\Task