FileAccess Orion

Functions
in package

Implement additional template methods

This class provides additional functions for the system event email

Tags
category

Content type

author

Tobias Teichner webmaster@teichner.biz

since

File available since v3.22.0

Table of Contents

$template  : Template|null
__construct()  : mixed
Functions constructor.
FormatLocalDate()  : DateTime|string
GetBasketUrl()  : string
TextTable()  : mixed
TextTableBasketNotify()  : string
Render data to text table

Properties

Methods

__construct()

Functions constructor.

public __construct(Template $template) : mixed
Parameters
$template : Template
Return values
mixed

FormatLocalDate()

public FormatLocalDate( $date[, string $timezone = 'Europe/Berlin' ][, string $format = 'd.m.Y H:i' ]) : DateTime|string
Parameters
$date :
$timezone : string = 'Europe/Berlin'
$format : string = 'd.m.Y H:i'
Return values
DateTime|string

GetBasketUrl()

public GetBasketUrl(string $id) : string
Parameters
$id : string
Return values
string

TextTable()

public TextTable( $data, string $lang) : mixed
Parameters
$data :
$lang : string

The language

Return values
mixed

TextTableBasketNotify()

Render data to text table

public TextTableBasketNotify(array<string|int, mixed> $data, string $lang) : string
Parameters
$data : array<string|int, mixed>
$lang : string
Return values
string

Search results