Craft Emails (1.x)

RedactorHelper
in package

Table of Contents

getRedactorSettings()  : array<string|int, mixed>
Get redactor settings
serializeBody()  : string
Find any element URLs and swap them with ref tags
_getLinkOptions()  : array<string|int, mixed>
Link options
_getSectionSources()  : array<string|int, mixed>
Returns the available section sources.
_getTransforms()  : array<string|int, mixed>
Get available transforms
_getVolumeKeys()  : array<string|int, mixed>
Get volumes keys
_getCategorySources()  : array<string|int, mixed>
Returns the available category sources.

Methods

getRedactorSettings()

Get redactor settings

public static getRedactorSettings(string|null $redactorConfigFile) : array<string|int, mixed>
Parameters
$redactorConfigFile : string|null
Return values
array<string|int, mixed>

serializeBody()

Find any element URLs and swap them with ref tags

public static serializeBody(string $body) : string
Parameters
$body : string
Return values
string

_getLinkOptions()

Link options

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

_getSectionSources()

Returns the available section sources.

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

_getTransforms()

Get available transforms

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

_getVolumeKeys()

Get volumes keys

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

_getCategorySources()

Returns the available category sources.

private static _getCategorySources() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results