Mail extends Base
Table of Contents
Constants
- MAX_MESSAGES = 20
- MAX_WORDS_IN_MESSAGE = 200
Methods
- __construct() : mixed
- Constructor.
- getFeatureMap() : array<string|int, mixed>
- Returns map of the features, implemented by this provider.
- getFeatures() : array<string|int, mixed>|null
- Returns e-mail features vector for a crm entity.
Constants
MAX_MESSAGES
public
mixed
MAX_MESSAGES
= 20
MAX_WORDS_IN_MESSAGE
public
mixed
MAX_WORDS_IN_MESSAGE
= 200
Methods
__construct()
Constructor.
public
__construct([DateTime|null $currentDate = null ]) : mixed
Parameters
- $currentDate : DateTime|null = null
-
Date to use instead of "current".
Tags
getFeatureMap()
Returns map of the features, implemented by this provider.
public
getFeatureMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getFeatures()
Returns e-mail features vector for a crm entity.
public
getFeatures(mixed $entityTypeId, mixed $entityId) : array<string|int, mixed>|null
EMAIL_COUNT_TOTAL EMAIL_COUNT_LAST_WEEK EMAIL_COUNT_LAST_MONTH EMAIL_COUNT_OLDER_MONTH EMAIL_OPERATOR_TEXT EMAIL_CLIENT_TEXT
Parameters
- $entityTypeId : mixed
- $entityId : mixed