MassMailerSettings extends MassMailerModel
Mass Mailer settings
Table of Contents
Methods
| __construct() | Initialize |
| add() | Adds new settings |
| getSettings() | Retrieves a list of all mass mailer settings for a given company |
Methods
__construct()
Initialize
public
__construct() : mixed
add()
Adds new settings
public
add(int $company_id, array<string|int, mixed> $vars) : mixed
Parameters
- $company_id : int
-
The ID of the company
- $vars : array<string|int, mixed>
-
A numerically-indexed list of overview setting key/value pairs
getSettings()
Retrieves a list of all mass mailer settings for a given company
public
getSettings(int $company_id) : array<string|int, mixed>
Parameters
- $company_id : int
-
The company ID
Return values
array<string|int, mixed> —A list of mass mailer settings for the given company