Craft Emails (1.x)

AttachementsService extends Component
in package

Table of Contents

$_all  : mixed
delete()  : mixed
Delete attachements
get()  : array<string|int, mixed>
Get attachements for a key and a language
save()  : bool
Save attachements
all()  : array<string|int, mixed>
Load all attachements

Properties

Methods

delete()

Delete attachements

public delete(string $key[, string|null $langId = null ]) : mixed
Parameters
$key : string
$langId : string|null = null
Return values
mixed

get()

Get attachements for a key and a language

public get(string $key[, string|null $langId = null ][, bool $asAssets = false ]) : array<string|int, mixed>
Parameters
$key : string
$langId : string|null = null
$asAssets : bool = false
Return values
array<string|int, mixed>

save()

Save attachements

public save(string $key, string $langId, array<string|int, mixed> $attachements) : bool
Parameters
$key : string
$langId : string
$attachements : array<string|int, mixed>

array of ids

Return values
bool

all()

Load all attachements

protected all() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results