Craft Emails (1.x)

EmailSourceService extends Component
in package

Table of Contents

EVENT_REGISTER  = 'event_register'
$_sources  : array<string|int, EmailSourceInterface>
getAll()  : array<string|int, mixed>
Get all emails
getByHandle()  : EmailSourceInterface
Get an email source by handle
has()  : bool
Does a handle exists
register()  : mixed
Register email sources
triggerEvent()  : mixed
Trigger an event

Constants

Properties

Methods

getAll()

Get all emails

public getAll() : array<string|int, mixed>
Return values
array<string|int, mixed>

has()

Does a handle exists

public has(string $handle) : bool
Parameters
$handle : string
Return values
bool

register()

Register email sources

protected register() : mixed
Return values
mixed

triggerEvent()

Trigger an event

protected triggerEvent(string $type, Event $event) : mixed
Parameters
$type : string
$event : Event
Return values
mixed

Search results