class FormprocessorEmailAction extends FormprocessorAction

Properties

protected $fdl from  FormprocessorAction
protected $formdata from  FormprocessorAction
protected $field_id_index from  FormprocessorAction
$upload_dir from  FormprocessorAction
ListsController $mod

Reference to XELOS\Modules\Lists\ListsController

from  FormprocessorAction

Methods

add_field_data(string $key, mixed $data)

Add Field Data

add_formdata(mixed $data)

Add formdata to processor

array
get_attachments()

Get attachments

mixed
get_data_by_field_id(mixed $field_id)

Get Formdata by field ID

string
get_html()

Get rendered HTML email

bool
process(ListProperties $form_model)

Process

string
replace_placeholders(string $haystack)

Replace Placeholders in String

replace_placeholders_cb($search, $keep_unreplaced_markers = true)

No description

set_fdl(array $fdl)

No description

Details

add_field_data(string $key, mixed $data)

Add Field Data

Parameters

string $key

internal key (e.g. 1hb976g18874)

mixed $data

add_formdata(mixed $data)

Add formdata to processor

Parameters

mixed $data

at line 39
array get_attachments()

Get attachments

Return Value

array

mixed get_data_by_field_id(mixed $field_id)

Get Formdata by field ID

Parameters

mixed $field_id

Return Value

mixed

at line 66
string get_html()

Get rendered HTML email

Return Value

string

at line 20
bool process(ListProperties $form_model)

Process

Parameters

ListProperties $form_model

Return Value

bool

success

string replace_placeholders(string $haystack)

Replace Placeholders in String

Parameters

string $haystack

Return Value

string

replace_placeholders_cb($search, $keep_unreplaced_markers = true)

No description

Parameters

$search
$keep_unreplaced_markers

set_fdl(array $fdl)

No description

Parameters

array $fdl