AutoresponderAndCampaignItemsEmailMessageUtil Class Reference

Static Public Member Functions

static resolveAndSaveEmailMessage ($textContent, $htmlContent, Item $itemOwnerModel, Contact $contact, MarketingList $marketingList, $itemId, $folderId, $itemClass, $personId)

Data Fields

const CONTENT_ID = "@contentId"
const SENDER_ID = "@senderId"
const RECIPIENT_ID = "@recipientId"
const EMAIL_MESSAGE_ITEM_ID = "@emailMessageItemId"
const EMAIL_MESSAGE_ID = "@emailMessageId"
const NULL_FLAG = "!~~NULL~~!"

Static Protected Member Functions

static resolveSender (MarketingList $marketingList, $itemOwnerModel)
static resolveRecipient (Contact $contact)
static resolveHeaders ($zurmoItemId, $zurmoItemClass, $zurmoPersonId)
static resolveReturnPath ()
static saveEmailMessageWithRelated (array $emailMessageData)
static resolveEmailMessageCreationFunctionQueryWithPlaceholders ()
static resolveEmailMessageCreationFunctionQuery (array $emailMessageData)
static getCell ($query, $expectingAtLeastOne=true)
static escapeValues (array &$values)
static quoteValues (array &$values)
static resolveCurrentUserId ()

Detailed Description

Helper class for working with autoresponderItem and campaignItem email Messages At places we intentionally use all lowercase variable names instead of camelCase to do easy compact() on them and have them match column names in db on queries.

Definition at line 42 of file AutoresponderAndCampaignItemsEmailMessageUtil.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Sep 15 07:10:56 2019