FileAccess Orion

NewsletterController
in package

Define the general newsletter controller interface

Tags
category

Interface function

author

Tobias Teichner webmaster@teichner.biz

since

File available since v5.115.0

Table of Contents

$_searchController  : SearchPlugin|null
$dbal  : NewsletterDBAL|null
$newsletter  : Newsletter|null
$processed  : array<string|int, mixed>
Hash map of processed items
__construct()  : mixed
NewsletterController constructor.
ProcessPending()  : Result
Process potentially pending newsletters
ProcessUsers()  : Result
database()  : NewsletterDBAL|null
RequiresNotification()  : array<string|int, DateTime>|null
get the list of required items
searchController()  : SearchPlugin

Properties

$processed

Hash map of processed items

protected array<string|int, mixed> $processed = []

Methods

ProcessPending()

Process potentially pending newsletters

public ProcessPending([bool $live = false ]) : Result
Parameters
$live : bool = false
Return values
Result

RequiresNotification()

get the list of required items

protected abstract RequiresNotification(User|Customer $user) : array<string|int, DateTime>|null
Parameters
$user : User|Customer
Return values
array<string|int, DateTime>|null

Search results