EmailMessageActivityUtil Class Reference

Inheritance diagram for EmailMessageActivityUtil:
AutoresponderItemActivityUtil CampaignItemActivityUtil

Static Public Member Functions

static resolveQueryStringArrayForHash ($hash, $validateQueryStringArray=true, $validateForTracking=true)
static resolveQueryStringFromUrlAndCreateOrUpdateActivity ()
static createOrUpdateActivity ($queryStringArray)
static resolveModelClassNameByModelType ($modelType)
static getByEmailMessageId ($itemModelClass, $emailMessageId)

Static Protected Member Functions

static processActivityFromQueryStringArray ($queryStringArray)
static resolveTrackingTypeByQueryStringArray ($queryStringArray)
static resolveExistingActivity ($queryStringArray)
static createNewActivity ($queryStringArray)
static validateAndResolveFullyQualifiedQueryStringArrayForTracking (&$queryStringArray)
static validateQueryStringArrayForMarketingListsExternalController (&$queryStringArray)
static validateQueryStringArrayAgainstRulesArray (&$queryStringArray, $rules)

Detailed Description

Helper class for working with emailMessageActivity

Definition at line 40 of file EmailMessageActivityUtil.php.


Member Function Documentation

static resolveQueryStringArrayForHash ( hash,
validateQueryStringArray = true,
validateForTracking = true 
) [static]
Parameters:
$hash 
bool $validateQueryStringArray
bool $validateForTracking
Returns:
array
Exceptions:
NotSupportedException 

Definition at line 49 of file EmailMessageActivityUtil.php.

static createOrUpdateActivity ( queryStringArray  )  [static]
Parameters:
array $queryStringArray
Returns:
bool | array
Exceptions:
FailedToSaveModelException 

Definition at line 131 of file EmailMessageActivityUtil.php.

static getByEmailMessageId ( itemModelClass,
emailMessageId 
) [static]

Get campaign or autoresponder item class by email message.

Parameters:
int $emailMessageId
Returns:
array

Definition at line 255 of file EmailMessageActivityUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jul 18 07:10:56 2019