Craft Emails (1.x)

Settings extends Model
in package

Table of Contents

$compressLogs  : bool
$mailchimpApiKey  : string
$mailchimpCacheDuration  : int
$menuItemName  : string
$wysiwygEditor  : string
defineRules()  : array<string|int, mixed>
getRedactorConfigOptions()  : array<string|int, mixed>
getWysiwygOptions()  : array<string|int, mixed>
Get all defined redactor configuration files
init()  : mixed
wysiwygEditorIsValid()  : bool
Is a wysiwyg editor valid

Properties

$compressLogs

public bool $compressLogs = true

$mailchimpApiKey

public string $mailchimpApiKey = ''

$mailchimpCacheDuration

public int $mailchimpCacheDuration = 60

$menuItemName

public string $menuItemName = ''

$wysiwygEditor

public string $wysiwygEditor

Methods

defineRules()

public defineRules() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

getRedactorConfigOptions()

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

getWysiwygOptions()

Get all defined redactor configuration files

public getWysiwygOptions() : array<string|int, mixed>
Tags
since
1.5.0
Return values
array<string|int, mixed>

init()

public init() : mixed
Tags
inheritDoc
Return values
mixed

wysiwygEditorIsValid()

Is a wysiwyg editor valid

public wysiwygEditorIsValid(string $editor) : bool
Parameters
$editor : string
Tags
since
1.5.0
Return values
bool

Search results