EmailTextReg
in package
Table of Contents
Properties
- $default_html_view : mixed
- $field_defs : mixed
Methods
- __construct() : mixed
- Register an email text
- getDefaultHTML() : mixed
- Returns the HTML for the default content This is loaded from a .htm view
- getFieldDefs() : mixed
- An array of name => description field definitions, for the admin
Properties
$default_html_view
private
mixed
$default_html_view
$field_defs
private
mixed
$field_defs
Methods
__construct()
Register an email text
public
__construct(array<string|int, mixed> $field_defs, string $default_html_view) : mixed
Parameters
- $field_defs : array<string|int, mixed>
-
An array of name => description field definitions, for the admin e.g. array('first_name' => 'First name of the new user)
- $default_html_view : string
-
The view name for the default text. Must be a .htm view e.g 'email/user_welcome'
getDefaultHTML()
Returns the HTML for the default content This is loaded from a .htm view
public
getDefaultHTML() : mixed
getFieldDefs()
An array of name => description field definitions, for the admin
public
getFieldDefs() : mixed