All Data Structures Functions Variables Pages
Static Public Member Functions | Data Fields | Static Protected Member Functions
GlobalMarketingFooterUtil Class Reference

Static Public Member Functions

static getContentByType ($isHtmlContent, $returnDefault=true)
 
static setContentByType ($content, $isHtmlContent)
 
static resolveUnsubscribeUrlMergeTag ()
 
static resolveManageSubscriptionsMergeTag ()
 
static resolveGlobalMarketingFooterMergeTag ($suffix=null)
 
static resolveHash ($personId, $marketingListId, $modelId, $modelType, $createNewActivity=true)
 
static resolveFooterMergeTagsArray ($personId, $marketingListId, $modelId, $modelType, $createNewActivity=true, $preview=false)
 
static resolveHashByArray (array $queryStringArray)
 
static resolveUnsubscribeUrlByArray (array $queryStringArray)
 
static resolveManageSubscriptionsUrlByArray (array $queryStringArray, $preview=false)
 
static resolveContentsForGlobalFooter (&$textContent, &$htmlContent)
 
static resolveContentGlobalFooter (&$content, $isHtmlContent)
 
static resolveHashArray ($personId, $marketingListId, $modelId, $modelType, $createNewActivity=true)
 
static removeFooterMergeTags (&$content)
 

Data Fields

const CONFIG_KEY_PLAIN = 'AutoresponderOrCampaignFooterPlainText'
 
const CONFIG_KEY_RICH_TEXT = 'AutoresponderOrCampaignFooterRichText'
 
const CONFIG_MODULE_NAME = 'AutorespondersModule'
 

Static Protected Member Functions

static resolveConfigKeyByContentType ($isHtmlContent)
 
static resolveDefaultValue ($isHtmlContent)
 
static resolveDefaultUnsubscribeUrlMergeTagContent ($isHtmlContent)
 
static resolveDefaultManageSubscriptionsUrlMergeTagContent ($isHtmlContent)
 
static resolveDefaultMergeTagContentWithDescriptiveText ($tag, $descriptiveText, $isHtmlContent)
 
static isValidQueryStringArray (array $queryStringArray)
 
static resolveValidQueryStringArrayKeys ()
 
static resolvePreviewAndHashFromArray (array $queryStringArray)
 
static resolvePreviewFromArray (array &$queryStringArray)
 
static resolveUnsubscribeUrl ($hash, $preview=false)
 
static resolveManageSubscriptionsUrl ($hash, $preview=false)
 
static resolveAbsoluteUrlWithHashAndPreviewForFooter ($baseUrl, $hash, $preview=false)
 
static resolveUnsubscribeBaseUrl ()
 
static resolveManageSubscriptionsBaseUrl ()
 
static resolveFooterUrlParams ($hash, $preview=false)
 
static resolveContentForUnsubscribeAndManageSubscriptionsUrls (&$content, $isHtmlContent)
 
static isFooterAlreadyPresent ($content)
 
static appendDefaultFooter (&$content, $isHtmlContent)
 
static resolveDefaultFooterPlaceholderContentByType ($isHtmlContent)
 

Detailed Description

Definition at line 37 of file GlobalMarketingFooterUtil.php.

Member Function Documentation

static getContentByType (   $isHtmlContent,
  $returnDefault = true 
)
static
Parameters
$isHtmlContent
bool$returnDefault
Returns
configuration|string

Definition at line 50 of file GlobalMarketingFooterUtil.php.

static setContentByType (   $content,
  $isHtmlContent 
)
static
Parameters
string$content
bool$isHtmlContent

Definition at line 66 of file GlobalMarketingFooterUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 28 2020 07:10:31